/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden; 
    font-family: 'Helvetica', 'Inter', 'Roboto', Arial, sans-serif;
    background: linear-gradient(#0F0F0F, #2f2f2f);
    color: #333;
}

/* Parent container for centering */
#app {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw; 
}

/* Centered Content */
.centered {
    text-align: center;
    background: #4d4d4d; 
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
    width: 95%; 
    max-width: 700px;
    animation: fadeIn 0.5s ease-in-out; 
}

/* Header */
h1 {
    margin-bottom: 50px;
    font-size: 2rem;
    color: #e3e3e3; /* Modern blue accent */
    font-weight: 600;
}

/* Columns Container */
.columns {
    display: flex; 
    justify-content: space-between;
    gap: 24px;
}

/* Individual Column */
.column {
    display: flex;
    flex-direction: column; 
    gap: 16px; 
    flex: 1; 
}

/* Input Section */
.time-input input {
    width: 100%;
    padding: 12px;
    font-size: 1.2rem; 
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
    background-color: #f9fafb; 
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); 
    transition: all 0.3s ease; 
}

.time-input input:focus {
    border-color: #0F0F0F;
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.2);
}

/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
    width: 100%;
}

.dropdown-container input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    margin-bottom: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.dropdown-container input:focus {
    border-color: #FEF183;
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.2); /* Modern focus effect */
}

.dropdown-container ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    padding: 0;
    list-style: none;
    margin: 0;
}

.dropdown-container li {
    padding: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-container li:hover {
    background-color: #f4f8fc; /* Subtle hover effect */
    color: #FFA41C;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .columns {
        flex-direction: column; /* Stack columns vertically on mobile */
        gap: 16px;
    }

    .time-input input {
        font-size: 1.4rem; /* Slightly larger font size for mobile */
        padding: 14px;
    }

    .dropdown-container input {
        font-size: 1.2rem;
    }
}

/* Keyframes for smooth appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}