body {
    background-color: #f8f9fa;
}

.IMAColor {
    color: #a9438c;
}

.EMCColor {
    color: #21253c;
}

.card {
    border-radius: 15px;
    background-color: #fff;
    border: none;
}

h3, h1 {
    color: #21253c;
    font-weight: 600;
}

#logo {
    max-width: 400px;
}

#logoutBtn {
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 14px;
    min-width: 88px;
}
#logoutBtn .fas {
    margin-right: 5px;
}

#invitation .input-group .form-control {
    height: calc(2.5rem + 2px); /* Ajustez selon la hauteur souhaitée */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#invitation .input-group .btn {
    height: calc(2.5rem + 2px); /* Même hauteur que le champ */
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem; /* Ajustez pour équilibrer le texte et l'icône */
}

.verify-button {
    width: 120px;
    padding: 8px 12px;
    font-size: 14px;
}

.account-choice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.account-choice-card {
    background-color: #f4f4f4;
    border-radius: 15px;
    padding: 15px;
    width: 80%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 460px;
}

.account-choice-card i {
    font-size: 30px;
    color: white;
}

.account-choice-card h3 {
    font-size: 18px;
    color: white;
}

.account-choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#hasAccountBtn {
    background-color: #a9438c;
    color: white;
}

#noAccountBtn {
    background-color: #6c757d;
    color: white;
}

#forgotBtn {
    background-color: #343a40;
    color: white;
}

#sendMail {
    background-color: #343a40;
    color: white;
}


#loginForm {
    max-width: 400px;
    margin: 0 auto;
}

#emailForm {
    max-width: 400px;
    margin: 0 auto;
}

#cartInitPassword {
    max-width: 400px;
    margin: 0 auto;
}
#formUser {
    max-width: 90%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.input-group {
    border: 1px solid #ced4da;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff; /* Assure un fond blanc pour le groupe d'input */
}

.input-group-text {
    border: none;
    background-color: transparent;
    font-size: 1.2rem;
    color: #6c757d;
}

.input-group-prepend .input-group-text {
    background-color: transparent;
    border: none;
}

.input-group input {
    border: none;
    box-shadow: none !important;
    background-color: transparent !important;
    padding-left: 10px; /* Espace entre l'icône et le texte */
}

.input-group input:focus {
    box-shadow: none !important; /* Supprime le contour lors du focus */
}

.input-group input::placeholder {
    color: #6c757d;
}

.plc-black {
    color: #333;
}

button {
    padding: 15px 30px; /* Augmente la hauteur du bouton */
    font-size: 16px;
    width: 80%; /* Réduit la largeur du bouton */
    margin: 0 auto; /* Centre les boutons */
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.d-grid .btn {
    width: 100%; /* Les boutons du formulaire d'inscription remplissent leur conteneur */
    padding: 12px;
    border-radius: 50px;
}

#seepassword i, #seeconfpassword i {
    font-size: 0.9rem; /* Ajuste la taille selon tes besoins */
    vertical-align: middle; /* Assure un alignement vertical */
}

#seepassword, #seeconfpassword {
    width: 40px;
    padding: 0 10px; /* Ajuste le padding du bouton pour mieux contenir l'icône */
}

.Tlabel {
    text-align: left; /* Aligne les labels à gauche */
    display: block; /* Assure que chaque label occupe une ligne entière */
    margin-bottom: 0.5rem; /* Ajoute un peu d'espace sous chaque label */
}

/* Pour les inputs, select et autres champs de formulaire */
.InpForm {
    width: 100%; /* Assure que les champs prennent toute la largeur disponible */
    padding: 0.375rem 0.75rem; /* Ajoute un peu de padding interne pour les champs */
    margin-bottom: 1rem; /* Espace sous chaque champ pour une meilleure lisibilité */
}

/* Pour corriger l'alignement dans les divs contenant les champs */
.form-group {
    text-align: left; /* Assure que tout le contenu de la div est aligné à gauche */
}

/* Si tu utilises la classe select2 pour tes select dropdown */
.select2-container .select2-selection--single {
    height: auto; /* Ajuste la hauteur pour qu'elle corresponde à celle des autres champs */
}

