* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #010c21;
    background-image: url('login-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    padding: 24px 7vw 24px 24px;
}

.login-container {
    width: 40vw;
    max-width: 430px;
    min-width: 340px;
    padding: 10px;
}

.login-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 34px 30px;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 20px 50px rgba(0, 5, 20, 0.65), 0 0 28px rgba(0, 168, 255, 0.25);
}

.login-branding {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 22px;
    color: #002D62;
    font-size: 1.45rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #334155;
    font-size: 13.5px;
}

.input-group input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input-group input:focus {
    border-color: #0066cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    outline: none;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.btn-login:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.45);
    transform: translateY(-1px);
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #0056b3;
    text-decoration: none;
    font-size: 13.5px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Tablet & Mobile Compatibility */
@media (max-width: 992px) {
    body {
        background-size: cover;
        background-position: right center;
        justify-content: center;
        padding: 20px;
    }
    .login-container {
        width: 100%;
        max-width: 420px;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 26px 20px;
    }
}
