*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background: #1a1a1a; color: #eee; }
a { color: #6cf; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Top bar + Nawigacja */
.top-bar {
    background: #2d5016; color: #fff;
    padding: 0; position: sticky; top: 0; z-index: 100;
}
.top-bar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 20px; max-width: 1400px; margin: 0 auto;
}
.top-logo { color: #fff; font-size: 1.2rem; font-weight: bold; text-decoration: none; }
.top-nav { display: flex; gap: 6px; }
.top-nav a {
    color: #cde6c0; padding: 8px 14px; border-radius: 6px;
    font-size: 0.9rem; text-decoration: none; transition: background 0.15s;
}
.top-nav a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.hamburger { display: none; background: none; border: 1px solid #5a5; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 1.2rem; cursor: pointer; }

.page-wrap { display: flex; height: calc(100vh - 52px); }

.panel-left {
    width: 320px; min-width: 320px; background: #222;
    padding: 16px; overflow-y: auto; border-right: 2px solid #333;
}

.date-pick { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.date-pick label { font-weight: bold; font-size: 0.85rem; color: #aaa; }
.date-pick input { padding: 6px 10px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 0.95rem; }

.legenda { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.85rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot.green { background: #28a830; }
.dot.red { background: #dc3530; }
.dot.yellow { background: #c8a020; }

.podsumowanie { font-weight: bold; font-size: 1rem; margin-bottom: 14px; color: #8f8; }

/* Panel top */
.panel-top-btns { margin-bottom: 10px; }
.btn-moje {
    width: 100%; padding: 10px; background: #2a3a4a; border: 1px solid #4a6a8a;
    color: #8ac; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
}
.btn-moje:hover { background: #3a4a5a; color: #adf; }

/* Stats bar */
.stats-bar {
    display: flex; gap: 6px; margin-bottom: 12px;
}
.stat-item {
    flex: 1; background: #2a2a2a; border-radius: 8px; padding: 8px 4px;
    text-align: center; border: 1px solid #333;
}
.stat-val { font-size: 1.4rem; font-weight: bold; color: #8f8; }
.stat-label { font-size: 0.65rem; color: #666; text-transform: uppercase; }

/* Pogoda strona glowna */
.pogoda-home-box {
    background: linear-gradient(135deg, #1a2a3a, #1a2535); border: 1px solid #2a3a4a;
    border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
    min-height: 36px;
}
.pogoda-home-loading { text-align: center; color: #668; font-size: 0.8rem; padding: 4px; }
.pogoda-home-now { display: flex; align-items: center; gap: 10px; }
.pogoda-home-ico { font-size: 1.8rem; line-height: 1; }
.pogoda-home-info { display: flex; align-items: baseline; gap: 8px; flex: 1; }
.pogoda-home-temp { font-size: 1.2rem; font-weight: bold; color: #fff; }
.pogoda-home-wiatr { font-size: 0.72rem; color: #8ab; }
.pogoda-home-dni { display: flex; gap: 4px; margin-top: 8px; }
.pogoda-home-d {
    flex: 1; background: #1e2e3e; border-radius: 6px; padding: 5px 2px;
    text-align: center; font-size: 0.72rem; display: flex; flex-direction: column; gap: 2px;
}
.pogoda-home-dn { color: #6a8; font-weight: bold; font-size: 0.65rem; }
.pogoda-home-mm { color: #aac; font-size: 0.68rem; }

/* Pogoda w formularzu rezerwacji */
.frm-pogoda {
    background: linear-gradient(135deg, #1a2a3a, #1a2535);
    border: 1px solid #2a3a4a; border-radius: 10px;
    padding: 10px 12px; margin: 10px 0;
}
.frm-pogoda-header { font-size: 0.78rem; color: #8ab; font-weight: bold; margin-bottom: 8px; }
.frm-pogoda-dni { display: flex; gap: 5px; flex-wrap: wrap; }
.frm-pogoda-d {
    flex: 1; min-width: 60px; max-width: 90px;
    background: #1e2e3e; border-radius: 8px; padding: 6px 4px;
    text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.frm-pogoda-data { font-size: 0.62rem; color: #6a8; font-weight: bold; }
.frm-pogoda-ico { font-size: 1.3rem; line-height: 1.2; }
.frm-pogoda-temp { font-size: 0.75rem; font-weight: bold; color: #dde; }
.frm-pogoda-deszcz { font-size: 0.6rem; color: #68a; }
.frm-pogoda-hint { font-size: 0.65rem; color: #556; margin-top: 6px; text-align: center; }

/* Potwierdzenie */
.potw-modal { text-align: center; }
.potw-header { font-size: 1.3rem; font-weight: bold; color: #5f5; margin-bottom: 10px; }
.potw-kod {
    background: #1a3a1a; border: 2px dashed #4c4; border-radius: 8px;
    padding: 10px; font-size: 1.2rem; color: #8f8; margin-bottom: 12px;
    letter-spacing: 2px;
}
.potw-details { text-align: left; background: #252525; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.potw-row { padding: 4px 0; font-size: 0.9rem; color: #ccc; border-bottom: 1px solid #333; }
.potw-row:last-child { border-bottom: none; }
.potw-cena { color: #8f8; font-size: 1rem; }
.potw-hint { font-size: 0.78rem; color: #777; margin-bottom: 10px; font-style: italic; }

/* Moje rezerwacje */
.moje-modal { max-height: 80vh; overflow-y: auto; }
.moje-lista { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow-y: auto; }
.moje-karta {
    background: #252525; border: 1px solid #444; border-radius: 8px;
    padding: 10px; font-size: 0.85rem; color: #ccc;
}
.moje-karta.nieaktywna { opacity: 0.4; }
.moje-kod { font-weight: bold; color: #8f8; font-size: 0.9rem; margin-bottom: 4px; letter-spacing: 1px; }

.info-box { background: #2a2a2a; border-radius: 8px; padding: 12px; }
.info-box h4 { margin-bottom: 8px; color: #fff; }
.info-box h5 { margin-top: 12px; margin-bottom: 4px; color: #aaa; font-size: 0.85rem; }
.status-zajete { color: #f55; font-weight: bold; }
.status-wolne { color: #5f5; font-weight: bold; }
.status-czesciowe { color: #e0c040; font-weight: bold; }
.rez-item { font-size: 0.82rem; color: #bbb; margin: 2px 0; }
.hint { color: #777; margin-top: 20px; }

/* Mini kalendarz */
.mini-kal {
    margin-top: 14px; background: #1e1e1e; border: 1px solid #444;
    border-radius: 8px; padding: 10px; min-width: 280px;
}
.mini-kal-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.mini-kal-title { font-weight: bold; font-size: 0.9rem; color: #ddd; text-transform: capitalize; }
.mini-kal-btn {
    background: #333; border: 1px solid #555; color: #ccc; border-radius: 4px;
    width: 30px; height: 30px; cursor: pointer; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
}
.mini-kal-btn:hover { background: #444; color: #fff; }
.mini-kal-header {
    display: grid; grid-template-columns: repeat(7, 1fr);
    text-align: center; font-size: 0.72rem; color: #888; font-weight: bold;
    padding-bottom: 6px; border-bottom: 1px solid #333; margin-bottom: 4px;
}
.mini-kal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.mini-kal-day {
    width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; border-radius: 5px; color: #555; background: #252525;
    font-weight: bold; cursor: pointer; transition: transform 0.1s, background 0.1s;
}
.mini-kal-day.empty { background: transparent; cursor: default; }
.mini-kal-day.kal-wolne { background: #173d17; color: #4cdf4c; }
.mini-kal-day.kal-pelne { background: #3d1717; color: #f06060; cursor: not-allowed; }
.mini-kal-day.kal-dzien { background: #3d3517; color: #e0c040; position: relative; }
.mini-kal-day.kal-nocka { background: #172a3d; color: #60a0f0; position: relative; }
.mini-kal-day:hover:not(.empty):not(.past) { transform: scale(1.15); z-index: 1; }
.mini-kal-day.kal-wolne:hover:not(.past) { background: #1f5a1f; color: #6f6; }
.mini-kal-day.kal-pelne:hover { background: #5a1f1f; }
.mini-kal-day.kal-dzien:hover:not(.past) { background: #5a4a1f; }
.mini-kal-day.kal-nocka:hover:not(.past) { background: #1f3a5a; }
.kal-icon { font-size: 0.5rem; position: absolute; bottom: 1px; right: 2px; }
.mini-kal-day.past { opacity: 0.3; cursor: not-allowed; }
.mini-kal-day.today { box-shadow: inset 0 0 0 2px #ff0; }
.mini-kal-day.picked { box-shadow: inset 0 0 0 2px #0af; }
.mini-kal-day.today.picked { box-shadow: inset 0 0 0 2px #ff0, 0 0 0 2px #0af; }
.mini-kal-legend {
    display: flex; gap: 14px; margin-top: 8px; font-size: 0.72rem; color: #888;
    justify-content: center;
}
.mini-kal-leg-item { display: flex; align-items: center; gap: 4px; }
.mini-kal-leg-item .dot { width: 10px; height: 10px; }
.mini-kal-hint { text-align: center; font-size: 0.7rem; color: #555; margin-top: 6px; font-style: italic; }

/* Mapa */
.mapa-scroll {
    flex: 1; overflow: auto; background: #111;
}
.mapa-wrap {
    position: relative; width: 100%;
}
.mapa-wrap .mapa-img {
    display: block; width: 100%; height: auto;
}
.spot {
    position: absolute; width: 30px; height: 30px; border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: bold; color: #fff;
    cursor: pointer; border: 2px solid rgba(255,255,255,0.7);
    transition: transform 0.15s, box-shadow 0.15s;
    z-index: 2;
}
.spot.spot-wolne { background: rgba(40, 168, 48, 0.9); }
.spot.spot-pelne { background: rgba(220, 53, 48, 0.9); }
.spot.spot-dzien { background: rgba(200, 160, 32, 0.9); }
.spot.spot-nocka { background: rgba(80, 120, 200, 0.9); }
.spot:hover { transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 12px rgba(255,255,255,0.4); z-index: 3; }
.spot.selected { box-shadow: 0 0 0 4px #ff0, 0 0 16px #ff0; z-index: 4; }

/* Modal */
.modal-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center; z-index: 100;
}
.modal {
    background: #2a2a2a; border-radius: 12px; padding: 24px; width: 380px;
    display: flex; flex-direction: column; gap: 10px;
}
.modal h3 { color: #8f8; margin-bottom: 4px; }
.modal label { font-size: 0.85rem; color: #aaa; }
.modal input { padding: 8px 12px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 1rem; }
.modal-btns { display: flex; gap: 10px; margin-top: 8px; }

.btn-rezerwuj {
    padding: 10px 24px; background: #28a830; color: #fff; border: none;
    border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer;
}
.btn-rezerwuj:hover { background: #32c23a; }
.btn-cancel {
    padding: 10px 24px; background: #555; color: #fff; border: none;
    border-radius: 8px; cursor: pointer;
}
.form-row { display: flex; gap: 10px; }
.form-col { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.form-col input, .form-col select { width: 100%; padding: 8px 12px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 1rem; }
.toggle-label { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 0; }
.toggle-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #28a830; }
.cena-box {
    background: #1a3a1a; border: 1px solid #2a5; border-radius: 8px;
    padding: 10px 14px; font-size: 1.1rem; color: #8f8; text-align: center;
}
.cena-szczegoly { font-size: 0.72rem; color: #6a6; margin-top: 4px; }
.cena-szczegoly span { margin-left: 4px; }
.typ-btns { display: flex; gap: 6px; margin-bottom: 8px; }
.typ-btn {
    flex: 1; padding: 10px; border: 2px solid #444; background: #2a2a2a;
    color: #aaa; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
    text-align: center; transition: all 0.15s;
}
.typ-btn:hover { border-color: #666; color: #fff; }
.typ-btn.active { border-color: #28a830; color: #5f5; background: #1a3a1a; }
.settings-input { padding: 8px 12px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 1rem; width: 80px; }
.input-zl { display: flex; align-items: center; gap: 6px; }
.input-zl input { flex: 1; padding: 8px 12px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 1rem; width: 100px; }
.input-zl span { color: #aaa; font-weight: bold; }
.kal-cena { color: #8f8; font-weight: bold; }

/* Settings */
.settings-panel { max-width: 500px; }
.settings-panel h3 { margin-bottom: 16px; color: #fff; }
.settings-group { margin-bottom: 14px; }
.settings-group label { display: block; color: #aaa; font-size: 0.85rem; margin-bottom: 4px; font-weight: bold; }
.settings-group input { padding: 8px 12px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 1rem; }
.settings-btns { display: flex; gap: 12px; align-items: center; }

/* Admin */
.login-box {
    max-width: 360px; margin: 80px auto; background: #222; padding: 30px;
    border-radius: 12px; display: flex; flex-direction: column; gap: 10px;
}
.login-box h2 { text-align: center; margin-bottom: 10px; }
.login-box input { padding: 10px; border-radius: 6px; border: 1px solid #555; background: #333; color: #fff; font-size: 1rem; }
.error { color: #f55; font-size: 0.9rem; }

.admin-panel { padding: 20px; max-width: 1100px; margin: 0 auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.rez-table { width: 100%; border-collapse: collapse; }
.rez-table th, .rez-table td { padding: 10px 14px; border-bottom: 1px solid #333; text-align: left; }
.rez-table th { background: #2a2a2a; color: #aaa; font-size: 0.85rem; }
.rez-table tr:hover { background: #2a2a2a; }
.rez-table .row-expired td { opacity: 0.5; }
.btn-del { background: #c33; color: #fff; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.85rem; }
.btn-del:hover { background: #e44; }

/* Admin filters */
.admin-filters {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
    margin-bottom: 16px; padding: 12px; background: #252525; border-radius: 8px;
}
.filter-group { display: flex; align-items: center; gap: 6px; }
.filter-group label { color: #aaa; font-size: 0.85rem; font-weight: bold; }
.filter-btn {
    padding: 6px 14px; background: #333; color: #aaa; border: 1px solid #555;
    border-radius: 5px; cursor: pointer; font-size: 0.8rem;
}
.filter-btn.active { background: #2d5016; color: #fff; border-color: #5a5; }
.filter-input {
    padding: 6px 10px; background: #333; color: #fff; border: 1px solid #555;
    border-radius: 6px; font-size: 0.9rem; width: 180px;
}
.admin-stats { margin-left: auto; color: #8f8; font-size: 0.9rem; }

/* Station cards */
.stan-card {
    background: #252525; border-radius: 8px; margin-bottom: 10px;
    border: 1px solid #333; overflow: hidden;
}
.stan-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px; background: #2a2a2a;
}
.stan-nr { font-weight: bold; color: #fff; font-size: 0.95rem; }
.stan-count { font-size: 0.8rem; color: #777; }
.stan-count.has-rez { color: #f90; font-weight: bold; }
.stan-rezerwacje { padding: 4px 0; }
.rez-row {
    display: flex; align-items: center; gap: 16px; padding: 8px 16px;
    border-top: 1px solid #333;
}
.rez-row.expired { opacity: 0.45; }
.rez-dates { font-size: 0.85rem; color: #ccc; min-width: 240px; }
.rez-details { display: flex; gap: 16px; flex: 1; font-size: 0.9rem; }
.badge-expired {
    font-size: 0.7rem; background: #553; color: #aa8; padding: 1px 6px;
    border-radius: 4px; margin-left: 6px;
}

/* Admin tabs */
.admin-header-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tab-btn {
    padding: 8px 18px; background: #333; color: #aaa; border: 1px solid #555;
    border-radius: 6px; cursor: pointer; font-size: 0.9rem; font-weight: bold;
}
.tab-btn.active { background: #2d5016; color: #fff; border-color: #5a5; }
.tab-btn:hover { background: #444; }

/* Kalendarz admin */
.kal-controls {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
    margin-bottom: 16px; padding: 12px; background: #252525; border-radius: 8px;
}
.kal-controls input[type="date"] {
    padding: 6px 10px; background: #333; color: #fff; border: 1px solid #555;
    border-radius: 6px; font-size: 0.9rem;
}
.kal-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.kal-card {
    border-radius: 8px; padding: 12px; border: 2px solid #444;
    background: #252525;
}
.kal-card.kal-zajete { border-color: #c33; background: #2a1a1a; }
.kal-card.kal-wolne { border-color: #2a2; background: #1a2a1a; }
.kal-card.kal-czesciowe { border-color: #c8a020; background: #2a2a1a; }
.kal-card-badge.partial { background: #c8a020; color: #000; }
.kal-card-nr { font-weight: bold; font-size: 1rem; color: #fff; }
.kal-card-status { font-weight: bold; font-size: 0.9rem; margin-bottom: 4px; }
.kal-card-status.free { color: #5f5; }
.kal-card-detail { font-size: 0.82rem; color: #bbb; margin: 2px 0; }
.kal-card-top {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;
}
.kal-card-badge { font-weight: bold; font-size: 0.8rem; color: #f55; }
.kal-card-badge.free { color: #5f5; }
.kal-card-rez-list { border-top: 1px solid #333; margin-top: 8px; padding-top: 6px; }
.kal-rez-item {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem; color: #888; padding: 3px 0;
}
.kal-rez-item.active { color: #ff0; font-weight: bold; }
.kal-rez-item.expired { opacity: 0.4; }
.btn-del-sm {
    background: #c33; color: #fff; border: none; padding: 2px 6px;
    border-radius: 4px; cursor: pointer; font-size: 0.7rem;
}
.btn-del-sm:hover { background: #e44; }

/* Statystyki */
.stats-panel { max-width: 900px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px; margin-bottom: 10px;
}
.stat-box {
    background: #252525; border: 1px solid #444; border-radius: 10px;
    padding: 16px; text-align: center;
}
.stat-value { font-size: 2rem; font-weight: bold; color: #8f8; }
.stat-label { font-size: 0.8rem; color: #888; margin-top: 4px; }
.stats-ranking { margin-top: 10px; }
.rank-row { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.rank-label { min-width: 55px; font-weight: bold; color: #ccc; font-size: 0.9rem; }
.rank-bar-bg { flex: 1; height: 18px; background: #333; border-radius: 9px; overflow: hidden; }
.rank-bar { height: 100%; background: linear-gradient(90deg, #2d5016, #5a5); border-radius: 9px; transition: width 0.3s; }
.rank-count { min-width: 50px; text-align: right; font-size: 0.8rem; color: #aaa; }

/* Map editor */
.editor-info { margin-bottom: 12px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.editor-info p { color: #aaa; }
.saved-msg { color: #5f5; font-weight: bold; }

.mapa-editor {
    position: relative; width: 100%; max-width: 900px;
    aspect-ratio: auto; overflow: hidden;
    border: 3px solid orange; border-radius: 8px; cursor: crosshair;
    user-select: none;
}
.mapa-editor .mapa-img { width: 100%; height: auto; display: block; pointer-events: none; }
.editor-spot { background: rgba(50, 130, 220, 0.9) !important; cursor: grab; }
.editor-spot.dragging { background: rgba(255, 165, 0, 0.95) !important; cursor: grabbing; transform: translate(-50%, -50%) scale(1.3); z-index: 10; }

/* ====== CENNIK ====== */
.page-cennik { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
.page-cennik h2 { text-align: center; margin-bottom: 6px; }
.cennik-podtytul { text-align: center; color: #888; margin-bottom: 24px; }
.cennik-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 30px; }
.cennik-karta {
    background: #252525; border: 2px solid #333; border-radius: 12px;
    padding: 20px; text-align: center; transition: transform 0.15s;
}
.cennik-karta:hover { transform: translateY(-4px); }
.cennik-dzien { border-color: #4a4; }
.cennik-noc { border-color: #46a; }
.cennik-doba { border-color: #a84; }
.cennik-ikona { font-size: 2.5rem; margin-bottom: 8px; }
.cennik-nazwa { font-size: 1.2rem; font-weight: bold; color: #fff; }
.cennik-opis { font-size: 0.8rem; color: #888; margin: 4px 0 12px; }
.cennik-cena { font-size: 2rem; font-weight: bold; color: #8f8; }
.cennik-za { font-size: 0.75rem; color: #666; }
.cennik-sekcja { color: #aaa; margin: 10px 0 12px; }
.cennik-lista { background: #252525; border-radius: 10px; overflow: hidden; }
.cennik-pozycja {
    display: flex; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid #333; font-size: 0.95rem;
}
.cennik-pozycja:last-child { border-bottom: none; }
.cennik-wartosc { font-weight: bold; color: #8f8; }
.cennik-info { margin-top: 20px; padding: 12px; background: #1a2a1a; border-radius: 8px; font-size: 0.85rem; color: #6a6; }

/* ====== REGULAMIN ====== */
.page-regulamin { max-width: 800px; margin: 0 auto; padding: 30px 20px; }
.page-regulamin h2 { text-align: center; margin-bottom: 20px; }
.regulamin-tresc { background: #252525; border-radius: 12px; padding: 20px; }
.regulamin-punkt {
    padding: 10px 14px; border-bottom: 1px solid #333;
    font-size: 0.95rem; line-height: 1.5;
}
.regulamin-punkt:last-child { border-bottom: none; }
.regulamin-punkt:hover { background: #2a2a2a; }
.regulamin-check { margin: 10px 0; padding: 10px; background: #2a2a2a; border-radius: 8px; }
.regulamin-check a { color: #6cf; }

/* ====== GALERIA ====== */
.page-galeria { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.page-galeria h2 { text-align: center; margin-bottom: 4px; }
.galeria-podtytul { text-align: center; color: #888; margin-bottom: 24px; }
.galeria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.galeria-item {
    border-radius: 12px; overflow: hidden; cursor: pointer;
    background: #252525; transition: transform 0.15s;
}
.galeria-item:hover { transform: scale(1.03); }
.galeria-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.galeria-opis { padding: 10px; font-size: 0.85rem; color: #aaa; }
.galeria-lightbox {
    max-width: 90vw; max-height: 90vh; text-align: center;
}
.galeria-lightbox img { max-width: 90vw; max-height: 75vh; border-radius: 12px; object-fit: contain; }
.galeria-lightbox-opis { color: #ccc; margin: 10px 0; font-size: 1rem; }

/* ====== KONTAKT ====== */
.page-kontakt { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.page-kontakt h2 { text-align: center; margin-bottom: 24px; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kontakt-info { background: #252525; border-radius: 12px; padding: 20px; }
.kontakt-info h3 { color: #8f8; margin-bottom: 12px; }
.kontakt-info p { color: #aaa; line-height: 1.6; margin: 4px 0; font-size: 0.9rem; }
.kontakt-row { padding: 6px 0; font-size: 0.95rem; border-bottom: 1px solid #333; }
.kontakt-row a { color: #6cf; }
.kontakt-mapa { border-radius: 12px; overflow: hidden; min-height: 400px; }

/* ====== POGODA ====== */
.pogoda-box { margin-top: 8px; }
.pogoda-dni { display: flex; gap: 8px; flex-wrap: wrap; }
.pogoda-dzien {
    flex: 1; min-width: 70px; background: #1a2a3a; border-radius: 8px;
    padding: 8px; text-align: center; font-size: 0.8rem;
}
.pogoda-dn { color: #8ac; font-weight: bold; font-size: 0.72rem; }
.pogoda-ico { font-size: 1.5rem; margin: 4px 0; }
.pogoda-temp { color: #fff; font-weight: bold; }
.pogoda-deszcz { color: #68a; font-size: 0.7rem; }

/* ====== DASHBOARD ADMIN ====== */
.dashboard { padding: 10px; }
.dashboard h3 { margin-bottom: 16px; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.dash-card {
    background: #252525; border: 1px solid #444; border-radius: 10px;
    padding: 16px; text-align: center;
}
.dash-val { font-size: 1.8rem; font-weight: bold; color: #8f8; }
.dash-label { font-size: 0.75rem; color: #888; text-transform: uppercase; margin-top: 4px; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-panel { background: #252525; border-radius: 10px; padding: 16px; border: 1px solid #333; }
.dash-panel h4 { margin-bottom: 12px; color: #aaa; }
.dash-chart { display: flex; flex-direction: column; gap: 6px; }
.dash-bar-wrap { display: flex; align-items: center; gap: 8px; }
.dash-bar-label { width: 50px; font-size: 0.78rem; color: #888; text-align: right; }
.dash-bar-bg { flex: 1; background: #333; border-radius: 4px; height: 20px; overflow: hidden; }
.dash-bar-fill { height: 100%; background: linear-gradient(90deg, #2a6a2a, #4cdf4c); border-radius: 4px; transition: width 0.3s; min-width: 2px; }
.dash-bar-fill.pop { background: linear-gradient(90deg, #2a4a6a, #4ca0f0); }
.dash-bar-val { width: 50px; font-size: 0.78rem; color: #aaa; }

/* ====== DRUK ====== */
@media print {
    body { background: #fff !important; color: #000 !important; }
    .top-bar, .page-wrap, .modal-bg, .modal-btns, .potw-hint { display: none !important; }
    .potw-modal {
        display: block !important; position: static !important;
        background: #fff !important; color: #000 !important;
        border: 2px solid #000; padding: 20px; max-width: 100%;
    }
    .potw-header { color: #000 !important; }
    .potw-kod { background: #eee !important; color: #000 !important; border-color: #000 !important; }
    .potw-details { background: #f5f5f5 !important; }
    .potw-row { color: #000 !important; border-color: #ccc !important; }
}

/* ====== RESPONSYWNOŚĆ ====== */
@media (max-width: 768px) {
    .top-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #2d5016; padding: 10px; z-index: 99; }
    .top-bar.open .top-nav { display: flex; }
    .hamburger { display: block; }

    .page-wrap { flex-direction: column; height: auto; }
    .panel-left { width: 100% !important; min-width: 0 !important; max-height: 40vh; border-right: none; border-bottom: 2px solid #333; }
    .mapa-scroll { height: 60vh; }

    .kontakt-grid { grid-template-columns: 1fr; }
    .dash-row { grid-template-columns: 1fr; }
    .cennik-grid { grid-template-columns: 1fr; }
    .galeria-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

    .modal { width: 95vw !important; max-height: 90vh; overflow-y: auto; }

    .admin-header-btns { flex-wrap: wrap; }
    .tab-btn { font-size: 0.75rem; padding: 6px 10px; }
}

/* ====== ADMIN REGULAMIN ====== */
.admin-regulamin { padding: 10px; }
.regulamin-textarea {
    width: 100%; min-height: 400px; background: #1e1e1e; color: #ddd;
    border: 1px solid #444; border-radius: 8px; padding: 14px;
    font-family: 'Segoe UI', sans-serif; font-size: 0.9rem; line-height: 1.6;
    resize: vertical;
}
.regulamin-textarea:focus { outline: none; border-color: #5a5; }

/* ====== ADMIN GALERIA ====== */
.admin-galeria { padding: 10px; }
.gal-dodaj {
    background: #252525; border-radius: 10px; padding: 16px;
    margin-bottom: 16px; border: 1px solid #333;
}
.gal-dodaj h4 { margin-bottom: 10px; color: #aaa; }
.gal-lista { display: flex; flex-direction: column; gap: 10px; }
.gal-karta {
    display: flex; align-items: center; gap: 12px;
    background: #252525; border: 1px solid #333; border-radius: 10px;
    padding: 10px; overflow: hidden;
}
.gal-karta img {
    width: 100px; height: 70px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.gal-karta-info { flex: 1; min-width: 0; }
.gal-karta-opis { font-weight: bold; color: #ddd; font-size: 0.9rem; }
.gal-karta-url { font-size: 0.72rem; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gal-usun, .gal-edytuj { flex-shrink: 0; padding: 6px 10px !important; font-size: 0.85rem; }
