/*
Theme Name: Krigoo
Theme URI: https://ton-site.com
Author: Digital Fikra
Author URI: https://digitalfikra.com
Description: Thème WordPress pour le site Krigoo.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: krigoo
*/
.admin-bar .header, .admin-bar .offcanvas-top{top: 32px !important;}
.header .header-logo img{width: inherit !important;height: 72px;}
/* Style pour le container du slider */
.card-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* La largeur du slider */
    /*height: 275px;*/
    /* Fixer la hauteur du slider */
}

/* Les images à l'intérieur du slider */
.card-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Crop “propre” et homogène pour les images dans les cards/sliders (voitures, résultats, etc.) */
.cardImage.card-slider {
    aspect-ratio: 412 / 275;
}

.cardImage.card-slider,
.cardImage.card-slider .swiper,
.cardImage.card-slider .swiper-container,
.cardImage.card-slider .swiper-wrapper,
.cardImage.card-slider .swiper-slide {
    height: 100%;
}

.cardImage.card-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Style de la navigation des boutons */
.card-slider .swiper-button-prev,
.card-slider .swiper-button-next {
    display: none;
    /* Cache les boutons de navigation */
}

.accordion__item.is-active .icon-chevron-sm-down {
    transform: rotate(180deg);
    /* Faire pivoter l'icône */
    transition: transform 0.3s ease;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.cardImage.w-250{
    height: 167px;

}
.cardImage.w-250 .swiper.card-slider{
    height: 100%;
    display: flex;
    align-items: center;
}
.header.is-sticky{
    background-color: #ffffff !important;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid var(--color-border) !important;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
}

/* Message de confirmation inscription */
.krigoo-registration-feedback {
    max-width: 760px;
}

.krigoo-confirm {
    background: linear-gradient(160deg, #f6fbff 0%, #ffffff 100%);
    border: 1px solid #d8e9fb;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(12, 38, 68, 0.08);
    padding: 34px 28px;
}

.krigoo-confirm__badge {
    width: 66px;
    height: 66px;
    margin: 0 auto;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #1aa867 0%, #0d8f53 100%);
    box-shadow: 0 10px 25px rgba(16, 151, 89, 0.25);
}

.krigoo-confirm__lead {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: #10263f;
}

.krigoo-confirm__tips {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px dashed #c5def7;
    background-color: #f9fcff;
}

.krigoo-confirm__tips p {
    color: #33506f;
}

.krigoo-confirm--success .krigoo-confirm__badge {
    background: linear-gradient(180deg, #1aa867 0%, #0d8f53 100%);
    box-shadow: 0 10px 25px rgba(16, 151, 89, 0.25);
}

.krigoo-confirm--danger {
    border-color: #f2d3d3;
    background: linear-gradient(160deg, #fff7f7 0%, #ffffff 100%);
}

.krigoo-confirm--danger .krigoo-confirm__badge {
    background: linear-gradient(180deg, #de4d4d 0%, #bd3030 100%);
    box-shadow: 0 10px 25px rgba(190, 43, 43, 0.25);
    font-size: 11px;
}

.krigoo-confirm--danger .krigoo-confirm__tips {
    border-color: #efc1c1;
    background-color: #fff3f3;
}

.krigoo-confirm--verified {
    border-color: #cde4d8;
    background: linear-gradient(160deg, #f4fff9 0%, #ffffff 100%);
}

.krigoo-confirm--verified .krigoo-confirm__badge {
    background: linear-gradient(180deg, #13a78f 0%, #0f866f 100%);
    box-shadow: 0 10px 25px rgba(13, 134, 111, 0.25);
    font-size: 10px;
}

.krigoo-confirm--verified .krigoo-confirm__tips {
    border-color: #bfe0d1;
    background-color: #f2fcf7;
}

@media (max-width: 767px) {
    .krigoo-confirm {
        padding: 26px 18px;
        border-radius: 14px;
    }

    .krigoo-confirm__badge {
        width: 58px;
        height: 58px;
        font-size: 13px;
    }
}

/* Page facture client */
.kr-invoice-page {
    background:
        radial-gradient(1200px 300px at 10% -10%, rgba(19, 103, 180, 0.12), transparent 60%),
        radial-gradient(800px 260px at 100% 0%, rgba(12, 136, 116, 0.1), transparent 60%);
}

.kr-invoice-topbar {
    gap: 18px;
    flex-wrap: wrap;
}

.kr-invoice-type {
    letter-spacing: 0.2px;
}

.kr-invoice-actions {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kr-invoice-card {
    border: 1px solid #dce9f7;
    box-shadow: 0 18px 45px rgba(16, 43, 78, 0.08);
    overflow: hidden;
}

.kr-invoice-logo {
    max-height: 48px;
    width: auto;
}

.kr-invoice-kpis {
    --kpi-border: #dbe8f6;
}

.kr-invoice-kpi {
    background: #ffffff;
    border: 1px solid var(--kpi-border);
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 100%;
}

.kr-invoice-kpi__label {
    font-size: 12px;
    color: #5c748f;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.kr-invoice-kpi__value {
    color: #10263f;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.kr-invoice-kpi__sub {
    color: #4f6f92;
    font-size: 12px;
    margin-top: 5px;
}

.kr-invoice-kpi--accent {
    background: linear-gradient(160deg, #f3f9ff 0%, #ffffff 100%);
    border-color: #cddff5;
}

.kr-invoice-party {
    min-height: 100%;
    border: 1px solid #e5edf6;
    border-radius: 12px;
    padding: 18px;
    background-color: #fcfdff;
}

.kr-invoice-table-wrap {
    border: 1px solid #e4edf7;
    border-radius: 12px;
    overflow: auto;
}

.kr-invoice-table {
    margin-bottom: 0;
    min-width: 720px;
}

.kr-invoice-table th,
.kr-invoice-table td {
    vertical-align: middle;
}

.kr-invoice-table thead th {
    border-bottom: 1px solid #dae8f7;
}

.kr-invoice-table tbody tr:last-child td {
    border-bottom: 0;
}

.kr-invoice-footer {
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.7) 0%, rgba(255, 255, 255, 1) 100%);
}

@media (max-width: 991px) {
    .kr-invoice-actions {
        justify-content: flex-start;
    }

    .kr-invoice-card .px-50 {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 767px) {
    .kr-invoice-kpi__value {
        font-size: 17px;
    }

    .kr-invoice-actions .button {
        width: 100%;
        justify-content: center;
    }

    .kr-invoice-card .layout-pt-lg {
        padding-top: 26px;
    }

    .kr-invoice-card .layout-pb-lg {
        padding-bottom: 26px;
    }
}

@media print {
    .kr-invoice-actions,
    .header,
    .footer,
    .mobile-bottom-navigation,
    .scrollToTop {
        display: none !important;
    }

    .kr-invoice-page {
        background: #fff !important;
    }

    .kr-invoice-card {
        box-shadow: none;
        border-color: #d9d9d9;
    }
}