#mapid {
	height: 360px;
}
.exportbutton .dropdown-menu>li>a {
    color: #777;
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.exportbutton .dropdown-menu>li>a:hover {
    background-color: #e1e3e9;
    color: #333;
}
label.required:after {
    content: '*';
}
legend.required:after {
    content: '*';
}
.form-check-label:after {
    content: '' !important;
}
.leaflet-container {
    z-index: 4;
}

.card-text img, .card-header img {
    max-width: 100%;
    height: auto;
}

.kohinos-montant-radio .form-check {
  margin: 10px;
}

.kohinos-montant-radio label {
  margin-left: 5px;
}

#formPrestataireInfos_media .custom-file-label {
    border: 0px;
}

/*For captcha bundle : https://github.com/Gregwar/CaptchaBundle*/
.invalid-feedback {
    display: inline-block !important;
}
.form-control, .form-group {
    margin-bottom: 10px !important;
}
.form-group:last-child {
    margin-bottom: 0px !important;
}
.modal-footer .btn:not(.disabled):active {
    margin-top: 6px !important;
}
.modal-footer .btn:not(.disabled):hover {
    margin-top: 5px !important;
}
.slider .tooltip.bs-tooltip-top {
    margin-top: -37px !important;
}
.slider .tooltip {
    display: none !important;
}
form[name='formSolidoumeItem'] .form-check {
    text-align: left !important;
}
form[name='formAchatMonnaieAdherent'] .form-check {
    display: inline-block !important;
}


.payment-page-header {
    display: flex;
    justify-content: space-between;
    height: 40px;
}

#code-digits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 300px;
    margin: 10px auto 30px auto;
}

.payment-code-button, .payment-code-correction-button {
    display: inline-block;
    background-color: white;
    height: 80px;
    width: 80px;
    font-size: 1.5rem;
    border: 3px solid #106a8c;
    color: #117298;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    margin: 4px 2px;
    border-radius: 50%;
}

.payment-code-button:active, .payment-code-correction-button:active {
    background-color:#106a8c;
    color: white;
}

.payment-code-button-placeholder {
    height: 80px;
    width: 80px;
}

#code-visual {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

#code-visual .code-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin: 0 10px;
    display: inline-block;
}

#code-visual .code-dot.filled {
    background-color: #0d6efd;
}

#payment-validation-subheader {
    display: flex;
    justify-content: center;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 20px;
}

.formEncaisserCotisationAdherent-no-cotisation-amount {
    font-style: italic;
    color: #ff4136;
}

form[name="formEncaissement"] label {
    font-size: 1.3rem;
}

.payment-done-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.payment-done-title {
    color: #4CAF50;
    font-weight: bold;
}

/**
 * Success check animation.
 * Extracted from: SweetAlert
 * Modified by: Istiak Tridip
 */
.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}
    
.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}
        
.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}
        
.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before, .success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
}
        
.success-checkmark .icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}
    
.success-checkmark .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}
        
.success-checkmark .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, .5);
}

.success-checkmark .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

/**
 * END Success check animation.
 */

/* ========================================
 * HelloAsso Official Button Styles
 * ======================================== */

.HaPay {
    width: fit-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    margin: 1rem auto;
}

.HaPay * {
    font-family: "Open Sans", "Trebuchet MS", "Lucida Sans Unicode",
        "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    transition: all 0.3s ease-out;
}

.HaPayButton {
    align-items: stretch;
    -webkit-box-pack: stretch;
    -ms-flex-pack: stretch;
    background: none;
    border: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    border-radius: 8px;
}

.HaPayButton:hover {
    cursor: pointer;
}

.HaPayButton:not(:disabled):focus {
    box-shadow: 0 0 0 0.25rem rgba(73, 211, 138, 0.25);
    -webkit-box-shadow: 0 0 0 0.25rem rgba(73, 211, 138, 0.25);
}

.HaPayButton:not(:disabled):hover .HaPayButtonLabel,
.HaPayButton:not(:disabled):focus .HaPayButtonLabel {
    background-color: #483dbe;
}

