:root {
    --bg: #0e0e0e;
    --glass: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.15);
    --gold: #d4af37;
    --text: #f5f5f5;
    --muted: #b0b0b0;
}

body {
    
    background: linear-gradient(135deg, #1a1a1a, #0e0e0e);
    font-family: 'Cairo', sans-serif;
    
}

/* Wrapper */
.auth-wrapper {
    width: 400px;
    max-width: 90%;
    margin: 100px auto;
    padding: 10px 20px;
    border-radius: 18px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Form Box */
.form-box {
    width: 100%;
}

.form-box h2 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 800;
}

/* Inputs */
.form-box input {
    width: 95%;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    transition: border 0.3s;
}

.form-box input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #f1d37a, var(--gold));
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.4);
}

/* Error Message */
.error-msg {
    display: block;
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
}

/* Links */
.signup-link, .login-link {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.signup-link a, .login-link a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.signup-link a:hover, .login-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 500px) {
    .auth-wrapper {
        padding: 30px 20px;
        margin: 60px auto;
    }

    .form-box h2 {
        font-size: 22px;
    }
}
