* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', system-ui, sans-serif;
    background: radial-gradient(circle at 10% 30%, #1a2f4b, #0f1e30);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.login-container {
    width: 100%;
    max-width: 460px;
}

.login-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    box-shadow: 0 30px 80px -20px rgba(0, 20, 40, 0.7);
    padding: 48px 44px;
    transition: transform 0.2s ease;
}

.brand {
    text-align: center;
    margin-bottom: 36px;
}

.brand-icon {
    width: 76px;
    height: 76px;
    background: #0b2b44;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 10px 20px -8px rgba(0, 80, 130, 0.5);
}

.brand-icon svg {
    width: 46px;
    height: 46px;
    fill: #ffffff;
}

.brand h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #0b2b44;
    margin-bottom: 4px;
    line-height: 1.3;
}

.org-name {
    background: #e9f0f9;
    color: #0b2b44;
    font-weight: 500;
    font-size: 17px;
    padding: 10px 24px;
    border-radius: 40px;
    display: inline-block;
    margin-top: 14px;
    border: 1px solid #cbd6e4;
}

.org-name span {
    color: #1a5d8f;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e3b5c;
    margin-bottom: 7px;
    letter-spacing: 0.1px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #dbe2ec;
    border-radius: 14px;
    font-size: 15px;
    background: #f9fbfd;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    color: #1e3b5c;
}

.form-group input:focus {
    outline: none;
    border-color: #1e6f9f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 111, 159, 0.12);
}

.form-group input::placeholder {
    color: #b0c3d4;
    font-weight: 400;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 28px;
    font-size: 14px;
    gap: 12px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e3b5c;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.form-options input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #1e6f9f;
    cursor: pointer;
    flex-shrink: 0;
}

.form-options a {
    color: #1e6f9f;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.form-options a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0b2b44, #1a4d72);
    border: none;
    padding: 16px;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 8px 20px -6px rgba(11, 43, 68, 0.5);
    letter-spacing: 0.4px;
}

.submit-btn:hover {
    opacity: 0.92;
    box-shadow: 0 10px 24px -6px rgba(11, 43, 68, 0.6);
}

.submit-btn:active {
    transform: scale(0.98);
}

.error-message {
    background: #fff0f0;
    color: #b53b3b;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 14px;
    margin-bottom: 22px;
    border-left: 4px solid #d94f4f;
    display: none;
    align-items: flex-start;
    gap: 10px;
}

.error-message svg {
    width: 20px;
    height: 20px;
    fill: #b53b3b;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-note {
    margin-top: 32px;
    text-align: center;
    font-size: 13px;
    color: #a0b8cf;
    line-height: 1.6;
}

.footer-note a {
    color: #8aacc6;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
}

.footer-note a:hover {
    color: #1e6f9f;
}

.footer-note .dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #a0b8cf;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 2px 2px;
}

.company {
    font-size: 12px;
    color: #7c95b0;
    margin-top: 10px;
}

@media (min-width: 1200px) {
    .login-card {
        box-shadow: 0 40px 100px -24px rgba(0, 20, 40, 0.75);
    }
}

@media (max-width: 600px) {
    .login-card {
        padding: 36px 28px;
    }
}

@media (max-width: 420px) {
    .login-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .brand-icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }

    .brand-icon svg {
        width: 38px;
        height: 38px;
    }

    .brand h1 {
        font-size: 21px;
    }

    .org-name {
        font-size: 15px;
        padding: 9px 18px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 15px;
    }
}

@media (max-width: 320px) {
    body {
        padding: 12px 10px;
    }

    .login-card {
        padding: 24px 16px;
    }
}
