/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Background */
body {
    height: 100vh;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper */
.auth-wrapper {
    width: 100%;
    padding: 20px;
}

/* Card */
.auth-card {
    background: #fff;
    max-width: 400px;
    margin: auto;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Title */
.auth-card h2 {
    margin-bottom: 10px;
    color: #333;
}

.subtitle {
    color: #777;
    margin-bottom: 25px;
}

/* Form */
.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    background: #4facfe;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #3a8dde;
}

/* Link */
.link {
    margin-top: 20px;
    font-size: 14px;
}

.link a {
    color: #4facfe;
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}

/* Messages */
.messages {
    margin-bottom: 15px;
}

.alert {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Message types */
.alert.success {
    background: #d4edda;
    color: #155724;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
}

.alert.warning {
    background: #fff3cd;
    color: #856404;
}

.alert.info {
    background: #d1ecf1;
    color: #0c5460;
}

/* OTP Input Styling */
.otp-input {
    text-align: center;
    font-size: 22px;
    letter-spacing: 10px;
    font-weight: bold;
}

/* Resend link */
.resend {
    margin-top: 15px;
    font-size: 13px;
}