/**
 * Fichier  : /pages/login/assets/css/switch.css
 * Fonction : style du 'switch'
 */

#login .switch {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    padding: 8px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.03)
    );

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    backdrop-filter: blur(18px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 10px 30px rgba(0,0,0,0.30);
}

#login .switch button {
    flex: 1;
    padding: 14px 18px;
    cursor: pointer;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;

    font-family: 'content-font';
    font-size: 0.95rem;
    font-weight: 500;

    color: rgba(255,255,255,0.72);

    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

#login .switch button:hover:not(.active) {
    background: linear-gradient(
        135deg,
        rgba(255,95,45,0.16),
        rgba(255,145,0,0.08)
    );

    border-color: rgba(255,120,0,0.22);
    color: #fff;
}

#login .switch button.active {
    color: #fff;

    background: linear-gradient(
        135deg,
        #8e0e00 0%,
        #c91f16 30%,
        #e9401b 65%,
        #ff7b00 100%
    );

    border-color: rgba(255,120,0,0.22);

    box-shadow:
        0 8px 24px rgba(233,64,27,0.35),
        0 0 18px rgba(255,123,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

#login .switch button:active {
    transform: scale(.97);
}