/**
 * Sign up page – matches login layout, signup-specific tweaks
 */

/* Slightly wider card for the longer form */
.signup-page .login-card {
    max-width: 420px;
}

.signup-page .card-subtitle {
    margin-bottom: 1.25rem;
}

/* Style select to match inputs */
.signup-page .form-group select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    background: #fff;
    color: #1c1e21;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2365676b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.signup-page .form-group select:hover {
    border-color: #bcc0c4;
}

.signup-page .form-group select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Primary signup button */
.signup-page .btn-signup {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.0625rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #c2410c, #f97316);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.35);
}

.signup-page .btn-signup:hover {
    background: linear-gradient(135deg, #9a3412, #ea580c);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.4);
}

.signup-page .btn-signup:active {
    transform: scale(0.99);
}

/* Login link at bottom */
.signup-page .login-divider {
    margin: 1.5rem 0;
}

.signup-page .auth-footer {
    text-align: center;
}

.signup-page .auth-footer a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.signup-page .auth-footer a:hover {
    text-decoration: underline;
}

.signup-page .auth-footer p {
    margin: 0;
    font-size: 0.9375rem;
    color: #1c1e21;
}

/* Side-by-side row (Major + Year) */
.signup-row-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

/* Ensure inputs have good touch targets */
.signup-page .form-group input,
.signup-page .form-group select {
    min-height: 44px;
    font-size: 16px;
    /* prevents iOS zoom on focus */
}

/* Stack major/year on mobile */
@media (max-width: 480px) {
    .signup-row-fields {
        flex-direction: column;
        gap: 0;
    }
}

/* Login brand: compact on small phones */
@media (max-width: 480px) {
    .login-brand {
        padding: 1.75rem 1.5rem;
    }

    .login-brand .logo-text {
        font-size: 2rem;
    }

    .login-brand .tagline {
        font-size: 1rem;
    }
}