/*
Theme Name: MojMonter V2
Theme URI: https://mojmonter.pl
Author: Twoj Zespol
Description: Wersja 2.5 - Header Flexbox & Dark Video
Version: 2.5
Text Domain: mojmonter
*/

/* =========================================
   1. RESET I BAZA
   ========================================= */
* {
    box_sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f8;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #0073aa;
    transition: 0.2s;
}

a:hover {
    color: #005177;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER (Logo + Menu + Przycisk)
   ========================================= */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

/* Kontener flex, który rozrzuca elementy (Logo - Menu - Przycisk) */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: #004e92;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Menu Nawigacyjne (Środek) */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px; /* Odstępy między linkami */
}

.main-navigation a {
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.main-navigation a:hover {
    color: #004e92;
}

/* Przyciski w nagłówku (Prawa strona) */
.header-actions {
    display: flex;
    align-items: center;
}

.btn-header {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Żółty przycisk "Dodaj biznes" */
.btn-add {
    background-color: #ffce00;
    color: #000;
    box-shadow: 0 4px 10px rgba(255, 206, 0, 0.3);
}

.btn-add:hover {
    background-color: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 206, 0, 0.4);
}

/* Szary przycisk "Moje konto" (gdy zalogowany) */
.btn-account {
    background-color: #eef2f5;
    color: #004e92;
}

.btn-account:hover {
    background-color: #dce4eb;
}

/* =========================================
   3. HERO SECTION (WIDEO BACKGROUND)
   ========================================= */
.hero-section {
    position: relative;
    height: 80vh; /* 80% wysokości ekranu */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: #000;
    padding: 20px;
}

/* Wideo w tle - bez efektu zooma */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wypełnia tło zachowując proporcje */
    z-index: 0;
}

/* Przyciemnienie wideo (70%) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 30, 0.7); 
    z-index: 1;
}

/* Treść nad wideo */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* =========================================
   4. FORMULARZE I PRZYCISKI GŁÓWNE
   ========================================= */
.btn-main {
    background-color: #ffce00;
    color: #000;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 206, 0, 0.4);
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 206, 0, 0.6);
    background-color: #ffd633;
}

.registration-section {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Nasunięcie na wideo */
    padding-bottom: 60px;
}

.form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 500px;
    margin: 0 auto;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: #555; }
