/* Base styles */
body {
    font-family: Arial, sans-serif;
    background-color: #e0f7fa; /* Light cyan background */
    color: #006064; /* Dark cyan text */
    margin: 0;
    padding: 0;
}

/* Container for the form */
.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff; /* White background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Header styles */
h1 {
    color: #004d40; /* Darker cyan */
    margin-bottom: 20px;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 10px 0 5px;
}

input, select, button {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #004d40; /* Darker cyan border */
    border-radius: 5px;
}

input:focus, select:focus {
    border-color: #00838f; /* Slightly lighter cyan when focused */
    outline: none;
}

button {
    background-color: #004d40; /* Darker cyan */
    color: #ffffff; /* White text */
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #006064; /* Slightly lighter cyan on hover */
}

.instructions {
    margin-top: 30px;
    text-align: left;
}

.instructions h2 {
    color: #004d40; /* Darker cyan */
}

.instructions p, .instructions ol {
    color: #006064; /* Dark cyan text */
}

.instructions ol {
    margin-left: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #e0f7fa; /* Match the page background color */
    margin-top: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #006064; /* Dark cyan text color */
    font-size: 24px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #004d40; /* Darker cyan on hover */
}

/* Popular Stations Section */
.popular-stations-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #b2dfdb;
}

.popular-stations-section h3 {
    color: #004d40;
    margin-bottom: 15px;
    font-size: 1.3em;
}

#loading-message {
    color: #006064;
    font-style: italic;
    padding: 20px;
}

/* Table Styling */
#popular-stations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#popular-stations-table th {
    background-color: #004d40;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

#popular-stations-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0f7fa;
}

#popular-stations-table tbody tr:hover {
    background-color: #e0f7fa;
}

#popular-stations-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

/* Quick Generate Buttons */
.quick-generate-btn {
    background-color: #006064;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.quick-generate-btn:hover {
    background-color: #004d40;
}

.quick-generate-btn:disabled {
    background-color: #b2dfdb;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    #popular-stations-table th,
    #popular-stations-table td {
        padding: 8px 6px;
        font-size: 0.9em;
    }

    .quick-generate-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
}
