* {
    box-sizing: border-box;
    margin: 0;
    padding: 12px;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #495057; /* Dark gray text */
    line-height: 1.6;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #007BFF; /* Bright primary color */
}

form {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1em;
    transition: border-color 0.3s;
}

input[type="email"]:focus {
    border-color: #007BFF; /* Change border color on focus */
}

.item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.item:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

h3 {
    margin-bottom: 15px;
    font-size: 1.8em;
    color: #343a40; /* Darker text for item titles */
}

input[type="date"] {
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 220px;
    font-size: 1em;
    transition: border-color 0.3s;
}

input[type="date"]:focus {
    border-color: #007BFF; /* Change border color on focus */
}

button.setReminderBtn {
    color: #00a6ff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px; /* More rounded edges */
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4); /* Shadow for depth */
}

button.setReminderBtn:hover {
    background: linear-gradient(135deg, #0056b3, #004085); /* Darker gradient on hover */
    transform: scale(1.05); /* Slightly grow on hover */
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5); /* Stronger shadow on hover */
}

.countdown {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.5em;
    color: #d9534f; /* Alert color */
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    input[type="email"], input[type="date"], button.setReminderBtn {
        width: 100%;
        max-width: 100%;
    }
}
