/* Login Page Styles (tanpa Vite) - Selaras dengan Landing Page */
:root {
    /* Primary Colors - Turquoise/Teal (Hijau Toska) */
    --primary-gradient: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
    --primary-color: #14b8a6;
    --primary-dark: #0d9488;
    --primary-light: #5eead4;
    
    /* Secondary Colors */
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --turquoise: #14b8a6;
    --turquoise-dark: #0d9488;
    --turquoise-light: #5eead4;
    
    /* Background Colors - Lebih soft */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-lighter: #f1f5f9;
    
    /* Text Colors - Kontras yang lebih baik */
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    
    /* UI Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-medium);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.35;
    z-index: 0;
}

.auth-wrapper::before {
    background: var(--primary-color);
    top: -160px;
    right: -140px;
}

.auth-wrapper::after {
    background: var(--primary-dark);
    bottom: -170px;
    left: -150px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.15);
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brand i {
    font-size: 1.75rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand strong {
    font-size: 1.25rem;
}

.auth-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

.auth-subtitle {
    margin: 0 0 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.auth-subtitle strong {
    color: var(--text-dark);
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: white;
    outline: none;
    transition: all 0.25s ease;
    font-size: 1rem;
}

.input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.input-row {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    transition: color 0.25s ease;
}

.input-row:focus-within .input-icon {
    color: var(--primary-color);
}

.input.with-icon {
    padding-left: 2.6rem;
}

.btn-submit {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 0;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(20, 184, 166, 0.4);
}

.auth-footer {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.25s ease;
}

.auth-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


