/* ==========================================
   SIGNUP.PHP - PAGE SPECIFIC STYLES
   Signup page design
   ========================================== */

body {
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, var(--bg-800), var(--bg-900));
}

/* ========== LAYOUT ========== */
.auth-wrap {
    width: min(92vw, 460px);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.brand .brand-dot {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .25);
}

/* ========== CARD ========== */
.card-glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 22px;
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
    transition: transform .25s ease;
}

.card-glass:hover {
    transform: translateY(-2px);
}

/* ========== FORM ELEMENTS ========== */
.form-floating > .form-control {
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 12px;
}

.form-floating > label {
    color: var(--muted);
}

.form-control:focus {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(59, 130, 246, .6);
    box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .25);
}

/* ========== BUTTONS ========== */
.btn-gradient {
    color: #fff;
    border: 0;
    border-radius: 14px;
    width: 100%;
    background-image: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 24px rgba(79, 70, 229, .35);
    padding: .85rem 1.2rem;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, .5);
}

.btn-google {
    width: 100%;
    border-radius: 14px;
    font-weight: 600;
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    padding: .8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-google:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* ========== AVATAR UPLOAD ========== */
.avatar-upload {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: all .2s ease;
}

.avatar-upload:hover {
    border-color: var(--primary);
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity .2s ease;
}

.position-relative:hover .avatar-overlay {
    opacity: 1;
}

/* ========== LINKS ========== */
.link-light-muted {
    color: #cbd5e1;
    text-decoration: none;
    transition: color .2s ease;
}

.link-light-muted:hover {
    color: #fff;
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 576px) {
    .auth-wrap {
        width: 100%;
        padding: 1rem;
    }

    .card-glass {
        padding: 1.5rem !important;
    }

    .avatar-upload {
        width: 100px;
        height: 100px;
    }
}
