* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #001f3f;
    padding: 20px;
}
.login-card {
    width: 95%;
    max-width: 600px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
    text-align: center;
    color: #fff;
}
.login-card h1 {
    margin-bottom: 20px;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    color: #ffcc00;
}
.header-logos img {
    max-height: 50px;
    margin-bottom: 15px;
}
.form-group {
    margin-bottom: 18px;
    position: relative;
}
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .2);
    color: #fff;
    outline: none;
    transition: .3s;
}
.form-group input::placeholder {
    color: #ddd;
}
.form-group input:focus {
    background: rgba(255, 255, 255, .3);
    border-color: #ffcc00;
}
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.captcha-image {
    background: rgba(255, 255, 255, .6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .6);
    flex: 1;
    min-width: 120px;
    height: 45px;
    object-fit: contain;
}
.refresh-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ffcc00;
}
.btn, .btn-light {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}
.btn {
    background: linear-gradient(135deg, #004a80, #00335c);
    color: #fff;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.btn-light {
    background: linear-gradient(135deg, #66b2ff, #3399ff);
    color: #fff;
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.footer-note {
    margin-top: 14px;
    font-size: 11px;
    opacity: .8;
    border-top: 1px solid rgba(255, 255, 255, .3);
    padding-top: 8px;
}
.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #001f3f;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    display: none;
    z-index: 9999;
    animation: fadeInOut 3s forwards;
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10px); }
}
@media (max-width: 552px) {
    .btn-light { width: 100%; display: block; margin-top: 10px; }
}
@media (max-width: 481px) {
    .captcha-row { flex-direction: column; align-items: stretch; }
    .captcha-image { width: 100%; max-height: 120px; }
    .refresh-btn { align-self: flex-end; margin-top: 8px; }
}
@media (max-width: 446px) {
    .header-logos img { max-width: 80%; height: auto; margin: 0 auto 15px; display: block; }
}
