body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

*, *:before, *:after {
    box-sizing: border-box; /* Include padding and border in the element's width and height */
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    text-align: center;
    color: #333;
}

label {
    font-size: 18px;
    display: block;
    margin: 10px 0 5px;
}

input[type="text"], input[type="time"], select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
}

button {
    width: 100%;
    background: #333;
    color: #fff;
    border: none;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background: #555;
}

.result {
    font-size: 18px;
    margin-top: 20px;
    padding: 15px;
    background-color: #e7e7e7;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 20px;
    }

    label, input, button, .result {
        font-size: 16px;
    }
}

.alert {
    padding: 10px;
    margin-top: 20px;
    color: #fff;
    background-color: #f44336;
    opacity: 0;
    transition: opacity 0.5s, visibility 0s linear 0.5s;
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    text-align: center;
    border-radius: 4px;
    visibility: hidden;
}

.alert.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s linear;
}