﻿.ev-l1 {
    --c: var(--ev-loyalty-welcome);
    --cd: #5e7258;
    --ct: #f1f4ef;
}

.ev-l2 {
    --c: var(--ev-loyalty-premium);
    --cd: #8e4a5e;
    --ct: #f7eef1;
}

.ev-l3 {
    --c: var(--ev-loyalty-gold);
    --cd: #87712e;
    --ct: #f8f4e6;
}

.ev-l4 {
    --c: var(--ev-loyalty-platinum);
    --cd: #3d8180;
    --ct: #edf6f6;
}

/* Voce del Club nella testata: oro per chi non ha un livello, i colori del livello per l'iscritto */
.guest-club-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px !important;
    border: 1px solid var(--c, var(--ev-loyalty-gold));
    border-radius: 999px;
    background-color: var(--c, var(--ev-loyalty-gold));
    color: #fff !important;
    font-weight: 600;
    white-space: nowrap;
    transition: filter .2s;
}

/* .nav-link:hover di styles.css forza il testo scuro con !important */
.nav-link.guest-club-pill:hover,
.nav-link.guest-club-pill:focus {
    color: #fff !important;
    filter: brightness(.93);
}

/* Iscritto: sfondo chiaro, si riempie all'hover */
.nav-link.guest-club-pill-level {
    background-color: var(--ct);
    color: var(--cd) !important;
    transition: background-color .2s, color .2s;
}

.nav-link.guest-club-pill-level:hover,
.nav-link.guest-club-pill-level:focus {
    background-color: var(--c);
    filter: none;
}

/* Cerchio bianco: le icone a più colori si perdono sullo sfondo pieno */
.guest-club-pill img {
    width: 20px;
    height: 20px;
    padding: 2px;
    border-radius: 50%;
    background-color: #fff;
}

.guest-club-pill-renew {
    background-color: #b03a37;
    border-color: #b03a37;
}

.guest-club-renew-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}

.guest-club-renew {
    font-size: .65rem;
    font-weight: 700;
}

/* Coccarda (non iscritto, rinnovo): glifo Font Awesome, prende il colore del testo */
.guest-club-pill .guest-club-award {
    font-size: 18px;
    line-height: 1;
}

.guest-club-pill > span {
    line-height: 1;
}

/* Barra mobile */
.guest-club-pill-mini {
    gap: 4px;
    padding: 4px 8px 4px 4px !important;
    font-size: 10px;
    letter-spacing: .04em;
}

.guest-club-pill-mini img {
    width: 18px;
    height: 18px;
}

.guest-club-pill-mini .guest-club-award {
    font-size: 15px;
}

.guest-club-pill-mini .guest-club-renew-dot {
    width: 6px;
    height: 6px;
}

/* In cima al menu mobile */
.guest-club-pill-wide {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 8px 12px !important;
    font-size: 13px;
}

.guest-club-pill-wide img {
    width: 24px;
    height: 24px;
}

.guest-club-pill-wide .guest-club-award {
    font-size: 22px;
}

.register-club {
    padding: 16px 20px 8px;
    background-color: var(--ct);
    border-left: 4px solid var(--c);
    border-radius: 6px;
}
