/* style.css - Hlavný štýl pre kalendar.skladan.sk */
/* MOBILE-FIRST prístup - optimalizované pre všetky zariadenia */

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

:root {
    --brand: #e7260f;
    --brand-hover: #c21e0b;
    --brand-light: #fef0ed;
    --text-dark: #1a1a1a;
    --text-gray: #555;
    --text-light: #888;
    --bg-white: #ffffff;
    --bg-light: #f4f5f7;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: 0.3s ease;
    --header-height: 60px;
    --touch-target: 44px;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* ===== HLAVIČKA ===== */
.header {
    background: var(--bg-dark);
    color: #fff;
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    min-height: var(--header-height);
}

.header .logo {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header .logo i {
    color: var(--brand);
    font-size: 1.2rem;
}

.header .logo a {
    color: #fff;
    transition: var(--transition);
    white-space: nowrap;
}

.header .logo a span {
    color: var(--brand);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.header-nav a {
    color: #ccc;
    transition: var(--transition);
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav a i {
    font-size: 0.9rem;
}

.header-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.header-nav a.btn-nav {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    padding: 6px 14px;
}

.header-nav a.btn-nav:hover {
    background: var(--brand-hover);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    color: #fff;
    padding: 30px 4% 25px;
    text-align: center;
    border-bottom: 4px solid var(--brand);
}

.hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--brand);
}

.hero p {
    font-size: 0.95rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.hero .subtitle {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    line-height: 1.6;
}

/* ===== HLAVNÝ KONTENT ===== */
.main-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 3% 60px;
}

/* ===== FILTER ===== */
.filter-bar {
    background: var(--bg-white);
    padding: 14px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.filter-bar label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-bar select {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--bg-white);
    transition: var(--transition);
    min-width: 140px;
    min-height: var(--touch-target);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-bar select:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 38, 15, 0.15);
}

.filter-bar .stats {
    margin-left: auto;
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    flex-wrap: wrap;
}

.filter-bar .stats span {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.filter-bar .stats span i {
    font-size: 0.7rem;
}

.filter-bar .stats .volne {
    color: #2e7d32;
    background: #e8f5e9;
}

.filter-bar .stats .obsadene {
    color: #c62828;
    background: #ffebee;
}

.filter-bar .stats .rezervovane {
    color: #e65100;
    background: #fff3e0;
}

/* ===== KALENDÁR ===== */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    background: var(--bg-white);
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    padding: 8px 2px;
    background: var(--bg-dark);
    color: #fff;
    border-radius: 6px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.calendar-day {
    min-height: 60px;
    padding: 4px 3px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: #fafafa;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.calendar-day:active {
    transform: scale(0.97);
}

.calendar-day.empty {
    background: #f0f0f0;
    border: 2px dashed #ddd;
    cursor: default;
}

.calendar-day.empty:active {
    transform: none;
}

.calendar-day.volny {
    border-color: #4caf50;
    background: #f1f8e9;
}

.calendar-day.volny:active {
    background: #c8e6c9;
}

.calendar-day.obsadeny,
.calendar-day.rezervovany {
    cursor: not-allowed;
    opacity: 0.7;
}

.calendar-day.obsadeny:active,
.calendar-day.rezervovany:active {
    transform: none;
}

.calendar-day.obsadeny {
    border-color: #f44336;
    background: #ffebee;
}

.calendar-day.rezervovany {
    border-color: #ff9800;
    background: #fff3e0;
}

.day-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.day-status {
    font-size: 0.45rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    padding: 1px 5px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1px;
    white-space: nowrap;
}

.day-status.volny {
    background: #4caf50;
    color: #fff;
}

.day-status.obsadeny {
    background: #f44336;
    color: #fff;
}

.day-status.rezervovany {
    background: #ff9800;
    color: #fff;
}

.day-detail {
    font-size: 0.5rem;
    color: var(--text-gray);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: none;
}

.day-locked {
    font-size: 0.45rem;
    color: #c62828;
    font-weight: 700;
    margin-top: 1px;
    display: block;
    line-height: 1.1;
}

.calendar-day.rezervovany .day-locked {
    color: #e65100;
}

/* ===== REFRESH INDICATOR ===== */
.refresh-indicator-container {
    text-align: center;
    margin-top: 12px;
}

.refresh-indicator {
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-light);
    padding: 6px 14px;
    opacity: 0.8;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: inline-block;
    width: auto;
}

.refresh-indicator i {
    animation: spin 2s linear infinite;
    margin-right: 4px;
}

.refresh-indicator .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 4px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== MODÁL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding: 12px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-white);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    padding: 24px 20px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.25s ease;
    margin: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    float: right;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
    padding: 4px 8px;
    min-height: var(--touch-target);
    min-width: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--brand);
    transform: rotate(90deg);
}

.modal h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--text-dark);
    padding-right: 40px;
}

.modal .modal-sub {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.modal .datum-info {
    background: var(--bg-light);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    border-left: 4px solid var(--brand);
    font-size: 0.8rem;
}

.modal .datum-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal .datum-info .live-check {
    color: #4caf50;
}

.modal .datum-info .live-check i {
    margin-right: 3px;
}

/* ===== FORMULÁR ===== */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--brand);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-white);
    min-height: var(--touch-target);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 38, 15, 0.12);
}

