/* Background Section */
.auth-landing {
    min-height: 100vh;
    background: url('images/loginbg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center Box */
.auth-box {
    background: rgba(0, 0, 0, 0.75);
    padding: 50px 40px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons Container */
.auth-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Primary Button */
.btn-primary {
    padding: 12px 25px;
    background: #ffffff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Secondary Button */
.btn-secondary {
    padding: 12px 25px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* Hover Effects */
.btn-primary:hover {
    background: #ddd;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* =============================== */
/* PREMIUM SIGNUP PAGE DESIGN     */
/* =============================== */

* {
    box-sizing: border-box;
}

/* ===== Background ===== */
.signup-page {
    margin: 0;
    min-height: 100vh;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;

    background:
        radial-gradient(circle at top right, rgba(59,130,246,0.25), transparent 40%),
        radial-gradient(circle at bottom left, rgba(99,102,241,0.25), transparent 40%),
        linear-gradient(rgba(8,12,25,0.9), rgba(8,12,25,0.9)),
        url('images/signupbg.jpg') no-repeat center center/cover;
}

/* ===== Card ===== */
.signup-page .auth-card {
    width: 100%;
    max-width: 480px;   /* Slightly wider than login */
    padding: 50px 45px;
    border-radius: 22px;

    background: rgba(18, 22, 40, 0.78);
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.03) inset;

    color: #ffffff;
    text-align: center;

    animation: fadeIn 0.5s ease;
}

/* ===== Logo ===== */
.signup-page .auth-logo {
    width: 120px;
    margin-bottom: 25px;
}

/* ===== Headings ===== */
.signup-page h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.signup-page p {
    font-size: 14px;
    color: #b8c1ec;
    margin-bottom: 30px;
}

/* ===== Inputs ===== */
.signup-page .auth-card input {
    width: 100%;
    padding: 14px 16px;
    margin: 10px 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.signup-page .auth-card input::placeholder {
    color: rgba(255,255,255,0.55);
}

.signup-page .auth-card input:focus {
    border-color: #3b82f6;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}

/* ===== Signup Button ===== */
.signup-page .btn-primary {
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    border-radius: 14px;
    border: none;

    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(59,130,246,0.4);
}

/* ===== Switch Text ===== */
.signup-page .switch-text {
    margin-top: 28px;
    font-size: 14px;
    color: #b8c1ec;
}

.signup-page .switch-text a {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
}

.signup-page .switch-text a:hover {
    text-decoration: underline;
}

/* ===== Auth Messages (Signup Specific) ===== */
.signup-page .auth-message {
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 18px;
    text-align: left;
}

/* Error */
.signup-page .auth-message.error {
    background: rgba(255, 77, 77, 0.08);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.35);
}

/* Success */
.signup-page .auth-message.success {
    background: rgba(34,197,94,0.08);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.35);
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile Optimization ===== */
@media (max-width: 480px) {

    .signup-page {
        padding: 15px;
    }

    .signup-page .auth-card {
        padding: 35px 25px;
        border-radius: 18px;
    }

    .signup-page h2 {
        font-size: 20px;
    }

    .signup-page p {
        font-size: 13px;
    }

    .signup-page .auth-card input {
        padding: 12px;
        font-size: 13px;
    }

    .signup-page .btn-primary {
        padding: 12px;
        font-size: 14px;
    }
}