.login-page {
    min-height: 100vh;
    margin: 0;
    overflow: auto;
    color: #12313f;
    background: #eef3f6;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.login-brand {
    flex: 1.05;
    position: relative;
    overflow: hidden;
    padding: 72px 64px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(165deg, #0b4f6c 0%, #0e6884 48%, #14819a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.08);
}

.brand-route {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 168px;
    margin-bottom: 28px;
}

.route-node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.route-node-from {
    background: #7dcea0;
}

.route-node-to {
    background: #f6c177;
}

.route-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.25));
}

.brand-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.78);
}

.login-brand h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.brand-desc {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.brand-points {
    position: relative;
    z-index: 1;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.brand-points li {
    position: relative;
    margin-top: 14px;
    padding-left: 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
}

.brand-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f6c177;
}

.login-panel {
    flex: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    background: #eef3f6;
}

.login-box {
    width: 100%;
    max-width: 420px;
    padding: 40px 36px 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(11, 79, 108, 0.1);
}

.login-header {
    margin-bottom: 28px;
}

.login-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #12313f;
}

.login-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #6b8490;
}

.login-page .form-group {
    margin-bottom: 16px;
}

.login-page .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #12313f;
    font-size: 14px;
    font-weight: 600;
}

.login-page .form-group input[type="text"],
.login-page .form-group input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d5e3ea;
    border-radius: 12px;
    background: #f7fafb;
    color: #12313f;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-page .form-group input[type="text"]:focus,
.login-page .form-group input[type="password"]:focus {
    border-color: #14819a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20, 129, 154, 0.16);
}

.login-page .form-group input::placeholder {
    color: #8aa0ab;
}

.field-control {
    position: relative;
}

.field-control input {
    padding-right: 64px;
}

.toggle-pwd {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    height: 32px;
    padding: 0 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #0b6e86;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.toggle-pwd:hover {
    background: #e8f4f8;
}

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

.captcha-row input {
    flex: 1;
    min-width: 0;
}

.captcha-row img {
    width: 128px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d5e3ea;
    background: #f7fafb;
    cursor: pointer;
    flex-shrink: 0;
    object-fit: cover;
}

.captcha-row img:hover {
    border-color: #14819a;
}

.form-group-submit {
    margin-top: 8px;
    margin-bottom: 0;
}

.login-page #submitBtn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b4f6c 0%, #14819a 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(11, 79, 108, 0.22);
}

.login-page #submitBtn:hover {
    filter: brightness(1.05);
}

.login-page #submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: none;
}

.login-page .error-msg {
    min-height: 18px;
    margin-top: 6px;
    color: #c2410c;
    font-size: 13px;
}

@media (max-width: 860px) {
    .login-shell {
        flex-direction: column;
    }

    .login-brand {
        flex: none;
        padding: 36px 28px 32px;
    }

    .login-brand h1 {
        font-size: 30px;
    }

    .brand-points {
        display: none;
    }

    .login-panel {
        flex: 1;
        padding: 24px 16px 32px;
    }

    .login-box {
        padding: 28px 20px 22px;
    }
}
