/* ==========================================================
   MODAL DÃ‰TAIL DES CRÃ‰DITS
========================================================== */

.elite-credits-modal {
    font-family: 'Overpass', sans-serif;
}


/* ==========================================================
   CONTENEUR
========================================================== */

.elite-credits-modal-content {
    color: #123b70;

    background: #ffffff;

    border: 0;
    border-radius: 8px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}


/* Important :
   on ne surcharge PAS la largeur du .modal-dialog.
   Le modal conserve donc la mÃªme taille Bootstrap "modal-lg"
   que le modal Exporter les rÃ©sultats.
*/


/* ==========================================================
   HEADER
========================================================== */

.elite-credits-modal-header {
    display: flex;
    align-items: center;

    padding: 18px 22px;

    border-bottom: 1px solid #e1e8ef;
}


.elite-credits-modal-header .modal-title {
    margin: 0;

    color: #142b58;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
}


.elite-credits-modal-close {
    margin: -2px 0 0 auto !important;
    padding: 0 !important;

    color: #657493;

    background: transparent !important;
    border: 0;

    opacity: 1;

    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}


.elite-credits-modal-close:hover,
.elite-credits-modal-close:focus {
    color: #142b58;
    opacity: 1;
    outline: none;
}


/* ==========================================================
   BODY
========================================================== */

.elite-credits-modal-body {
    padding: 20px 22px 22px;
}


.elite-credits-modal-subtitle {
    margin: 0 0 16px;

    color: #142b58;

    font-size: 15px;
    font-weight: 600;

    text-align: center;
}


/* ==========================================================
   TABLEAU
========================================================== */

.elite-credits-detail-box {
    margin-bottom: 18px;
    padding: 6px;

    background: #f8fbff;

    border: 1px solid #dce8f4;
    border-radius: 10px;
}


.elite-credits-table {
    width: 100%;
    margin: 0;

    color: #142b58;

    background: #ffffff;

    border-collapse: separate;
    border-spacing: 0;

    border-radius: 7px;
    overflow: hidden;
}


.elite-credits-table th,
.elite-credits-table td {
    padding: 12px 15px;

    vertical-align: middle;

    border-top: 0;
}


.elite-credits-table thead th {
    color: #526b91;

    background: #f5f8fc;

    border-bottom: 0;

    font-size: 13px;
    font-weight: 600;
}


.elite-credits-table tbody td {
    color: #142b58;

    border-bottom: 1px solid #e1e8ef;

    font-size: 14px;
    line-height: 1.4;
}


.elite-credits-table tbody tr:nth-last-child(2) td {
    border-bottom: 0;
}


.elite-credits-number {
    color: #142b58;

    font-size: 15px !important;
    font-weight: 600;
}


/* ==========================================================
   TOTAL
========================================================== */

.elite-credits-total td {
    padding-top: 13px !important;
    padding-bottom: 13px !important;

    color: #142b58;

    background: #eef6fd;

    border-bottom: 0 !important;

    font-size: 15px !important;
}


.elite-credits-total strong {
    font-weight: 600;
}


/* ==========================================================
   INFORMATION
========================================================== */

.elite-credits-info {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 18px;
    padding: 14px 16px;

    color: #526b91;

    background: #f5f9fd;

    border: 1px solid #dce8f4;
    border-radius: 8px;
}


.elite-credits-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    color: #0668e8;

    font-size: 20px;
}


.elite-credits-info-text {
    padding-top: 1px;

    font-size: 12px;
    line-height: 1.5;
}


/* ==========================================================
   BOUTON RECHARGER
========================================================== */

.elite-credits-recharge-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 50px;

    padding: 11px 18px;

    color: #ffffff !important;

    background: #003f7d;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;

    transition: background-color .15s ease;
}


.elite-credits-recharge-btn:hover,
.elite-credits-recharge-btn:focus {
    color: #ffffff !important;

    background: #00356a;

    text-decoration: none !important;
}


.elite-credits-recharge-btn i {
    font-size: 18px;
}




/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 767.98px) {

    .elite-credits-modal {
        padding-right: 0 !important;
    }


    .elite-credits-modal .modal-dialog {
        margin: 15px;
    }


    .elite-credits-modal-header {
        padding: 15px 16px;
    }


    .elite-credits-modal-header .modal-title {
        padding-right: 10px;

        font-size: 18px;
    }


    .elite-credits-modal-close {
        font-size: 25px;
    }


    .elite-credits-modal-body {
        padding: 16px;
    }


    .elite-credits-modal-subtitle {
        font-size: 14px;
    }


    .elite-credits-table {
        min-width: 540px;
    }


    .elite-credits-table th,
    .elite-credits-table td {
        padding: 10px 12px;
    }


    .elite-credits-info {
        gap: 10px;

        padding: 12px;
    }


    .elite-credits-info-text {
        font-size: 12px;
    }


    .elite-credits-recharge-btn {
        min-height: 46px;

        padding: 10px 15px;

        font-size: 14px;
    }

}