/* Reset dan base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: #81C784;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.logo p {
    color: #8899a6;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #81C784;
    background: white;
    box-shadow: 0 0 0 4px rgba(129, 199, 132, 0.1);
}

.form-group input::placeholder {
    color: #8899a6;
    font-size: 14px;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 25px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #657786;
    font-size: 14px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #81C784;
    cursor: pointer;
}

.forgot-password {
    color: #81C784;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #66BB6A;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #81C784;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.login-btn:hover {
    background: #66BB6A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(129, 199, 132, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.register-link {
    text-align: center;
    margin-top: 10px;
    color: #657786;
    font-size: 14px;
}

.register-link a {
    color: #81C784;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #66BB6A;
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    color: #8899a6;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}