/* ==========================================================================
   Vendiauto - Stations GPL
   Thème bleu pour les pages stations GPL
   ========================================================================== */

.gpl-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.gpl-search-card {
    border: 0;
    border-radius: 1rem;
}

.gpl-kpi-card {
    border-radius: 1rem;
    background: #ffffff;
    height: 100%;
}

.gpl-kpi-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    font-weight: 700;
}

.gpl-kpi-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #212529;
}

.gpl-map {
    width: 100%;
    min-height: 430px;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,.125);
    overflow: hidden;
    background: #eef2f7;
}

.gpl-map-small {
    min-height: 360px;
}

.gpl-station-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
}

.gpl-price-box {
    min-width: 120px;
}

.gpl-station-card {
    border-radius: 1rem;
}

.gpl-station-card .card-body {
    padding: 1rem;
}

.gpl-table th {
    white-space: nowrap;
    font-size: .86rem;
}

.gpl-table td {
    vertical-align: middle;
}

.gpl-source-note {
    font-size: .92rem;
}

.gpl-badge-soft {
    background: rgba(13,110,253,.08);
    color: #0d6efd;
    border: 1px solid rgba(13,110,253,.18);
}

.gpl-faq .accordion-button {
    font-weight: 700;
}

.gpl-services-list {
    columns: 2;
}

@media (max-width: 767.98px) {
    .gpl-map {
        min-height: 320px;
    }

    .gpl-services-list {
        columns: 1;
    }

    .gpl-kpi-value {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Thème GPL : bleu
   ========================================================================== */

:root {
    --gpl-main: #2563eb;
    --gpl-dark: #1d4ed8;
    --gpl-soft: #eff6ff;
    --gpl-cyan: #38bdf8;
}

/* Hero GPL */
.gpl-hero,
.gpl-hero-gradient {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .20), transparent 35%),
        radial-gradient(circle at top right, rgba(56, 189, 248, .16), transparent 34%),
        linear-gradient(135deg, #eff6ff 0%, #ffffff 46%, #f5fbff 100%);
}

.gpl-hero .card.bg-light,
.gpl-hero-gradient .card.bg-light,
.gpl-hero .bg-light,
.gpl-hero-gradient .bg-light {
    background-color: rgba(255, 255, 255, .84) !important;
}

/* Couleurs thème */
.text-gpl {
    color: var(--gpl-main);
}

.bg-gpl {
    background-color: var(--gpl-main);
}

.border-gpl {
    border-color: var(--gpl-main);
}

.link-gpl {
    color: var(--gpl-main);
    font-weight: 600;
    text-decoration: none;
}

.link-gpl:hover {
    color: var(--gpl-dark);
    text-decoration: underline;
}

/* Boutons thème */
.btn-gpl {
    background-color: var(--gpl-main);
    border-color: var(--gpl-main);
    color: #fff;
}

.btn-gpl:hover,
.btn-gpl:focus {
    background-color: var(--gpl-dark);
    border-color: var(--gpl-dark);
    color: #fff;
}

.btn-outline-gpl {
    background-color: #fff;
    border-color: var(--gpl-main);
    color: var(--gpl-main);
}

.btn-outline-gpl:hover,
.btn-outline-gpl:focus {
    background-color: var(--gpl-main);
    border-color: var(--gpl-main);
    color: #fff;
}

/* Pagination GPL */
.page-item.active .page-link {
    background-color: var(--gpl-main);
    border-color: var(--gpl-main);
    color: #fff;
}

.page-link {
    color: var(--gpl-main);
}

.page-link:hover {
    color: var(--gpl-dark);
}

/* Correction z-index carte / liste */
.gpl-map-card {
    position: relative;
    z-index: 1;
}

#gplMap.gpl-map,
#gplMap.leaflet-container {
    position: relative;
    z-index: 0;
    isolation: isolate;
}

.gpl-list-title,
.gpl-list-table-wrap,
.gpl-station-card {
    position: relative;
    z-index: 5;
}

.gpl-list-table-wrap a,
.gpl-list-table-wrap button,
.gpl-station-card a,
.gpl-station-card button {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
