/* Auth Pages Styles */

/* Base body styling */
body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    padding: 2rem 0;
}

/* Auth container base styles */
.auth-container {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    border: 1px solid #404040;
}

/* Signup container - wider for more fields */
.signup-container {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    border: 1px solid #404040;
}

/* Auth header styles */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-header p {
    color: #b0b0b0;
    margin: 0;
}

/* Form styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #404040;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #3a3a3a;
    color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #970000;
    box-shadow: 0 0 0 2px rgba(151, 0, 0, 0.2);
    background-color: #404040;
}

.form-control::placeholder {
    color: #888;
}

/* OTP input special styling - target by field name */
input[name="otp"] {
    letter-spacing: 0.3em;
    text-align: center;
}

/* Button styles */
.btn-auth {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #970000 0%, #cc0000 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(151, 0, 0, 0.3);
}

/* Link styles */
.auth-link {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-link a {
    color: #970000;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
    color: #cc0000;
}

/* Back link styling */
.back-link {
    margin-bottom: 1rem;
}

.back-link a {
    color: #b0b0b0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Alert messages */
.alert {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.alert-success {
    background-color: #1e4d2b;
    color: #4ade80;
    border: 1px solid #22c55e;
}

.alert-error {
    background-color: #4d1e1e;
    color: #f87171;
    border: 1px solid #ef4444;
}

/* Error text */
.text-danger {
    color: #f87171;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form row for side-by-side fields */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

/* Resend link styling */
.resend {
    text-align: center;
    margin-top: 1rem;
}

.resend a {
    color: #970000;
    text-decoration: none;
    font-weight: 500;
}

.resend a:hover {
    text-decoration: underline;
    color: #cc0000;
}
