.current-weather {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.current-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.current-temp {
    font-size: 72px;
    font-weight: bold;
    color: #333;
}

.current-icon {
    font-size: 80px;
}

.current-desc {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.current-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-icon {
    font-size: 24px;
}

.detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.detail-label {
    font-size: 12px;
    color: #999;
}

/* Prognoza godzinowa */
.hourly-forecast {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.hourly-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.hourly-scroll {
    overflow-x: auto;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.hourly-scroll::-webkit-scrollbar {
    height: 8px;
}

.hourly-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.hourly-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.hourly-items {
    display: flex;
    gap: 10px;
    min-width: min-content;
}

.hourly-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    min-width: 100px;
    transition: transform 0.2s;
}

.hourly-item:hover {
    background: #e9ecef;
}

.hour-time {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.hour-icon {
    font-size: 32px;
    margin: 10px 0;
}

.hour-icon.night {
    filter: grayscale(1);
}

.hour-temp {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.hour-rain {
    font-size: 12px;
    color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

/* Wykres temperatury */
.temp-chart {
    position: relative;
    height: 270px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.chart-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 1000;
    min-width: 120px;
}

.chart-tooltip.visible {
    opacity: 1;
}

.tooltip-time {
    font-weight: bold;
    font-size: 12px;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin: 4px 0;
}

.tooltip-line {
    width: 12px;
    height: 2px;
}

.tooltip-line.temp {
    background: #e74c3c;
}

.tooltip-line.apparent {
    background: #3498db;
}

/* Zakładki wykresów */
.chart-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 5px;
}

.chart-tabs::-webkit-scrollbar {
    height: 6px;
}

.chart-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chart-tabs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.chart-tab {
    padding: 8px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.chart-tab:hover {
    background: #f8f9fa;
}

.chart-tab.active {
    background: #4f5863;
    color: white;
    border-color: #4f5863;
}

.chart-container {
    display: none;
}

.chart-container.active {
    display: block;
}

.chart-canvas {
    width: 100%;
    height: 100%;
}

.forecast-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
}

.forecast-days {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 5px;
}

.forecast-days::-webkit-scrollbar {
    height: 6px;
}

.forecast-days::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.forecast-days::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.forecast-days::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.forecast-day {
    background: white;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    min-width: 125px;
    flex-shrink: 0;
}

.forecast-day:hover {
    transform: translateY(5px);
}

.forecast-day.active {
    background: #4a90e2;
    color: white;
}

.forecast-day.active .day-name,
.forecast-day.active .day-temp,
.forecast-day.active .day-temp-min,
.forecast-day.active .day-rain {
    color: white;
}

.day-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.day-icon {
    font-size: 36px;
    margin: 10px 0;
}

.day-temp {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.day-temp-min {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.day-rain {
    font-size: 12px;
    color: #4a90e2;
    font-weight: 600;
}

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

a.op {
	font-size: 11px;
	margin-top: 10px;
	float: right;
}
