/* Icônes tuile marine + or — référence parcours Kokoricoo */

:root {
    --gi-navy: #0b3a6e;
    --gi-navy-deep: #082a52;
    --gi-gold: #f0c419;
    --gi-gold-soft: #f7e08a;
    --gi-text: #0f1b2d;
    --gi-muted: #5b6b82;
}

.gi-tile {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(160deg, var(--gi-navy-deep) 0%, var(--gi-navy) 70%);
    color: var(--gi-gold);
    box-shadow: 0 10px 22px rgba(8, 42, 82, .22);
    flex-shrink: 0;
}

.gi-tile svg {
    width: 26px;
    height: 26px;
}

.gi-tile--sm {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(8, 42, 82, .18);
}

.gi-tile--sm svg {
    width: 18px;
    height: 18px;
}

.gi-tile--lg {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.gi-tile--lg svg {
    width: 34px;
    height: 34px;
}

.gi-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .28rem;
    border-radius: 999px;
    background: var(--gi-gold);
    color: var(--gi-navy-deep);
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.35rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(8, 42, 82, .2);
}

.gi-step {
    text-align: center;
    padding: .35rem .5rem 0;
}

.gi-step-title {
    margin: .85rem 0 .35rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gi-text);
    letter-spacing: -.02em;
}

.gi-step-text {
    margin: 0 auto;
    max-width: 28ch;
    color: var(--gi-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.gi-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}

.gi-steps.gi-steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gi-page-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.gi-page-head h1 {
    margin: 0 0 .3rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--gi-text);
    letter-spacing: -.02em;
}

.gi-page-head p {
    margin: 0;
    color: var(--gi-muted);
    line-height: 1.5;
    max-width: 62ch;
}

.gi-panel {
    background: #fff;
    border: 1px solid #d7e0ee;
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 8px 24px rgba(11, 58, 110, .05);
    margin-bottom: 1rem;
}

.gi-panel h2 {
    margin: 0 0 .75rem;
    font-size: 1.05rem;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.gi-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .75rem 0 0;
}

.gi-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid #d7e0ee;
    background: #f8fbff;
    color: var(--gi-navy);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.gi-pill.is-active,
.gi-pill:hover {
    background: var(--gi-navy);
    border-color: var(--gi-navy);
    color: #fff;
}

.gi-pill-count {
    display: inline-flex;
    min-width: 1.2rem;
    justify-content: center;
    padding: 0 .3rem;
    border-radius: 999px;
    background: rgba(240, 196, 25, .95);
    color: var(--gi-navy-deep);
    font-size: .72rem;
    font-weight: 800;
}

.gi-pill.is-active .gi-pill-count {
    background: #fff;
}

.gi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.gi-table th {
    text-align: left;
    padding: .65rem .5rem;
    color: var(--gi-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid #d7e0ee;
}

.gi-table td {
    padding: .85rem .5rem;
    border-bottom: 1px solid #eef2f8;
    vertical-align: top;
}

.gi-status {
    display: inline-flex;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.gi-status--ok { background: #e8f5ee; color: #166534; }
.gi-status--wait { background: #fff6d6; color: #92400e; }
.gi-status--warn { background: #fee2e2; color: #991b1b; }

.gi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.btn.gi-btn,
.gi-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    padding: 0 .9rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .88rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.gi-btn-primary {
    background: linear-gradient(135deg, var(--gi-navy-deep), var(--gi-navy));
    color: #fff;
}

.gi-btn-gold {
    background: var(--gi-gold);
    color: var(--gi-navy-deep);
}

.gi-btn-outline {
    background: #fff;
    color: var(--gi-navy);
    border: 1.5px solid #b9cceb;
}

.gi-btn .gi-tile {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    box-shadow: none;
}

.gi-btn .gi-tile svg {
    width: 14px;
    height: 14px;
}

.role-option-icon .gi-tile {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.role-option-icon .gi-tile svg {
    width: 22px;
    height: 22px;
}

.gi-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gi-muted);
}

.layout-admin .admin-sidebar-nav .gi-tile,
.layout-dashboard .dashboard-sidebar-nav .gi-tile {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    margin-right: .35rem;
}

.layout-admin .admin-sidebar-nav .gi-tile svg,
.layout-dashboard .dashboard-sidebar-nav .gi-tile svg {
    width: 16px;
    height: 16px;
}

.layout-admin .admin-sidebar-link,
.layout-dashboard .dashboard-sidebar-link {
    display: flex;
    align-items: center;
    gap: .15rem;
}

@media (max-width: 900px) {
    .gi-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .gi-steps { grid-template-columns: 1fr; }
}

/* Badge vérifié (style TikTok — pastille cyan + coche) */
.gv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.22em;
    height: 1.22em;
    margin-left: .32em;
    vertical-align: -0.14em;
    line-height: 0;
    flex-shrink: 0;
}
.gv-badge svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .12));
}
.gv-badge--sm {
    width: 1.125rem;
    height: 1.125rem;
    margin-left: .32em;
    vertical-align: -0.12em;
}
.gv-badge--tt svg path:first-child {
    filter: drop-shadow(0 0.5px 0 rgba(254, 44, 85, 0.28));
}
.expert-listing-card__name-row,
.professeur-listing-card__name-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.1em;
    max-width: 100%;
}
.expert-listing-card__verified,
.professeur-listing-card__verified {
    display: none !important;
}
.gv-name {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
