:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --error-bg: #fff1f2;
    --error-text: #e11d48;
}

body.auth-body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0px;
}

/* Menghilangkan {{ }} sebelum Vue aktif */
[v-cloak] { display: none; }

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 24px;
}

.auth-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.brand-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.auth-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.auth-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.input-field input {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.input-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

.error-box {
    background-color: var(--error-bg);
    border: 1px solid #fecdd3;
    color: var(--error-text);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
}
