:root {
    --primary-color: #2ecc71;
    --dark-color: #2c3e50;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-gradient);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Animasi Fade In */
.login-container {
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    z-index: 2;
}

.login-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-header h2 {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 24px;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.login-header h2 span {
    color: var(--primary-color);
}

.login-header p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 35px;
}

.logo-wrapper {
    background: #f0fff4;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.logo-wrapper img {
    width: 50px;
}

/* Input Styling */
.input-group {
    text-align: left;
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #cbd5e1;
    transition: 0.3s;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.input-wrapper input:focus + i, 
.input-wrapper input:not(:placeholder-shown) + i {
    color: var(--primary-color);
}

/* Button */
.btn-login {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-login:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.login-footer {
    margin-top: 30px;
    font-size: 13px;
    color: #94a3b8;
}

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}