﻿/* wrapper pagina login */
.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at 65% 40%, rgba(124,58,237,0.28) 0%, rgba(0,0,0,1) 55%) #000;
    color: #fff;
}

/* breadcrumb */
.auth-breadcrumb {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 1.5rem;
}

    .auth-breadcrumb a {
        color: rgba(255,255,255,.65);
        text-decoration: none;
    }

        .auth-breadcrumb a:hover {
            color: #fff;
        }

    .auth-breadcrumb span {
        margin: 0 .25rem;
    }

/* card */
.auth-card {
    background: rgba(12,12,12,.95);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    padding: 2.25rem 2rem;
    box-shadow: 0 18px 45px rgba(0,0,0,.7);
}

/* header */
.auth-card-header .auth-title {
    font-size: 1.85rem;
    font-weight: 650; /* era 600 — +8% circa */
    letter-spacing: .5px;
    margin-bottom: .5rem;
    margin-bottom: .25rem;
}

.auth-subtitle {
    font-size: .86rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* blocchi */
.auth-block {
    margin-bottom: 1.2rem;
}

.auth-section-title {
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    font-weight: 500;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* social buttons */
.auth-socials {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.auth-social-btn {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    padding: .55rem 1rem;
    background: rgba(16,16,16,.95);
    color: #fff;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: all .15s ease;
}

    .auth-social-btn:hover {
        background: #fff;
        color: #111;
        border-color: #fff;
    }

/* divider */
.auth-divider {
    text-align: center;
    position: relative;
    margin: 1.2rem 0 1.4rem;
}

    .auth-divider span {
        display: inline-block;
        padding: 0 .75rem;
        background: rgba(12,12,12,.95);
        color: rgba(255,255,255,.55);
        font-size: .75rem;
        text-transform: uppercase;
        letter-spacing: .16em;
    }

    .auth-divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(255,255,255,.08);
        z-index: -1;
    }

/* label + input */
.auth-label {
    display: block;
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    margin-bottom: .25rem;
}

.auth-input-wrap {
    position: relative;
}

.auth-input {
    width: 100%;
    background: #111;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    padding: .65rem 2.3rem .65rem .8rem;
    font-size: .86rem;
    color: #fff;
    transition: all .15s ease;
}

    .auth-input:focus {
        outline: none;
        border-color: #7c3aed;
        box-shadow: 0 0 0 2px rgba(124,58,237,.25);
        background: #141414;
    }

.auth-input-icon {
    position: absolute;
    right: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.4);
    font-size: .9rem;
}

/* remember / link */
.auth-remember span {
    font-size: .8rem;
    color: rgba(255,255,255,.75);
}

.auth-checkbox {
    accent-color: #7c3aed;
}

.auth-link {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
}

    .auth-link:hover {
        color: #fff;
        text-decoration: underline;
    }

/* primary button */
.btn-auth-primary {
    border: none;
    border-radius: 999px;
    background: #7c3aed;
    color: #fff;
    padding: .65rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: all .15s ease;
}

    .btn-auth-primary:hover {
        background: #fff;
        color: #7c3aed;
        box-shadow: 0 10px 30px rgba(124,58,237,.35);
    }

/* “Create new account” */
.auth-small {
    font-size: .8rem;
}

/* Override "Back to login" link behavior */
.btn-auth-ghost-inline {
    color: rgba(255,255,255,0.75);
    text-decoration: none !important;
    transition: color .15s ease;
}

    .btn-auth-ghost-inline:hover {
        color: #7c3aed !important; /* viola */
        text-decoration: none !important;
    }


/* responsive */
@media (max-width: 575.98px) {
    .auth-card {
        padding: 1.75rem 1.3rem;
    }
}
