.auth-body {
    min-height: 100vh;
    display: flex;
    background: var(--darker-bg);
    position: relative;
}

.auth-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59,130,246,0.1) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(139,92,246,0.1) 0%, transparent 45%);
    pointer-events: none;
}

.auth-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.auth-left {
    flex: 0 0 45%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin: 0 auto;
}

.auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 4rem 3rem;
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
    border-left: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(59,130,246,0.12) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(139,92,246,0.12) 0%, transparent 40%);
}

.auth-card {
    width: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.auth-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.auth-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.form-group .optional {
    font-size: 0.75rem;
    color: #64748b;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #475569;
}

.form-group input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    background: rgba(255,255,255,0.08);
}

.auth-btn {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    text-align: center;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.auth-footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.auth-showcase {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.auth-showcase h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-showcase .version-tag {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.4);
    color: #60a5fa;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-showcase p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.auth-features li {
    color: var(--text-gray);
    padding: 0.7rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1rem;
}

.auth-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.auth-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.auth-links a:hover {
    color: var(--accent-color);
}

.layui-layer,
.layui-layer-content,
.layui-layer-title {
    color: inherit;
}

.layui-layer-msg,
.layui-layer-msg .layui-layer-content {
    color: #333 !important;
}

@media (max-width: 1024px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-left {
        flex: none;
        width: 100%;
        max-width: 480px;
        padding: 3rem 1.5rem;
        order: 2;
    }

    .auth-right {
        flex: none;
        width: 100%;
        padding: 3rem 1.5rem;
        order: 1;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        justify-content: center;
    }

    .auth-showcase {
        max-width: 100%;
        text-align: center;
    }

    .auth-features li {
        text-align: left;
    }

    .auth-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-showcase h2 {
        font-size: 1.6rem;
    }
}
