.section-blog-subscribe .block-newsletter .block-newsletter-form input,
.section-banner .block-newsletter-form input{
    border-radius: 0;
}
.form-error-icon{
    display: none;
}
.form-check {
    display: inline-block;
    padding-left: 0;
    padding-right: 1.5em;
}
.modal-custom {
    max-width: 800px;
}
.modal-custom .modal-content .modal-body{
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.field-groupFour .form-error-message{
    display: none;
}
.section .form-container button.goTo{
    text-decoration: underline;
    background: transparent;
    color: var(--color-green);
    padding: 2px;
}
.section .tabs-menu-products .menu-grid .col ul li a, .section-other-products .features-services ul li a{
    font-size: 13px;
}
section.section.section-products-tabs .tabs-menu-products .tabContent.tab-content{
    display: block !important;
}
.section .tabs-menu-products .tab-content .col > ul{
    gap: unset !important;
}
.section .tabs-menu-products .tab-content .submenuHover.active{
    display: block;
}
.section .tabs-menu-products .menu-grid{
    margin-bottom: 20px;
}
.box-cookies {
    display: none;
}
.modal .modal-content{
    padding: 0 50px;
    background-color: #ffffff;
}
.modal .modal-content.mentorship{
    padding: 0;
    padding-bottom: 25px;
}
.modal .modal-body,
.modal .modal-header{
    padding-top: 30px;
}
.modal .modal-content input.action-button{
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    box-shadow: 0px -2px 0px 0px rgba(10, 13, 18, 0.05) inset;
    box-shadow: 0px 0px 0px 1px rgba(10, 13, 18, 0.05) inset;
    border: 1px solid #D5D7DA;
    border-top-color: rgb(213, 215, 218);
    border-right-color: rgb(213, 215, 218);
    border-bottom-color: rgb(213, 215, 218);
    border-left-color: rgb(213, 215, 218);
    flex: 1;
}
.modal .modal-content input.action-button.submit.btn-next{
    color: #fff;
    border-color: var(--color-green);
    background-color: var(--color-green);
    font-weight: 700;
}


/* Bordures rouges pour les champs en erreur */
input.has-tooltip-error,
select.has-tooltip-error,
textarea.has-tooltip-error {
    border: 2px solid #dc3545 !important;
}

input.has-tooltip-error:focus,
select.has-tooltip-error:focus,
textarea.has-tooltip-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Tooltip d'erreur */
.error-tooltip {
    position: fixed;
    background-color: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 9999;
    max-width: 250px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.error-tooltip.show {
    opacity: 1;
}

.error-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 15px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #dc3545;
}

/* Masquer uniquement les erreurs des champs avec tooltip */
.hide-error-message {
    display: none !important;
}
.site .box-login-form .toggle-password{
    top: 35px;
    cursor: pointer;
}
.blocked {
    pointer-events: none;
}
.uploaded-file-name{
    font-size: 12px;
}
.mm-menu a{
    text-align: left;
}
.section .bloc-form-mentorat.shownForm #request-container form{
    display: block;
}
.section .bloc-form-mentorat.shownForm #request-container form #agency-field,
.section .bloc-form-mentorat.shownForm #request-container form #country-field{
    display: none;
}
#app_contact_phoneNumber{
    padding-left: 105px !important;
}
.section .form-container button.add-ccount{
    padding: 0;
    color: var(--color-green);
    font-weight: bold;
    background: transparent;
}
.section .form-container button.remove-moov-item,
.section .form-container button.remove-ebanking-user,
.section .form-container button.remove-momo-item{
    padding: 0;
    color: darkred;
    font-weight: bold;
    background: transparent;
    margin-bottom: 20px;
}
.momo-item,
.moov-item{
    margin-top: 15px;
}
#agency-field .col-form-label{
    display: block;
}

/* Styles pour le récapitulatif des formulaires */
.step-form-line {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.step-form-line .title-row {
    border-bottom: 2px solid #f8f9fa;
    margin-bottom: 0 !important;
}

.step-form-line .title-row h4 {
    background-color: #f8f9fa !important;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    margin: 0 !important;
    padding: 12px 20px !important;
    border-radius: 0;
    border-bottom: 1px solid #e9ecef;
}

.step-form-infos {
    padding: 0 20px;
}

.step-form-infos .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.step-form-infos .info-row:last-child {
    border-bottom: none;
}

.step-form-infos .info-label {
    font-weight: 500;
    color: #495057;
    min-width: 150px;
    flex: 0 0 auto;
}

.step-form-infos .info-details {
    flex: 1;
    text-align: right;
}

.step-form-infos .info-details .value {
    color: #333;
    font-weight: 500;
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.step-form-infos .info-details .btn-thumb {
    color: var(--color-green);
    text-decoration: none;
    font-weight: 500;
}

.step-form-infos .info-details .btn-thumb:hover {
    text-decoration: underline;
}

.actions-update {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
    border-radius: 0 0 8px 8px;
}

.actions-update .btn-update {
    background-color: var(--color-green);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.actions-update .btn-update:hover {
    background-color: #1e8449;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Bloc d'acceptation */
.box-accept {
    /*background-color: #fff3cd;*/
    /*border: 1px solid #ffc107;*/
    /*border-radius: 8px;*/
    /*padding: 20px;*/
    /*margin: 30px 0;*/
}

.box-accept .field-checkbox {
    margin: 0;
}

.box-accept .label-check {
    /*font-weight: 500;*/
    /*color: #856404;*/
}

/* Amélioration des boutons de navigation */
.fields-btn {
    border-top: 2px solid #e9ecef;
    padding-top: 20px;
    margin-top: 30px !important;
}

.fields-btn .action-button {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.fields-btn .btn-prev {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.fields-btn .btn-prev:hover {
    background-color: #545b62;
    border-color: #4e555b;
}

.fields-btn .btn-next {
    background-color: var(--color-green);
    border-color: var(--color-green);
    color: white;
}

.fields-btn .btn-next:hover:not(:disabled) {
    background-color: #1e8449;
    border-color: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fields-btn .btn-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.recap .step-form{
    margin-bottom: 15px !important;
}

/* Styles pour les utilisateurs additionnels E-Banking */
.additional-users-section {
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}
.form-user-additional {
    /*background-color: #f8f9fa;*/
    /*border: 1px solid #e9ecef;*/
    /*border-radius: 6px;*/
    /*padding: 15px;*/
    /*margin: 10px 0;*/
}
.ebanking-user-item {
    position: relative;
}

/* Styles pour le background de la bannière avec image */
.section.section-banner.section-banner-thumb {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important; /* Centre l'image */
}

/* Ajustement responsive pour mobile */
@media (max-width: 768px) {
    .section.section-banner.section-banner-thumb {
        background-position: center center !important; /* Centre l'image sur mobile */
    }
}

/* Styles pour le slideshow */
.section-slideshow .slide-item {
    background-position: center center !important; /* Centre l'image */
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Ajustement responsive pour mobile slideshow */
@media (max-width: 768px) {
    .section-slideshow .slide-item {
        background-position: center center !important;
    }
}

/* Fix pour maintenir les boutons en bas même quand titre et excerpt sont masqués */
.section-blog-subscribe .post-news-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px; /* Hauteur minimale pour maintenir l'espacement */
}

.section-blog-subscribe .post-news-infos {
    flex-grow: 1;
    min-height: 205px; /* Hauteur minimale même si vide */
}

.section-blog-subscribe .btns-group {
    margin-top: auto; /* Pousse les boutons vers le bas */
}

