/* auth.css */
:root {
    --primary: #3498db;
    --dark: #2c3e50;
    --bg: #f4f7f6;
    --white: #ffffff;
    --error: #e74c3c;
    --success: #27ae60;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-container {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--dark);
    margin: 0;
    font-size: 24px;
}

.auth-header p {
    color: #7f8c8d;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.alert-error {
    background: #fdeaea;
    color: var(--error);
    border: 1px solid var(--error);
}

.alert-success {
    background: #eafaf1;
    color: var(--success);
    border: 1px solid var(--success);
}

@media (max-width: 480px) {
    .auth-container {
        margin: 20px;
        padding: 25px;
    }
}
/* Add to auth.css */
input[name="otp_attempt"] {
    background-color: #f8f9fa;
    border: 2px dashed var(--primary);
    font-weight: bold;
    color: var(--dark);
}

input[readonly] {
    background-color: #eee;
    cursor: not-allowed;
}