/* ===============================
   TicketLine Modern Auth UI
================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Card Container */
.login-container {
    background: #ffffff;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.4s ease-in-out;
}

/* Heading */
.login-container h2 {
    margin: 0 0 15px;
    text-align: center;
    font-weight: 600;
    color: #111827;
}

/* Email display text */
.login-container p {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/* Inputs */
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: all 0.2s ease;
}

.login-container input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Buttons */
.login-container button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Primary Button */
.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
}

/* Secondary Button */
.btn-secondary {
    background-color: #10b981;
    color: white;
}

.btn-secondary:hover {
    background-color: #047857;
}

/* Divider */
.divider {
    text-align: center;
    margin: 22px 0;
    font-size: 14px;
    color: #6b7280;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 40%;
    background: #e5e7eb;
    position: absolute;
    top: 50%;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* Error Message */
.error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Fade Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        padding: 30px;
    }
}
.captcha-box {
    background: #111827;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    letter-spacing: 2px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}
/* ===============================
   CAPTCHA Styling
================================ */

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.captcha-box {
    background: #111827;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 18px;
    min-width: 120px;
    text-align: center;
}

.captcha-input {
    flex: 1;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: all 0.2s ease;
}

.captcha-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Mobile Fix */
@media (max-width: 480px) {
    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-box {
        width: 100%;
    }
}

.resend-wrapper {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.resend-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

.resend-disabled {
    color: #9ca3af;
}

.resend-wrapper {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.resend-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.resend-link:hover {
    text-decoration: underline;
}