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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f2f4f6;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.banda-sigla {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    border-bottom: 4px solid #1f6fc4;
}
.banda-sigla img { height: 70px; width: auto; }
.banda-sigla .titlu { margin-left: auto; text-align: right; }
.banda-sigla h1 { font-size: 26px; font-weight: 800; color: #005a8a; letter-spacing: 0.3px; }
.banda-sigla p { font-size: 14px; color: #555; margin-top: 2px; }

.continut { flex: 1; max-width: 1150px; width: 100%; margin: 0 auto; padding: 20px 16px; }

.eroare {
    background: #fff4e5; border: 1px solid #f0b35b; color: #7a4a00;
    padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px;
}

.zile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 18px;
    border-top: 6px solid #9aa5b1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.card.sec { border-top-color: #f2b705; }
.card.mic { border-top-color: #7fb3e0; }
.card.pos { border-top-color: #2575fc; }
.card.pl  { border-top-color: #1f4e8c; }
.card.nz  { border-top-color: #7b5cc4; }

.card-cap { display: flex; justify-content: space-between; align-items: flex-start; }
.eticheta { font-size: 22px; font-weight: 800; color: #1f4e8c; }
.data { font-size: 14px; color: #666; }
.temp { font-size: 15px; }
.tmax { font-weight: 700; color: #c0392b; font-size: 20px; }
.tmin { color: #1f6fc4; font-weight: 600; }

.banner {
    position: relative;
    margin: 0 -18px;
    overflow: hidden;
}
.banner img { display: block; width: 100%; height: auto; }
.banner-txt {
    padding: 10px 14px;
    font-weight: 800; line-height: 1.25; text-align: center;
    color: #fff; font-size: 17px;
    background: #4b5662;
}
.b-asfalt .banner-txt { background: #2a9d5c; }
.b-nor .banner-txt { background: #5f7f9c; }
.b-zapada .banner-txt {
    position: absolute; left: 0; right: 0; top: 0;
    background: rgba(255,255,255,0.85);
    color: #d10000; font-size: 26px; letter-spacing: 0.5px;
    text-shadow: none;
    animation: clipeste 1.2s ease-in-out infinite;
}
@keyframes clipeste { 50% { color: #ff4d4d; } }

.verdict { display: flex; align-items: center; gap: 12px; }
.icon { font-size: 46px; line-height: 1; }
.verdict-txt { font-size: 20px; font-weight: 700; }
.nota { font-size: 12px; color: #888; }

.prob-num { font-size: 34px; font-weight: 800; color: #1f4e8c; line-height: 1; }
.card.nz .prob-num { color: #5a3fa0; }
.prob-bara { height: 10px; background: #e6ebf0; border-radius: 5px; overflow: hidden; margin: 8px 0 4px; }
.prob-bara div { height: 100%; background: linear-gradient(90deg, #4fa3e8, #1f4e8c); border-radius: 5px; }
.card.nz .prob-bara div { background: linear-gradient(90deg, #a68be0, #5a3fa0); }
.prob-et { font-size: 12px; color: #777; }

.detalii { list-style: none; font-size: 14px; border-top: 1px solid #eef1f4; }
.detalii li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eef1f4; }
.detalii span { color: #666; }
.detalii b { text-align: right; }
.inc-r { color: #2a9d5c; }
.inc-m { color: #d68910; }
.inc-s { color: #c0392b; }

.ore-titlu { font-size: 12px; color: #777; text-transform: uppercase; letter-spacing: 0.5px; }
.ore {
    display: flex; gap: 4px;
    background: #f6f8fa; border-radius: 8px; padding: 6px 6px 4px;
    margin-top: -8px;
}
.ora { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.ora-p { font-size: 10px; color: #666; height: 14px; }
.ora-col { width: 100%; height: 60px; display: flex; align-items: flex-end; }
.ora .bar { width: 100%; background: #9cc4f5; border-radius: 3px 3px 0 0; }
.ora .bar.sigur { background: #2575fc; }
.ora .bar.zap { background: #7b5cc4; }
.ora-h { font-size: 12px; font-weight: 700; color: #1f4e8c; margin-top: 3px; }
.ora.trecut { opacity: 0.25; }

.mesaj-ore {
    font-size: 17px; font-weight: 700; line-height: 1.35;
    padding: 10px 12px; border-radius: 10px;
    background: #f0f4f8; color: #333; border-left: 5px solid #9aa5b1;
}
.mesaj-ore.sec { background: #fff8e1; border-left-color: #f2b705; }
.mesaj-ore.mic { background: #eef5fc; border-left-color: #7fb3e0; }
.mesaj-ore.pos { background: #e8f0fe; border-left-color: #2575fc; color: #1f4e8c; }
.mesaj-ore.pl  { background: #e3ebf6; border-left-color: #1f4e8c; color: #1f4e8c; }
.mesaj-ore.nz  { background: #f1ecfb; border-left-color: #7b5cc4; color: #5a3fa0; }
.card.incheiat { border-top-color: #c8ced4; }

details { font-size: 14px; }
summary { cursor: pointer; color: #1f4e8c; font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
th, td { text-align: left; padding: 5px 4px; border-bottom: 1px solid #eef1f4; }
th { color: #777; font-weight: 600; }
td:nth-child(2), td:nth-child(3), th:nth-child(2), th:nth-child(3) { text-align: right; }
tr.ud td { color: #1f4e8c; font-weight: 600; }

.subsol { margin-top: 22px; font-size: 12px; color: #777; text-align: center; line-height: 1.6; }
.subsol a { color: #1f4e8c; }

.banda-jos {
    background: #005a8a; color: #fff; text-align: center;
    font-weight: 700; letter-spacing: 1px; padding: 10px; font-size: 14px;
}

@media (max-width: 900px) {
    .zile { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .banda-sigla { padding: 8px 16px; gap: 10px; }
    .banda-sigla img { height: 52px; }
    .banda-sigla h1 { font-size: 20px; }
    .banda-sigla p { font-size: 12px; }
    .continut { padding: 14px 12px; }
}
