body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: #ffffff;
    margin: 0;
    padding: 0 15px; /* Add some padding for mobile view */
}

.container {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px; /* Adjust the max width for better mobile experience */
}

h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffd700;
}

h2 {
    margin-top: 30px;
    font-size: 2em;
    color: #ffd700;
}

select {
    font-size: 1.2em;
    padding: 5px;
    margin-bottom: 20px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 5px;
    width: 100%; /* Full width for better mobile experience */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.time-box {
    font-size: 1.5em; /* Adjust font size for mobile */
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 100%; /* Full width for better mobile experience */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.alarm-box {
    margin-top: 20px;
    width: 100%; /* Full width for better mobile experience */
}

.alarm-box label {
    font-size: 1.2em;
    display: block; /* Block display for better mobile layout */
    margin-bottom: 5px; /* Add some spacing below the label */
}

.alarm-box input {
    font-size: 1.2em;
    padding: 5px;
    width: 100%; /* Full width for better mobile experience */
    box-sizing: border-box; /* Ensure padding is included in the width */
    margin-bottom: 10px; /* Add some spacing below the input */
}

.alarm-box button {
    font-size: 1.2em;
    padding: 5px 10px;
    width: 100%; /* Full width for better mobile experience */
    border: none;
    border-radius: 5px;
    background-color: #ffd700;
    color: #333333;
}

.alarm-box button:hover {
    background-color: #ffcc00;
}

.debug-log {
    margin-top: 20px;
    padding: 10px;
    width: 100%; /* Full width for better mobile experience */
    max-width: 800px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    font-family: monospace;
    font-size: 1em;
    border-radius: 5px;
    height: 200px;
    overflow-y: scroll;
    text-align: left;
    box-sizing: border-box; /* Ensure padding is included in the width */
}

#digitalClock {
    font-size: 2em;
    color: #ffd700;
    margin-top: 20px;
}

.search-section {
    margin-top: 30px;
    width: 100%; /* Full width for better mobile experience */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.search-section form {
    margin: 10px 0;
}

.search-section input {
    font-size: 1.2em;
    padding: 5px;
    margin-right: 10px;
    width: 100%; /* Full width for better mobile experience */
    border: 2px solid #ffd700;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.search-section button {
    font-size: 1.2em;
    padding: 5px 10px;
    width: 100%; /* Full width for better mobile experience */
    border: none;
    border-radius: 5px;
    background-color: #ffd700;
    color: #333333;
}

.search-section button:hover {
    background-color: #ffcc00;
}

#searchResults iframe {
    margin-top: 20px;
    border: none;
    width: 100%; /* Full width for better mobile experience */
    height: 300px;
}
