/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: url('https://wallpapers.com/images/featured/moon-background-mqcx9pq0fg2ma4lp.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #fff;
    overflow: hidden;
}

.container {
    background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
    animation: slideDown 0.8s ease-in-out;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
    animation: slideUp 0.8s ease-in-out;
}

/* Pesan Pengingat */
.reminder {
    color: #ff4d4d; /* Warna merah */
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    display: none; /* Awalnya disembunyikan */
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #ddd;
}

input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 2px solid #444;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: #6a11cb;
    outline: none;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: #6a11cb;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex: 1;
}

button:hover {
    background-color: #4a0d8a;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    animation: fadeIn 2s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    input {
        font-size: 12px;
    }

    button {
        font-size: 12px;
        padding: 8px 16px;
    }

    footer {
        font-size: 12px;
    }
}