/* Reset dasar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body dan container utama */
body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #4e73df, #1cc88a);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Judul */
.login-form h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #4e73df;
}

.login-form p {
    text-align: center;
    font-size: 16px;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

/* Group input + label */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Input style */
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #4e73df;
}

/* Label style */
.form-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #4e73df;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0 4px;
}

/* Efek floating label saat fokus atau ada isi */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 12px;
    color: #1cc88a;
}

/* Tombol Login */
.login-form button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(45deg, #4e73df, #1cc88a);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(78, 115, 223, 0.3);
}

.login-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(78, 115, 223, 0.4);
}

.login-form button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(78, 115, 223, 0.2);
}