/* Assure un alignement correct pour les boutons */
button {
    text-align: center; /* Centrer le texte à l'intérieur des boutons */
}

.box-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.label {
    color: #8b1bc5;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}

.input-group .form-control:first-child {
    border-right: 0;
}

.input-group .form-control {
    border-radius: 0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.select2-container .select2-selection--single {
    height: calc(2.5em + 2px); /* Ajuste la hauteur des selects */
    padding: 0.5rem;
}

.input-group .form-control:first-child {
    border-right: 0;
}

.input-group .form-control {
    border-radius: 0;
}

.steps-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.steps {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.step {
    position: relative;
    padding: 10px 30px;
    background-color: #f0f0f0;
    margin-right: 20px;
    text-align: center;
    font-weight: bold;
    border-radius: 50px 0 0 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.step:last-child {
    border-radius: 50px;
    margin-right: 0;
}

.step.active {
    background-color: #21253c;
    color: white;
}

.step:hover {
    background-color: #21253c;
    color: white;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.step-number {
    background-color: #21253c;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.step i {
    font-size: 18px;
    color: white;
}

/* Arrow effect */
.step::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    border-left: 20px solid #f0f0f0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    z-index: 1;
}

.step.active::after {
    border-left-color: #21253c;
}

.step:last-child::after {
    display: none;
}

.step.clickable {
    cursor: pointer;
}
.step.clickable:hover {
    background-color: #21253c;
}

.logo {
    max-width: 400px;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .logo {
        max-width: 300px;
    }

    .steps {
        flex-direction: column; /* Stacks steps vertically */
        align-items: center;
    }

    .step {
        padding: 15px 20px;
        margin: 10px 0;
        border-radius: 8px; /* Rounded corners for a cleaner look */
    }

    .step::after {
        display: none; /* Hide arrow effect on mobile */
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .step i {
        font-size: 16px;
    }
}

/* Masquer la version mobile par défaut */
.mobile-version {
    display: none;
}

/* Afficher la version desktop uniquement sur les grands écrans */
.desktop-version {
    display: flex;
}

/* Lorsque l'écran est inférieur ou égal à 768px, masquer la version desktop et afficher la version mobile */
@media (max-width: 768px) {
    .desktop-version {
        display: none;
    }

    .mobile-version {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .step-icons {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 300px;
        font-size: 20px;
    }

    .step-icons i {
        color: #ccc;
        transition: color 0.3s;
    }

    .step-icons .active {
        color: #21253c;
    }

    .progress-bar {
        position: relative;
        height: 4px;
        background: #e0e0e0;
        width: 100%;
        max-width: 300px;
        margin-top: 10px;
    }

    .progress {
        height: 100%;
        background: #21253c;
        width: 20%; /* Ajustez en fonction de l'étape active */
    }

    .progress-container.mobile-version {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px;
    }

    .step-icons {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }

    .step-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #ccc;
        font-size: 20px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .step-icon.active {
        color: #21253c;
    }

    .progress-bar {
        position: relative;
        width: 100%;
        max-width: 300px;
        height: 5px;
        background-color: #f0f0f0;
        border-radius: 5px;
    }

    .progress-bar .progress {
        position: absolute;
        height: 100%;
        width: 0%;
        background-color: #21253c;
        border-radius: 5px;
        transition: width 0.3s ease;
    }
}

.controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

@media (max-width: 768px) {
    .controls {
        grid-template-columns: 1fr;
    }
}

.btn-custom {
    min-width: 100px; /* Largeur fixe plus petite */
    max-width: 150px;
    padding: 10px; /* Padding vertical réduit, mais conserve un peu d'espacement */
    font-size: 14px;  /* Taille du texte légèrement plus grande */
    border-radius: 15px; /* Coins arrondis pour un design moderne */
    border: none; /* Supprime la bordure par défaut */
    font-weight: 500; /* Poids moyen du texte */
    text-transform: uppercase; /* Texte en majuscules */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Couleurs personnalisées pour le bouton Previous */
#prevBtn.btn-custom {
    background-color: #6c757d; /* Gris pour Previous */
    color: #fff;
}

#prevBtn.btn-custom:hover {
    background-color: #5a6268; /* Couleur plus foncée au survol */
    transform: scale(1.05); /* Léger effet de zoom au survol */
}

/* Couleurs personnalisées pour le bouton Next */
#nextBtn.btn-custom {
    background-color: #a9438c; /* Bleu pour Next */
    color: #fff;
}

#nextBtn.btn-custom:hover {
    background-color: #a9438c; /* Couleur plus foncée au survol */
    transform: scale(1.05); /* Léger effet de zoom au survol */
}

#btnCancel.btn-custom {
    background-color: #6c757d; /* Gris pour Previous */
    color: #fff;
}

#btnCancel.btn-custom:hover {
    background-color: #5a6268; /* Couleur plus foncée au survol */
    transform: scale(1.05); /* Léger effet de zoom au survol */
}


#btnSubmit.btn-custom {
    background-color: #21253c; /* Bleu pour Next */
    color: #fff;
}

