.meteo-card{
    max-width:420px;
    margin:20px auto;
    padding:20px;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    font-family:system-ui;
}

.meteo-main{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.meteo-temp{
    font-size:36px;
    font-weight:700;
}

.meteo-hum{
    font-size:20px;
    color:#666;
}

canvas{
    width:100%;
    height:200px;
}

.meteo-tabs{
    display:flex;
    gap:8px;
    margin-bottom:10px;
}

.meteo-tabs button{
    border:none;
    padding:6px 10px;
    border-radius:8px;
    background:#eee;
    cursor:pointer;
}

.meteo-tabs button.active{
    background:#333;
    color:#fff;
}

.meteo-chart-box{
    margin-bottom:25px;
    padding:15px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.meteo-chart-box h4{
    margin-bottom:10px;
    font-weight:600;
    font-size:14px;
    color:#444;
}
body{
    background:#f5f7fa;
}

/* HERO */
.meteo-hero{
    max-width:900px;
    margin:20px auto;
    padding:20px;
    background:linear-gradient(135deg,#4facfe,#00f2fe);
    color:#fff;
    border-radius:16px;
    justify-content:space-between;
    align-items:center;
}


.meteo-desc{
	font-size:24px;
	color:#ffffff;
	font-weight:700;
}

/* GRID */
.meteo-grid{
    max-width:900px;
    margin:15px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
}

.meteo-box{
    background:#fff;
    padding:15px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    text-align:center;
}

.meteo-box .label{
    font-size:12px;
    color:#888;
}

.meteo-box .value{
    font-size:20px;
    font-weight:600;
}

/* CHARTS */
.meteo-charts{
    max-width:900px;
    margin:auto;
}

.meteo-chart-box{
    margin-bottom:25px;
    padding:15px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}


.meteo-dashboard{
    max-width:900px;
    margin:20px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
}

.meteo-tile{
    background:#ffffff;
    border-radius:14px;
    padding:14px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,0.06);
    transition:0.2s;
}

.meteo-tile:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,0.08);
}

.meteo-tile .icon{
    font-size:22px;
    margin-bottom:6px;
}

.meteo-tile .value{
    font-size:20px;
    font-weight:600;
}

.meteo-tile .label{
    font-size:12px;
    color:#777;
}

/*/////////////*/

.meteo-dashboard{
    max-width:900px;
    margin:20px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:12px;
}

/* base */
.meteo-tile{
    border-radius:14px;
    padding:16px;
    color:#fff;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    transition:0.2s;
}

.meteo-tile:hover{
    transform:translateY(-3px);
}

/* ikona */
.meteo-tile i{
    font-size:22px;
    margin-bottom:8px;
}

/* value */
.meteo-tile .value{
    font-size:20px;
    font-weight:700;
}

/* label */
.meteo-tile .label{
    font-size:12px;
    opacity:0.9;
	color: #000000;
	font-weight:700;
}

/* ===== KOLORY ===== */

.meteo-tile.temp{
    background:linear-gradient(135deg,#ff7675,#e74c3c);
}

.meteo-tile.hum{
    background:linear-gradient(135deg,#55efc4,#00b894);
}

.meteo-tile.wind{
    background:linear-gradient(135deg,#6ab04c,#27ae60);
}

.meteo-tile.press{
    background:linear-gradient(135deg,#a29bfe,#6c5ce7);
}

.meteo-tile.soil{
    background:linear-gradient(135deg,#ff7675,#e74c3c);
}

/* KLUCZOWE – oba opady TEN SAM kolor */
.meteo-tile.rain{
    background:linear-gradient(135deg,#74b9ff,#0984e3);
}

.meteo-tile.solar{
    background:linear-gradient(135deg,#ffeaa7,#f39c12);
}


.meteo-range-selector{
    display:flex;
    justify-content:center;
    gap:6px;
    margin:20px auto;
    padding:6px;
    background:#f1f3f5;
    border-radius:10px;
    width:max-content;
}

/* przyciski */
.meteo-range-selector button{
    border:none;
    background:transparent;
    padding:8px 16px;
    border-radius:8px;
    font-size:13px;
    font-weight:500;
    color:#555;
    cursor:pointer;
    transition:all 0.2s ease;
}

/* hover */
.meteo-range-selector button:hover{
    background:#e4e6eb;
}

/* aktywny */
.meteo-range-selector button.active{
    background:#ffffff;
    color:#000;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

