/* ========================================================
   GOGETA - ĐĂNG NHẬP (login.css)
   Comic Anime Style synchronized with Gogeta Web
   ======================================================== */

.comic-panel.login-panel {
    max-width: 480px;
    margin: 15px auto 30px;
    background-color: #ffffff;
    border: 3.5px solid #0f172a;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 4px 5px 0 #0f172a, 0 16px 36px rgba(2, 132, 199, 0.15);
    position: relative;
}

/* Card inner header */
.login-panel .comic-header-container {
    text-align: center;
    margin-bottom: 22px;
}

.login-panel .comic-header {
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    text-align: center;
    color: #0f172a;
    background: linear-gradient(180deg, #ffe066 0%, #ff9800 60%, #e65100 100%);
    padding: 8px 22px;
    border: 2.5px solid #0f172a;
    border-radius: 14px;
    box-shadow: 3px 3px 0 #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Alerts */
.alert, .comic-message {
    padding: 12px 16px;
    border: 2.5px solid #0f172a;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    box-shadow: 3px 3px 0 #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-danger, .comic-message {
    background-color: #fee2e2;
    border-color: #b91c1c;
    color: #991b1b;
}

.alert-success {
    background-color: #dcfce7;
    border-color: #15803d;
    color: #166534;
}

/* Form Groups */
.form-group {
    margin-bottom: 18px;
}

.form-label, .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 7px;
    color: #0f172a;
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-size: 15px;
}

.form-label i, .form-group label i {
    color: #0284c7;
    font-size: 15px;
}

/* Universal Inputs for Login */
.form-control, .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2.5px solid #0f172a;
    border-radius: 10px;
    background-color: #f8fafc;
    font-size: 15px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 2px 2px 0 rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-control::placeholder, .form-group input::placeholder {
    color: #94a3b8;
    font-weight: 500;
    font-size: 14px;
}

.form-control:focus, .form-group input:focus {
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.35), 2px 2px 0 #0f172a;
}

/* Captcha Block */
.captcha-group {
    background: #f0f9ff;
    border: 2px dashed #0284c7;
    border-radius: 12px;
    padding: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.captcha-group label {
    color: #0369a1;
    margin-bottom: 10px;
}

.captcha-flex-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.captcha-badge {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 2.5px solid #0f172a;
    border-radius: 10px;
    box-shadow: 2.5px 2.5px 0 #0f172a;
    padding: 10px 16px;
    font-family: "Baloo 2", sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #0369a1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.captcha-badge i {
    color: #0284c7;
}

/* Comic Primary Submit Button */
.comic-button, .comic-btn, .btn-submit {
    width: 100%;
    padding: 14px 20px;
    border: 2.5px solid #0f172a;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffe066 0%, #ff9800 60%, #e65100 100%);
    color: #0f172a;
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 900;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    box-shadow: 3.5px 3.5px 0 #0f172a;
    transition: all 0.15s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-sizing: border-box;
}

.comic-button:hover, .comic-btn:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 4.5px 5px 0 #0f172a;
    background: linear-gradient(180deg, #fff085 0%, #ffa726 60%, #f57c00 100%);
}

.comic-button:active, .comic-btn:active, .btn-submit:active {
    transform: translateY(1px);
    box-shadow: 1.5px 1.5px 0 #0f172a;
}

/* Switch link (Login / Register) */
.alternate-action, .auth-footer-links, .login-links {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 2px dashed #e2e8f0;
    text-align: center;
    font-size: 14.5px;
    font-weight: 700;
    color: #475569;
    font-family: "Nunito", sans-serif;
}

.alternate-action a, .auth-footer-links a, .login-links a, .comic-link {
    color: #0284c7;
    font-weight: 800;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.15s;
}

.alternate-action a:hover, .auth-footer-links a:hover, .login-links a:hover, .comic-link:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .comic-panel.login-panel {
        padding: 20px 16px;
        margin: 10px auto 20px;
    }
    
    .captcha-flex-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-badge {
        text-align: center;
        justify-content: center;
    }
}
