/* Umum */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4e73df, #6c7bff);
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

h2 {
    font-weight: 600;
    color: #4e73df;
}

/* Container Login */
.login-container {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.11);
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #333;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #dddddd0a;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="text"] {
    border-color: #4e73df;
    box-shadow: 0 0 5px rgba(78, 115, 223, 0.5);
    outline: none;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #dddddd15;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="text"] {
    border-color: #4e73df;
    box-shadow: 0 0 5px rgba(78, 115, 223, 0.5);
    outline: none;
}

/* Error message */
.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
}

/* Tombol Login */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #eab630, #eab630);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(78, 115, 223, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}


/* Responsif */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }

    input[type="text"], input[type="password"] {
        font-size: 14px;
    }
}
