body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.red-bar {
    background-color: #dc3545;
    height: 60px;
    width: 100%;
    margin-bottom: 20px;
}

.header {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.2em;
    margin: 15px 0;
    color: #dc3545;
}

.location-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.location {
    color: #666;
    font-size: 1.2em;
    margin: 0;
}

.date {
    font-size: 1.2em;
    margin: 0;
    color: #666;
}

.main-time {
    font-size: 5em;
    font-weight: bold;
    margin: 10px 0 20px 0;
}

.timezone-groups {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.timezone-group {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.timezone-group h2 {
    color: #dc3545;
    font-size: 1.2em;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
}

.time-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-zone {
    padding: 8px 15px;
}

.time {
    font-size: 1.2em;
    transition: opacity 0.2s ease-in-out;
}

.date {
    font-size: 1.8em;
    margin-bottom: 40px;
}

.timezone-groups {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.timezone-group {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.timezone-group h2 {
    color: #dc3545;
    font-size: 1.4em;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.time-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.time-zone {
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
}

.city {
    font-weight: bold;
    margin-bottom: 5px;
}

.time {
    font-size: 1.2em;
}

.blog-link {
    margin-top: 40px;
    text-align: center;
}

.blog-link a {
    color: #dc3545;
    text-decoration: none;
    font-size: 1.1em;
}

.blog-link a:hover {
    text-decoration: underline;
}

.search-container {
    text-align: center;
    margin: 40px 0;
}

.location-input {
    padding: 10px 15px;
    font-size: 1.2em;
    width: 300px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.search-button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

.result-container {
    text-align: center;
    margin: 40px 0;
}

.location-display {
    font-size: 1.4em;
    color: #666;
    margin-bottom: 10px;
}

.time-display {
    font-size: 3em;
    font-weight: bold;
}

.dst-info {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.dst-info h2 {
    color: #dc3545;
    font-size: 1.4em;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.dst-groups {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.dst-group {
    flex: 1;
    min-width: 250px;
}

.dst-group h3 {
    font-size: 1.1em;
    margin: 0 0 10px 0;
    color: #666;
}

.dst-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dst-region {
    font-weight: bold;
}

.dst-date {
    color: #666;
}

.dst-explanation {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
    color: #666;
    font-size: 0.9em;
}

.dst-explanation p {
    margin: 0 0 8px 0;
    font-weight: bold;
}

.dst-explanation ul {
    margin: 0;
    padding-left: 20px;
}

.dst-explanation li {
    margin: 5px 0;
}