.HaPayButton:not(:disabled):hover .HaPayButtonLogo,
.HaPayButton:not(:disabled):focus .HaPayButtonLogo,
.HaPayButton:not(:disabled):hover .HaPayButtonLabel,
.HaPayButton:not(:disabled):focus .HaPayButtonLabel {
    border: 1px solid #483dbe;
}

.HaPayButton:disabled {
    cursor: not-allowed;
}

.HaPayButtonLogo {
    background-color: #ffffff;
    border: 1px solid #4c40cf;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 12px 10px;
    width: 50px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.HaPayButtonLabel {
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-between;
    column-gap: 5px;
    background-color: #4c40cf;
    border: 1px solid #4c40cf;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 12px 16px;
    min-height: 40px;
}

.HaPayButton:disabled .HaPayButtonLogo,
.HaPayButton:disabled .HaPayButtonLabel {
    border: 1px solid #d1d6de;
}

.HaPayButton:disabled .HaPayButtonLabel {
    background-color: #d1d6de;
    color: #505870;
}

.HaPaySecured {
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    column-gap: 5px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #2e2f5e;
}

.HaPay svg {
    fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .HaPay {
        width: 100%;
    }
    
    .HaPayButton {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .HaPaySecured {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
}

/* Integration with existing form styles */
.form-group .HaPay,
.form-actions .HaPay {
    margin: 0.5rem 0;
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
    .HaPaySecured {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
 * HelloAsso Button - Override Bootstrap/Existing CSS
 * ======================================== */

/* Force reset Bootstrap button styles for HelloAsso button */
.HaPayButton {
    /* Reset Bootstrap .btn styles */
    font-weight: 400 !important;
    color: initial !important;
    text-align: left !important;
    vertical-align: middle !important;
    border: none !important;
    background-color: transparent !important;
    font-size: inherit !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    user-select: none !important;
    white-space: nowrap !important;
    
    /* Override any form button styles */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    /* Ensure display flex works */
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    flex-direction: row !important;
    
    /* Reset box model */
    box-sizing: border-box !important;
    
    /* Ensure proper dimensions */
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
}

/* Force HelloAsso button to not inherit Bootstrap button hover/focus/active states */
.HaPayButton:hover,
.HaPayButton:focus,
.HaPayButton:active,
.HaPayButton.active,
.HaPayButton.disabled,
.HaPayButton:disabled {
    color: initial !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
    outline: none !important;
}

/* Ensure the logo displays properly */
.HaPayButtonLogo {
    display: flex !important;
    flex-shrink: 0 !important;
    width: 50px !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
}

.HaPayButtonLogo img {
    width: 24px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Ensure the label displays properly */
.HaPayButtonLabel {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

/* Reset any img styles that might interfere */
.HaPayButtonLogo img,
.HaPaySecured img {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

/* Ensure SVG displays properly */
.HaPayButtonLabel svg,
.HaPaySecured svg {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

/* Make sure the security section displays properly */
.HaPaySecured {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    margin-top: 8px !important;
    background: none !important;
    border: none !important;
    border-radius: 6px !important;
}

/* Ensure proper text styling */
.HaPayButtonLabel span,
.HaPaySecured span {
    font-family: "Open Sans", "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.HaPaySecured span {
    font-weight: 600 !important;
    font-size: 12px !important;
}

/* Ensure hover states work properly */
.HaPayButton:not(:disabled):hover .HaPayButtonLabel,
.HaPayButton:not(:disabled):focus .HaPayButtonLabel {
    background-color: #483dbe !important;
    border-color: #483dbe !important;
}

.HaPayButton:not(:disabled):hover .HaPayButtonLogo,
.HaPayButton:not(:disabled):focus .HaPayButtonLogo {
    border-color: #483dbe !important;
}

/* Ensure focus ring works */
.HaPayButton:not(:disabled):focus {
    box-shadow: 0 0 0 0.25rem rgba(73, 211, 138, 0.25) !important;
    outline: none !important;
}