/* General styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow:hidden;
}

.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 20px;
    text-align: center;
}

h1 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Input and Button styling */
label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

#hidden-infos{
    display:none;
}

#set-now-btn {
    width: 100%;
    padding: 14px;
    background-color: #b100b8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

#set-now-btn:hover {
    background-color: #740060;
}

#calculate-btn {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

#calculate-btn:hover {
    background-color: #0056b3;
}


#reset-btn {
    width: 100%;
    padding: 14px;
    background-color: #42464b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    display:none;

}

#reset-btn:hover {
    background-color: #0b0f13;
}

#calendar-btn {
    width: 100%;
    padding: 14px;
    background-color: #0a9238;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    display:none;

}

#calendar-btn:hover {
    background-color: #016e06;
}

.results {
    margin-top: 20px;
    text-align: left;
}

p, ul {
    font-size: 16px;
    color: #333;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    font-size: 16px;
    margin: 5px 0;
}

/* Center and bold the relevant times */
p#exit-time {
    font-size: 40px !important;
    font-weight: bold;
    text-align: center;
    color: #007bff;
    margin-bottom:20px;
}

ul li {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* Responsive Design: Mobile First */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 22px;
    }

    input[type="text"], button {
        font-size: 14px;
        padding: 10px;
    }

    p, ul {
        font-size: 14px;
    }

    p#exit-time, ul li {
        font-size: 16px;
    }
}

/* Larger screens (Desktops) */
@media (min-width: 769px) {
    .container {
        max-width: 500px;
    }

    h1 {
        font-size: 28px;
    }

    input[type="text"], button {
        font-size: 18px;
        padding: 15px;
    }

    p, ul {
        font-size: 18px;
    }

    p#exit-time, ul li {
        font-size: 20px;
    }
}

input[type="text"], input[type="date"], input[type="datetime-local"], input[type="time"] {
    border: 1px solid #c3c3c3;
    height: 36px;
    line-height: 36px;
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    background: #fff;
    margin-bottom:20px;
    -webkit-appearance:none;

}