.ccc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #1a202c;
}

.ccc-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.ccc-title {
    margin: 0;
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 600;
}

.ccc-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ccc-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.ccc-select {
    padding: 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    background: #fff;
    font-size: 0.95rem;
    color: #2d3748;
    cursor: pointer;
    min-width: 180px;
}

.ccc-select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.ccc-rain-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
}

.ccc-rain-alert.show {
    display: block;
}

.ccc-rain-alert.rain-soon {
    background: #ebf8ff;
    color: #2c5282;
    border-left: 4px solid #3182ce;
}

.ccc-rain-alert.no-rain {
    background: #fffaf0;
    color: #7b341e;
    border-left: 4px solid #ed8936;
}

.ccc-loading {
    text-align: center;
    padding: 30px;
    color: #718096;
    font-size: 0.95rem;
}

.ccc-forecast {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.ccc-day {
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ccc-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ccc-day.rainy {
    background: #ebf8ff;
    border-color: #bee3f8;
}

.ccc-day-date {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ccc-day-day {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
}

.ccc-day-icon {
    font-size: 1.8rem;
    margin: 4px 0;
    line-height: 1;
}

.ccc-day-temps {
    font-size: 0.9rem;
    color: #2d3748;
    margin-top: 6px;
}

.ccc-day-tmax {
    font-weight: 600;
    color: #c53030;
}

.ccc-day-tmin {
    color: #2b6cb0;
}

.ccc-day-precip {
    font-size: 0.75rem;
    color: #3182ce;
    margin-top: 4px;
    font-weight: 500;
}

.ccc-credit {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #a0aec0;
}

.ccc-error {
    background: #fff5f5;
    color: #c53030;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #c53030;
}

@media (max-width: 600px) {
    .ccc-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .ccc-forecast {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .ccc-select {
        min-width: 100%;
    }
}
