/*dash-board*/
.toggle-button {
    padding: 10px 20px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
}
.on { background-color: green; }
.off { background-color: red; }
.inactive { opacity: 0.5; cursor: not-allowed; }

/*livreur*/
#img {
    display: block;
    max-width: 100%;
}
.preview {
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

#pdp {
display: none;
}

#BtnPdp {
    height: 30px;
    width: 130px;
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    color: wheat;
    line-height: 30px;
    font-family: sans-serif;
    font-size: 15px;
    cursor: pointer;
    display: block;
    top: 140px;
    border-radius: 0 0 50px 50px;
}

.btn-circle.btn-xl {
    width: 50px;
    height: 50px;
    padding: 13px 13px;
    border-radius: 60px;
    font-size: 15px;
    text-align: center;
}

.image-gallery {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    gap: 1rem;
}
.image-gallery .card {
    width: 150px; 
    margin-bottom: 1rem;
}
.image-gallery .card-img-top {
    height: 100px; 
    object-fit: cover;
}
.small-img {
    width: 100%;
    height: auto; 
    max-width: 80px; 
    max-height: 80px; 
    object-fit: contain; 
    display: block; 
    margin: 0 auto; 
}

.image-gallery {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 1rem; 
}

.image-gallery .info-text {
    flex: 1;
}

.image-gallery .image-container {
    flex-shrink: 0;
    width: 150px; 
    height: 150px;
}

.image-gallery .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
/*register*/

#img {
    display: block;
    max-width: 100%;
}
.preview {
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

#pdp {
display: none;
}

#BtnPdp {
    height: 30px;
    width: 130px;
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    color: wheat;
    line-height: 30px;
    font-family: sans-serif;
    font-size: 15px;
    cursor: pointer;
    display: block;
    top: 140px;
    border-radius: 0 0 50px 50px;
}

.btn-circle.btn-xl {
    width: 50px;
    height: 50px;
    padding: 13px 13px;
    border-radius: 60px;
    font-size: 15px;
    text-align: center;
}
/*compte*/

.profile-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.profile-picture {
    width: 100px !important;
    height: 100px !important; 
    object-fit: cover;
    border: 3px solid #007bff; 
    border-radius: 50%;
}

.contact-info li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #007bff;
    margin-right: 10px;
}

.social-links {
    margin-top: 20px;
}


.profile-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}
.profile-picture {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 3px solid #007bff;
    border-radius: 50%;
}
.contact-info li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.contact-info i {
    color: #007bff;
    margin-right: 10px;
}
.social-links {
    margin-top: 20px;
}


.profile-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.profile-picture {
    width: 250px;
    height: 250px; 
    object-fit: cover;
    border: 3px solid #007bff; 
    border-radius: 50%;
}

.contact-info li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #007bff;
    margin-right: 10px;
}

.social-links {
    margin-top: 20px;
}

/*modification profil societe de livraison*/
.error {
    color: red;
    font-size: 0.875em;
}
/*modification mdp dans profil societe de livraison*/
.error {
    color: red;
    font-size: 0.875em;
}
/*changement mdp du profil de la societe de livraison*/
.form-group {
    margin-bottom: 1.5rem;
}
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    padding: 0.75rem 1.25rem;
}
.form-control-lg {
    padding: 1rem 1.5rem;
}
.alert {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
}
.alert.active {
    display: block;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-block {
    width: 100%;
}
.btn-lg {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
}
.mt-3 {
    margin-top: 1rem;
}
/*indication pour enregictrement reussi*/
/* css-modification.css */

.containerIndication {
    max-width: 600px;
    padding: 20px;
    background: #fff; /* Fond blanc pour le conteneur */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    text-align: center;
}

.btnIndication {
    margin-top: 20px;
}
/*information du livreur*/
body {
    background-color: #f8f9fa;
}
.profile-header {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 20px;
    text-align: center;
}
.profile-header img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}
.profile-header h1 {
    margin-top: 15px;
    font-size: 2em;
}
.profile-header .details p {
    margin: 5px 0;
    color: #6c757d;
}
.modal-content {
    border-radius: 8px;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.footer {
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    padding: 10px;
    text-align: center;
}
/*details zone*/
.option-button {
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
}
.option-button.active {
    background-color: #d0ffd0;
}
#optionsContainer {
    max-height: 150px; /* Hauteur maximale du conteneur */
    overflow-y: auto; 
}
/*all zone*/
.option-button {
    margin: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
}
.option-button.active {
    background-color: #d0ffd0;
}
#optionsContainer {
    max-height: 150px;
    overflow-y: auto;
}
.alert {
    display: none;
}
.alert.show {
    display: block;
}
/*information sur le livreur*/
.r {
    color: red;
    font-size: 0.875em;
    margin-top: 0.25rem;
}
.profile-header {
    text-align: center;
    padding: 2rem;
}
.profile-header img {
    max-width: 150px;
    height: auto;
    border: 3px solid #ddd;
}
.profile-header .details {
    margin-top: 1rem;
    text-align: center;
    display: inline-block;
    text-align: left;
}
.profile-header .details p {
    margin: 0.5rem 0;
}
.footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
}