.form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.form-group .help-text {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 3px;
}

/* ===== CENNÍK ===== */
.price-calculator {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 12px 0 16px;
    border: 1px solid var(--border-color);
}

.price-calculator .price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 2px;
}

.price-calculator .price-row:last-child {
    border-bottom: none;
}

.price-calculator .price-row .label {
    color: var(--text-gray);
}

.price-calculator .price-row .value {
    font-weight: 600;
}

.price-calculator .price-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0 0;
    margin-top: 8px;
    border-top: 3px solid var(--brand);
    font-size: 1rem;
    font-weight: 800;
    flex-wrap: wrap;
    gap: 2px;
}

.price-calculator .price-total .label {
    color: var(--text-dark);
}

.price-calculator .price-total .value {
    color: var(--brand);
}

/* ===== CHECKBOX ===== */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 8px;
}

.checkbox-group:active {
    transform: scale(0.99);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--brand);
    cursor: pointer;
    min-height: auto;
}

.checkbox-group .checkbox-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    cursor: pointer;
}

.checkbox-group .checkbox-label strong {
    color: var(--text-dark);
}

.checkbox-group .checkbox-label .price-tag {
    color: var(--brand);
    font-weight: 700;
}

/* ===== TLAČIDLÁ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    min-height: var(--touch-target);
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-hover);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.btn-success {
    background: #2e7d32;
    color: #fff;
}

.btn-success:hover {
    background: #1b5e20;
}

.btn-danger {
    background: #c62828;
    color: #fff;
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-warning {
    background: #e65100;
    color: #fff;
}

.btn-warning:hover {
    background: #bf360c;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
    min-height: 32px;
    width: auto;
}

/* ===== SPRÁVY ===== */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
    display: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.message.success {
    display: block;
    background: #e8f5e9;
    color: #1b5e20;
    border: 2px solid #a5d6a7;
}

.message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 2px solid #ef9a9a;
}

.message.info {
    display: block;
    background: #e3f2fd;
    color: #0d47a1;
    border: 2px solid #90caf9;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: #888;
    padding: 20px 4%;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
}

footer p {
    font-size: 0.75rem;
    line-height: 1.6;
}

footer a {
    color: var(--brand);
}

/* ======================================== */
/* ===== RESPONZIVITA ===== */
/* ======================================== */

