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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

header h1 {
    margin-bottom: 10px;
}

main {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.city-selector {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.city-selector select {
    padding: 8px 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.weather-display {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.weather-icon {
    font-size: 5rem;
    margin: 10px 0;
}

.weather-condition h3 {
    font-size: 1.8rem;
    margin: 10px 0;
}

.confidence {
    color: #666;
    margin-bottom: 15px;
}

.weather-details {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.detail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.value {
    font-size: 1.4rem;
    font-weight: 500;
}

.sources-details {
    margin-top: 30px;
}

.sources-details h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
}

.source-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.source-name {
    font-weight: 500;
}

.loading {
    padding: 40px;
    text-align: center;
    color: #666;
}

.error {
    padding: 20px;
    text-align: center;
    color: #e74c3c;
    background-color: #fadbd8;
    border-radius: 4px;
}

footer {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}