.form-group input { width: 100%; padding: 12px 15px; border: 2px solid #eef2f5; border-radius: 6px; font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus { border-color: #2F80ED; outline: none; }

.btn-submit {
    background-color: #004e92;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-submit:hover { background-color: #003366; }

.error-box { background: #fff0f0; color: #c0392b; padding: 15px; border-radius: 6px; margin-bottom: 20px; }
.success-box { text-align: center; padding: 40px; background: #f0fff4; border-radius: 8px; color: #27ae60; }

/* =========================================
   5. FACHOWCY (Karty)
   ========================================= */
.fachowiec-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}
.fachowiec-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.fachowiec-card h2 { margin: 0 0 10px 0; font-size: 1.5rem; }
.fachowiec-card a { color: #2c3e50; }

/* =========================================
   6. POJEDYNCZY FACHOWIEC (Profil)
   ========================================= */
.fachowiec-header {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.fachowiec-photo img { border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); width: 200px; height: 200px; object-fit: cover; }
.specjalizacja-tag { background: #eef2f5; color: #333; padding: 5px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }

/* =========================================
   7. FOOTER
   ========================================= */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

/* =========================================
   8. RESPONSYWNOŚĆ (Mobile)
   ========================================= */
@media (max-width: 768px) {
    /* Ukrywamy klasyczne menu na telefonach, zostaje Logo i Przycisk */
    .main-navigation { display: none; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-section { height: auto; min-height: 500px; padding-bottom: 80px; }
    .registration-section { margin-top: -40px; }
    .fachowiec-header, .fachowiec-card { flex-direction: column; text-align: center; }
    .fachowiec-photo img { margin: 0 auto; }
}

/* =========================================
   9. STYLE PANELU FACHOWCA (DODATEK)
   ========================================= */

/* Kontener główny - centruje i ogranicza szerokość */
.mm-panel-container {
    max-width: 900px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Karta Logowania i Panelu */
.mm-auth-card, .mm-dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Miękki cień */
    border: 1px solid #eef2f5;
    overflow: hidden;
}

.mm-auth-card {
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

/* Typografia */
.mm-title { color: #004e92; margin-bottom: 10px; font-weight: 800; }
.mm-subtitle { color: #666; margin-bottom: 30px; font-size: 0.95rem; }
.mm-section-title { font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }

/* Pola Formularza (Inputy) */
.mm-input-group { text-align: left; margin-bottom: 20px; }
.mm-input-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: #444; }
.mm-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eef2f5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fcfcfc;
}
.mm-input:focus { border-color: #004e92; outline: none; background: #fff; }

/* Przyciski (Buttons) */
.mm-btn {
    display: inline-block;
    background-color: #004e92;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}
.mm-btn:hover { background-color: #003366; color: #fff; }
.mm-btn.full-width { width: 100%; }
.mm-btn.small { padding: 8px 15px; font-size: 0.85rem; border-radius: 20px; }
.mm-btn.btn-outline { background: transparent; border: 1px solid #d63031; color: #d63031; }
.mm-btn.btn-outline:hover { background: #d63031; color: #fff; }

/* Alerty */
.mm-alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; text-align: left; }
.mm-alert.error { background: #ffe6e6; color: #c0392b; border-left: 4px solid #c0392b; }
.mm-alert.success { background: #d4edda; color: #155724; border-left: 4px solid #155724; }

/* --- PANEL: NAGŁÓWEK --- */
.mm-dashboard-header {
    background: #f8f9fa;
    padding: 25px 30px;
    border-bottom: 1px solid #eef2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mm-badge { background: #e3f2fd; color: #004e92; padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-left: 10px; }

/* --- PANEL: ZAKŁADKI (TABS) --- */
.mm-tabs {
    display: flex;
    background: #fff;
    padding: 0 30px;
    border-bottom: 1px solid #eef2f5;
}
.mm-tab {
    padding: 20px 15px;
    margin-right: 20px;
    color: #7f8c8d;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mm-tab:hover { color: #004e92; }
.mm-tab.active { color: #004e92; border-bottom-color: #004e92; }

/* --- PANEL: TREŚĆ --- */
.mm-dashboard-body { padding: 30px; background: #fff; }

/* Kafelki (Grid) */
.mm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}
.mm-tile {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mm-tile:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #004e92; }
.mm-tile.highlight { background: #fdfdfd; border-color: #004e92; }
.mm-tile-icon { font-size: 2.5rem; margin-bottom: 15px; }
.mm-tile h4 { margin: 10px 0; font-size: 1.1rem; color: #333; }
.mm-tile p { color: #777; font-size: 0.9rem; margin-bottom: 20px; }
.mm-link { color: #004e92; font-weight: 600; font-size: 0.9rem; }

/* Grafik Pracy (Lista) */
.mm-schedule-box { max-width: 650px; margin: 0 auto; }
.mm-days-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.mm-day-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
    transition: 0.2s;
}
.mm-day-row.is-active {
    background: #fff;
    border-color: #4cd137; /* Zielona ramka */
    box-shadow: 0 4px 10px rgba(76, 209, 55, 0.1);
}

.mm-day-label { display: flex; align-items: center; gap: 15px; font-weight: 600; color: #555; width: 140px; }
.mm-day-hours { display: flex; align-items: center; gap: 10px; opacity: 0.4; pointer-events: none; transition: 0.2s; }
.is-active .mm-day-hours { opacity: 1; pointer-events: auto; }
.mm-day-hours input { padding: 8px; border: 1px solid #ddd; border-radius: 6px; width: 100px; text-align: center; }

/* Switch (Przełącznik) */
.mm-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.mm-switch input { opacity: 0; width: 0; height: 0; }
.mm-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.mm-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .mm-slider { background-color: #4cd137; }
input:checked + .mm-slider:before { transform: translateX(20px); }

/* Responsywność */
@media (max-width: 600px) {
    .mm-day-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .mm-day-hours { width: 100%; justify-content: space-between; }
    .mm-day-hours input { width: 45%; }
}

/* =========================================
   10. POPRAWKA UKŁADU (APP VIEW)
   ========================================= */

/* Kontener, który trzyma panel */
.mm-app-view {
    background-color: #f4f6f8; /* Tło całej aplikacji (jasnoszare) */
    min-height: 80vh; /* Panel zajmuje większość ekranu, wypychając stopkę w dół */
    display: flex;
    flex-direction: column;
    padding-top: 20px; /* Lekki odstęp od nagłówka */
    padding-bottom: 40px;
}

/* Nadpisujemy szerokość kontenera panelu, żeby był szerszy i wyglądał profesjonalnie */
.mm-panel-container {
    width: 100%;
    max-width: 1000px; /* Szerszy panel wygląda lepiej */
    margin: 0 auto; /* Centrowanie */
    padding: 0 20px; /* Marginesy na telefonach */
}

/* Jeśli chcesz usunąć cień karty logowania, żeby wyglądała lżej na stronie */
.mm-auth-card {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: none;
}

/* =========================================
   11. PROFIL PUBLICZNY FACHOWCA
   ========================================= */

/* Układ dwukolumnowy */
.mm-profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Lewa szersza, prawa węższa */
    gap: 30px;
    margin-top: 20px;
}

/* Karta ogólna */
.mm-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

/* Header Profilu (Zdjęcie + Nazwa) */
.profile-header {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 25px;
}

.profile-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-name {
    margin: 0 0 10px 0;
    font-size: 2rem;
    color: #333;
}

.profile-badges .mm-badge {
    background: #eef2f5;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 5px;
}

.profile-badges .mm-badge.verified {
    background: #d1fae5;
    color: #065f46;
}

.profile-desc h3, .schedule-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #004e92;
}

/* Lista Godzin Otwarcia */
.public-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
}

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

.schedule-row .day { font-weight: 600; color: #555; }

.schedule-row .hours.open { color: #27ae60; font-weight: 500; }
.schedule-row .hours.closed { color: #e74c3c; }

/* Prawa Kolumna - Rezerwacja */
.booking-card {
    position: sticky;
    top: 20px; /* Przykleja się przy przewijaniu */
    border-top: 5px solid #ffce00; /* Żółty akcent */
}

.booking-card h3 { margin-top: 0; font-size: 1.4rem; }

.full-width { width: 100%; text-align: center; }

.secure-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

/* Responsywność */
@media (max-width: 900px) {
    .mm-profile-grid {
        grid-template-columns: 1fr; /* Na telefonie jedna pod drugą */
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   POPRAWKA FORMULARZA (Brak wystawania)
   ========================================= */

/* To jest kluczowe - zapewnia, że pola nie wychodzą poza ramkę */
.mm-input, 
.mm-booking-form input, 
.mm-booking-form textarea,
.mm-booking-form select {
    width: 100%;             /* Zajmij 100% dostępnego miejsca */
    max-width: 100%;         /* Nigdy nie przekraczaj szerokości rodzica */
    box-sizing: border-box;  /* Padding wlicza się w szerokość (to naprawia problem!) */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
}

/* Upewniamy się, że kontener prawej kolumny się nie psuje */
.mm-profile-right {
    min-width: 0; /* Zapobiega "rozpychaniu" flexboxa/grida */
}

/* Przycisk dodawania zdjęć */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    margin-top: 5px;
}

.file-input-hidden {
    display: none;
}

.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 2px dashed #004e92;
    border-radius: 6px;
    background: #f0f7ff;
    color: #004e92;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    box-sizing: border-box; /* Ważne! */
}

.file-upload-btn:hover {
    background: #004e92;
    color: #fff;
}

.booking-card {
    padding: 25px; /* Troszkę mniejszy padding, żeby było więcej miejsca na pola */
    overflow: hidden; /* Ucięcie ewentualnego nadmiaru */
}

/* =========================================
   12. SEKCJA KATALOGU (STRONA GŁÓWNA)
   ========================================= */

.pros-section {
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 { font-size: 2.2rem; color: #002b49; margin-bottom: 10px; }
.section-header p { color: #666; font-size: 1.1rem; }

/* Siatka Fachowców (Grid) */
.pros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Automatyczne kolumny */
    gap: 30px;
    margin-bottom: 60px;
}

/* Karta Fachowca */
.pro-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    text-decoration: none !important; /* Reset linka */
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #004e92;
}

/* Zdjęcie w karcie */
.pro-image {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.pro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pro-card:hover .pro-image img { transform: scale(1.05); }

/* Badge (np. Hydraulik) */
.pro-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Treść karty */
.pro-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pro-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    color: #333;
}

.pro-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-link {
    color: #004e92;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Dodatkowe przyciski w Hero */
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline-white:hover {
    background: #fff;
    color: #002b49;
}

/* Zmiana formularza rejestracji na bardziej kompaktowy */
.reg-intro { text-align: center; margin-bottom: 20px; }
.compact-form .form-row { display: flex; gap: 15px; margin-bottom: 15px; }
@media (max-width: 600px) { .compact-form .form-row { flex-direction: column; } }

/* =========================================
   13. POPRAWKI UI (Formularz i Bottom CTA)
   ========================================= */

/* Poprawa pola daty w wąskiej kolumnie */
.mm-input.full-date {
    width: 100%;
    min-width: 0; /* Zapobiega wypychaniu kontenera */
    padding: 12px;
    font-family: inherit;
    color: #333;
    background: #fcfcfc;
}

/* Nowe pole wgrywania zdjęć */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-input-hidden {
    display: none; /* Ukrywamy brzydki standardowy input */
}

.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.file-upload-btn:hover {
    border-color: #004e92;
    background: #eef2f5;
    color: #004e92;
}

.booking-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    margin-top: -5px;
}

/* BOTTOM CTA (Pasek na dole strony głównej) */
.bottom-cta-section {
    background: #002b49; /* Bardzo ciemny granat */
    padding: 60px 0;
    margin-top: 50px;
    color: #fff;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h2 { color: #fff; margin-bottom: 10px; font-size: 2rem; }
.cta-text p { color: #cbd5e0; font-size: 1.1rem; max-width: 600px; margin: 0; }

/* Responsywność dla CTA */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .cta-text p { margin-bottom: 20px; }
}

/* =========================================
   14. POPRAWKI UI (Strzałka i Stopka)
   ========================================= */

/* Nowy styl dla pola wyboru miasta (Select) */
.hero-select {
    padding: 15px 50px 15px 25px; /* Dużo miejsca z prawej na strzałkę */
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    min-width: 280px;
    cursor: pointer;
    background-color: #fff;
    color: #333;
    font-weight: 500;
    
    /* Ukrywamy brzydką, systemową strzałkę */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Wstawiamy własną, ładną strzałkę SVG jako tło */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004e92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center; /* Odsunięcie strzałki od krawędzi */
    background-size: 16px; /* Rozmiar strzałki */
    transition: box-shadow 0.2s;
}

.hero-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 206, 0, 0.5); /* Żółta poświata przy kliknięciu */
}

/* Fix dla paska na dole - usuwa wszelkie odstępy */
.bottom-cta-section {
    margin-bottom: 0 !important; /* Zero marginesu na dole */
    padding-bottom: 80px; /* Trochę więcej oddechu wewnątrz */
}

/* Upewniamy się, że body nie dodaje marginesów */
body, html {
    height: 100%;
}

/* --- 15. FIX GRAFIKU (Centrowanie) --- */

.mm-day-row {
    display: flex;
    align-items: center; /* Kluczowe: Centruje w pionie */
    justify-content: space-between;
    gap: 15px;
}

.mm-day-label {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1; /* Zajmuje dostępne miejsce */
}

/* Wymuszamy minimalną szerokość dla nazwy dnia, żeby "Poniedziałek" nie psuł układu */
.mm-day-label span:not(.mm-slider) {
    min-width: 100px; 
    font-weight: 600;
}

.mm-day-hours {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
   16. FIX MOBILNY DLA WYSZUKIWARKI
   ========================================= */

/* Styl bazowy (Desktop) */
.hero-search-form {
    display: inline-flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2); /* Lekko przezroczyste tło */
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    align-items: center;
    border: 1px solid rgba(255,255,255,0.3);
    flex-wrap: wrap; /* Pozwala na zawijanie przy małych ekranach */
    justify-content: center;
}

.hero-select {
    padding: 15px 40px 15px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    min-width: 220px; /* Troszkę węższe żeby się mieściły dwa */
    cursor: pointer;
    background-color: #fff;
    color: #333;
    font-weight: 500;
    /* ... reszta twojego stylu strzałki ... */
}

/* WERSJA MOBILNA (Ekrany mniejsze niż 768px) */
@media (max-width: 768px) {
    
    .hero-search-box {
        padding: 0 15px; /* Margines bezpieczeństwa od krawędzi ekranu */
    }

    .hero-search-form {
        display: flex;
        flex-direction: column; /* Jeden pod drugim */
        width: 100%;            
        max-width: 100%;        /* Zapobiega wychodzeniu poza ekran */
        box-sizing: border-box; /* Kluczowe: padding nie dodaje się do szerokości */
        border-radius: 20px;
        padding: 20px;          /* Trochę więcej oddechu w środku */
        gap: 15px;
        margin: 0 auto;         /* Centrowanie */
    }

    /* Rozciągamy listę miast na całą szerokość */
    .hero-select {
        width: 100%;
        min-width: 0;         
        margin-bottom: 0; 
        box-sizing: border-box;
        font-size: 16px; /* Zapobiega przybliżaniu (zoom) na iPhone przy kliknięciu */
    }

    /* Rozciągamy przycisk na całą szerokość */
    .search-btn {
        width: 100%;
        padding: 15px;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Zmniejszamy trochę tytuł na telefonach, żeby się mieścił */
    .hero-title {
        font-size: 1.8rem; /* Troszkę mniejszy font, żeby nie łamał się brzydko */
        padding: 0 10px;
        word-wrap: break-word;
    }
}

/* =========================================
   17. POWIADOMIENIA (PULSUJĄCY PRZYCISK)
   ========================================= */

/* Kropka z liczbą powiadomień */
.mm-notify-badge {
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* Animacja pulsowania dla całej zakładki */
@keyframes mm-pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Klasa aktywna, gdy są nowe zlecenia */
.mm-tab.has-new-orders {
    border-color: #e74c3c !important;
    color: #c0392b !important;
    position: relative;
    animation: mm-pulse-animation 2s infinite;
    font-weight: 700;
}

/* Stylizacja "ładnego" maila (to idzie w treści maila, ale warto mieć podgląd) */
/* Nie dodajemy tu CSS maila, bo mail musi mieć style inline w PHP */