/* 福礼未来 - 客户登录页 */
:root {
    --primary: #e85d24;
    --primary-dark: #c44a18;
    --primary-light: #fff4ed;
    --text: #1a1a2e;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body.login-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    -webkit-font-smoothing: antialiased;
}

.login-page::before {
    content: "";
    position: fixed;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle, rgba(232, 93, 36, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.login-wrap {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.login-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.login-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.login-logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.login-logo-text span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.login-header-img img {
    max-height: 48px;
    width: auto;
}

.login-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.login-header-tel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.login-header-tel img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.login-back-home {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.login-back-home:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 40px 24px 60px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.login-brand {
    flex: 1;
    max-width: 480px;
    color: #fff;
}

.login-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.login-brand-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.login-brand h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.login-brand h2 .highlight {
    background: linear-gradient(135deg, #f59e0b, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-brand-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 32px;
}

.login-brand-features {
    list-style: none;
    display: grid;
    gap: 12px;
}

.login-brand-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.login-brand-features li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    background: rgba(232, 93, 36, 0.2);
    color: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.login-card {
    width: 420px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.login-card-header {
    padding: 32px 40px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.login-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.login-card-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.login-card-body {
    padding: 32px 40px 40px;
}

.login-form ul {
    list-style: none;
}

.login-field {
    position: relative;
    margin-bottom: 20px;
}

.login-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.login-field > input[type="text"],
.login-field > input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field > input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 36, 0.12);
}

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

.login-code-row input {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    box-sizing: border-box;
}

.login-code-row input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 36, 0.12);
}

.login-code-row input::placeholder {
    color: #94a3b8;
}

.login-code-row img {
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--border);
}

.login-submit {
    margin-top: 8px;
}

.login-submit input[type="button"] {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.login-submit input[type="button"]:hover:not(:disabled) {
    background: var(--primary-dark);
}

.login-submit input[type="button"]:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.login-footer {
    text-align: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.login-footer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.login-footer a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.login-footer p + p {
    margin-top: 6px;
}

@media (max-width: 960px) {
    .login-main {
        flex-direction: column;
        gap: 40px;
    }

    .login-brand {
        max-width: 420px;
        text-align: center;
    }

    .login-brand-features {
        text-align: left;
    }

    .login-brand h2 {
        font-size: 32px;
    }
}

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

    .login-card {
        width: 100%;
        max-width: 420px;
    }

    .login-card-header,
    .login-card-body {
        padding: 24px 24px 32px;
    }

    .login-header-right .login-header-tel {
        display: none;
    }
}
