/* Variables sesuai Brand Kana */
:root {
    --brand-green: #059669;
    --brand-dark: #064e3b;
    --bg-light: #f0fdf4;
    --border-color: #d1fae5;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; }

body { 
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Layout Login */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-k {
    width: 60px;
    height: 60px;
    background: var(--brand-green);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
    animation: logoBounce 3s infinite ease-in-out;
}

.login-header h2 { font-size: 2rem; color: var(--brand-dark); font-weight: 800; }
.login-header p { color: var(--brand-green); font-weight: 500; }

/* Card Style */
.login-card {
    background: white;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.form-group { margin-bottom: 20px; }
.form-group label { 
    display: block; 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: var(--brand-green);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--brand-green);
    width: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #ecfdf5;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--brand-green);
    background: #f0fdf4;
}

/* Button Masuk */
.btn-masuk {
    width: 100%;
    padding: 15px;
    background: var(--brand-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-masuk:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(5, 150, 105, 0.2);
}

/* Info Box */
.demo-info {
    margin-top: 25px;
    background: #f0fdf4;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--brand-green);
}

.demo-info p { font-size: 0.75rem; line-height: 1.5; color: #065f46; }

.back-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    text-decoration: none;
    color: var(--brand-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    text-decoration: none;
    color: #059669; /* Warna Hijau Brand kamu */
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.back-link:hover {
    color: #064e3b;
    transform: translateX(-5px); /* Animasi geser sedikit ke kiri saat di-hover */
}
.back-link-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669; /* Warna hijau emerald agar senada dengan tema */
    text-decoration: none;
    font-weight: 800;
    font-size: 1.0rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 20px; /* Memberikan efek animasi saat di-hover */
    color: #047857;
}

.back-link i {
    width: 18px;
    height: 18px;
}