/* === Tablety a menšie obrazovky === */
@media (min-width: 600px) {
    .header .logo {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 6px 5px;
    }
    
    .day-number {
        font-size: 1rem;
    }
    
    .day-status {
        font-size: 0.55rem;
        padding: 2px 8px;
    }
    
    .day-detail {
        display: block;
        font-size: 0.6rem;
    }
    
    .day-locked {
        font-size: 0.55rem;
    }
    
    .calendar-day-header {
        font-size: 0.7rem;
        padding: 10px 4px;
    }
    
    .calendar-grid {
        gap: 6px;
        padding: 15px;
    }
    
    .modal {
        padding: 32px 36px;
        padding-top: 28px;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
    
    .filter-bar .stats span {
        font-size: 0.8rem;
        padding: 4px 14px;
    }
    
    .price-calculator .price-row {
        font-size: 0.9rem;
    }
    
    .price-calculator .price-total {
        font-size: 1.1rem;
    }
}

/* === Desktop === */
@media (min-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    .header {
        padding: 15px 5%;
    }
    
    .header .logo {
        font-size: 1.5rem;
        gap: 10px;
    }
    
    .header-nav a {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
    
    .hero {
        padding: 60px 5% 50px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.15rem;
    }
    
    .hero .subtitle {
        font-size: 0.95rem;
    }
    
    .main-content {
        padding: 30px 5% 80px;
    }
    
    .filter-bar {
        padding: 20px 25px;
        gap: 15px 25px;
    }
    
    .filter-bar label {
        font-size: 0.95rem;
    }
    
    .filter-bar select {
        font-size: 0.95rem;
        padding: 10px 18px;
        padding-right: 40px;
        min-width: 180px;
    }
    
    .filter-bar .stats {
        font-size: 0.9rem;
        gap: 16px;
    }
    
    .calendar-grid {
        gap: 8px;
        padding: 20px;
    }
    
    .calendar-day {
        min-height: 100px;
        padding: 8px 6px;
    }
    
    .calendar-day:hover {
        border-color: var(--brand);
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
    }
    
    .calendar-day.volny:hover {
        background: #fff3e0;
    }
    
    .calendar-day:active {
        transform: scale(0.98);
    }
    
    .day-number {
        font-size: 1.1rem;
    }
    
    .day-status {
        font-size: 0.65rem;
        padding: 2px 10px;
    }
    
    .day-detail {
        font-size: 0.7rem;
        display: block;
    }
    
    .day-locked {
        font-size: 0.6rem;
    }
    
    .calendar-day-header {
        font-size: 0.85rem;
        padding: 12px 5px;
        letter-spacing: 0.5px;
    }
    
    .modal {
        padding: 40px 45px;
        padding-top: 35px;
        max-height: 90vh;
    }
    
    .modal h2 {
        font-size: 1.6rem;
    }
    
    .modal .modal-sub {
        font-size: 0.95rem;
    }
    
    .modal .datum-info {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    .btn {
        font-size: 1rem;
        padding: 14px 30px;
    }
    
    .btn:active {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(231, 38, 15, 0.3);
    }
    
    .price-calculator {
        padding: 20px;
    }
    
    .price-calculator .price-row {
        font-size: 0.95rem;
        padding: 8px 0;
    }
    
    .price-calculator .price-total {
        font-size: 1.15rem;
        padding: 12px 0 0 0;
        margin-top: 10px;
    }
    
    .checkbox-group {
        padding: 12px 18px;
    }
    
    .checkbox-group .checkbox-label {
        font-size: 0.9rem;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    .refresh-indicator {
        font-size: 0.75rem;
        padding: 8px 20px;
    }
}

/* === Veľké desktopy === */
@media (min-width: 1400px) {
    .main-content {
        padding: 40px 2% 80px;
    }
    
    .calendar-grid {
        padding: 25px;
        gap: 10px;
    }
    
    .calendar-day {
        min-height: 120px;
        padding: 10px 8px;
    }
}

/* === Špeciálne úpravy pre veľmi malé obrazovky === */
@media (max-width: 400px) {
    .header .logo {
        font-size: 0.9rem;
        gap: 4px;
    }
    
    .header .logo i {
        font-size: 1rem;
    }
    
    .header-nav a {
        font-size: 0.65rem;
        padding: 4px 7px;
    }
    
    .header-nav a i {
        font-size: 0.7rem;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 0.8rem;
    }
    
    .hero .subtitle {
        font-size: 0.7rem;
    }
    
    .calendar-day {
        min-height: 44px;
        padding: 2px 2px;
        border-width: 1.5px;
    }
    
    .day-number {
        font-size: 0.6rem;
    }
    
    .day-status {
        font-size: 0.35rem;
        padding: 1px 3px;
    }
    
    .calendar-day-header {
        font-size: 0.45rem;
        padding: 4px 1px;
    }
    
    .calendar-grid {
        gap: 3px;
        padding: 5px;
        border-radius: 8px;
    }
    
    .filter-bar {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .filter-bar label {
        font-size: 0.75rem;
    }
    
    .filter-bar select {
        font-size: 0.75rem;
        padding: 6px 10px;
        padding-right: 28px;
        min-width: 100px;
        min-height: 34px;
    }
    
    .filter-bar .stats {
        font-size: 0.6rem;
        gap: 4px;
    }
    
    .filter-bar .stats span {
        padding: 2px 6px;
    }
    
    .modal {
        padding: 16px 14px 20px;
    }
    
    .modal h2 {
        font-size: 1.1rem;
        padding-right: 30px;
    }
    
    .modal .modal-sub {
        font-size: 0.75rem;
    }
    
    .modal .datum-info {
        font-size: 0.7rem;
        padding: 8px 10px;
        gap: 4px 10px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.8rem;
        padding: 8px 10px;
        min-height: 36px;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 10px 16px;
        min-height: 38px;
    }
    
    .price-calculator {
        padding: 10px 12px;
    }
    
    .price-calculator .price-row {
        font-size: 0.7rem;
        padding: 4px 0;
    }
    
    .price-calculator .price-total {
        font-size: 0.85rem;
        padding: 6px 0 0 0;
    }
    
    .checkbox-group {
        padding: 8px 10px;
        gap: 6px;
    }
    
    .checkbox-group .checkbox-label {
        font-size: 0.75rem;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    
    .refresh-indicator {
        font-size: 0.55rem;
        padding: 4px 10px;
    }
    
    .refresh-indicator .live-dot {
        width: 6px;
        height: 6px;
    }
    
    footer p {
        font-size: 0.6rem;
    }
}

/* === ORIENTÁCIA NA šírku (landscape) na mobiloch === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 12px 4% 10px;
    }
    
    .hero h1 {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .hero p {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    
    .hero .subtitle {
        font-size: 0.65rem;
    }
    
    .calendar-day {
        min-height: 40px;
    }
    
    .modal {
        max-height: 92vh;
        padding: 14px 16px 18px;
    }
    
    .modal .datum-info {
        padding: 6px 10px;
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select {
        padding: 6px 10px;
        min-height: 30px;
        font-size: 0.75rem;
    }
    
    .price-calculator {
        padding: 8px 12px;
        margin: 8px 0 10px;
    }
    
    .price-calculator .price-row {
        padding: 3px 0;
        font-size: 0.7rem;
    }
    
    .price-calculator .price-total {
        padding: 6px 0 0 0;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 8px 16px;
        min-height: 34px;
        font-size: 0.8rem;
    }
}

/* === TLAČIAREN === */
@media print {
    .header,
    .hero,
    .filter-bar,
    .refresh-indicator-container,
    .modal-overlay,
    footer {
        display: none !important;
    }
    
    .main-content {
        padding: 20px !important;
    }
    
    .calendar-grid {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}