#btnSubmit.btn-custom:hover {
    background-color: #0056b3; /* Couleur plus foncée au survol */
    transform: scale(1.05); /* Léger effet de zoom au survol */
}

.upload-box {
    border: 2px dashed #21253c;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    background-color: #21253c;
    color: #fff;
    border-radius: 5px;
}

.uploaded-image {
    max-width: 150px;
    margin-top: 10px;
    border-radius: 10px;
}

#file-upload {
    display: none; /* Cacher l'input de fichier par défaut */
}

.upload-box input {
    display: none;
}

.file-instructions {
    font-size: 12px;
    color: #6c757d;
}

.upload-instructions {
    text-align: left;
    background-color: #eef2f7;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

.upload-instructions h6 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.upload-instructions ul {
    padding-left: 20px;
    list-style: disc;
}

.upload-instructions ul li {
    margin-bottom: 5px;
}

.upload-instructions .summary {
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
    font-size: 14px;
}

.question-group {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #ffffff;
}

.question-label {
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.radio-options {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

.terms-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 15px;
}

.confirmation-choice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.confirmation-choice-card a,
.confirmation-choice-card {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #8b1bc5;
    padding: 15px;
    border-radius: 8px;
    max-width: 380px;
    color: white;
}

#sendMail {
    background-color: #343a40;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-text i {
    font-size: 1.5rem;
}

.icon-text span {
    font-size: 1rem;
    font-weight: 600;
}

#search-interests {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

#interests-container label {
    display: inline-block;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .card {
        padding-top: 60px!important;
    }

    #logo {
        max-width: 280px;
    }

    #congressView {
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
        margin: 10px 0;
        padding: 10px;
        background-color: #f8f8f8;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    #congressView strong {
        display: block;
        font-size: 15px;
        color: #21253c;
        margin-top: 5px;
    }

    #congressView #company, #congressView #acronym, #congressView #eventDate {
        font-size: 16px;
        font-weight: bold;
    }

    #congressView #venue, #congressView #city, #congressView #countryEvent {
        font-size: 15px;
        color: #555;
    }
}


/* Checkbox alignement + taille */
.form-check-input {
    margin-top: 0 !important;
    transform: scale(1.3);
    cursor: pointer;
}

.form-check-label {
    font-size: 1rem;
    line-height: 1.5;
}

/* Switchs modernisés */
.form-switch .form-check-input {
    width: 3rem;
    height: 1.6rem;
    transform: scale(1.2);
    cursor: pointer;
}

.form-switch {
    margin: 1rem 0;
}

.form-switch label {
    font-weight: 600;
    margin-left: 0.6rem;
    cursor: pointer;
}

/* Boîte principale */
.terms-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-size: 1rem;
}

.select-readonly {
    pointer-events: none;
    background-color: #e9ecef;
}

.readonly-field {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* ✅ Mobile : "I agree..." sur 2 lignes bien centrées */
@media (max-width: 576px) {
    .form-check {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-check-input {
        margin-bottom: 0.5rem;
        transform: scale(1.4); /* encore plus visible sur mobile */
    }

    .form-check-label {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

