
body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    animation: fadeUp 0.5s ease both;
}

/* Logo */
.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo-badge {
    margin-bottom: 16px;
}

.logo-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.logo-title span {
    color: var(--accent-primary);
}

.logo-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* Card */
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Form */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 7px;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.18s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder { color: var(--text-muted); }

/* Error */
.error-msg {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-radius: 8px;
    font-size: 13px;
    color: var(--accent-red);
    margin-bottom: 18px;
}

.error-msg.show { display: flex; }

/* Submit Button */
.btn-login {
    width: 100%;
    padding: 13px;
    background: var(--accent-primary);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-login:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.btn-login:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--text-muted);
}
