/* ========================================= */
/* GLOBALNE ZMIENNE I RESETOWANIE      */
/* ========================================= */

:root {
    --color-primary: #0077b6;
    /* Głęboki Błękit Oceanu (Akcent) */
    --color-secondary: #00b4d8;
    /* Jasny Błękit Nieba (Akcja) */
    --color-accent: #e76f51;
    /* Ciepły Koral/Ziemia (Budżet, Błędy) */
    --color-text: #264653;
    /* Ciemny Turkus/Las (Tekst główny) */
    --color-background: #f0f8ff;
    /* Bardzo Jasny Błękit/Chmura (Tło strony) */
    --color-card-bg: #ffffff;
    /* Czysta Biel dla kart/kontenerów */
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-white: #ffffff;
    --color-weather-icon: #3498db; /*Ikony w pogodzie */
    --color-detail-text: #6b7280; /* Tekst w pogodzie */
    --color-separator: #e5e7eb; /* Jasny Szary dla lini */

}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Globalny kontener */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-card-bg);
    /* Używamy białego tła dla czystości */
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
}

/* Nagłówki */
h1,
h2 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.2rem;
    color: var(--color-primary);
}

p {
    margin-bottom: 1rem;
}

/* --- NAGŁÓWEK I NAWIGACJA (base.html) --- */
header {
    background: var(--color-white);
    box-shadow: 0 2px 4px var(--color-shadow);
    padding: 1rem 0;
    position: relative; 
    z-index: 100;
    
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

/* --- GŁÓWNA ZAWARTOŚĆ --- */
main {
    flex-grow: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* --- SEKCJA GŁÓWNA (HERO) DLA index.html --- */
.hero-section {
    width: 100%;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Pamiętaj o dodaniu pliku travel-background.jpg do app/static/images/ */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/travel-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.hero-section .container {
    max-width: 500px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: var(--color-text);
}

.hero-section h1 {
    color: var(--color-primary);
    text-align: center;
    font-size: 2rem;
}

.hero-section p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #4b5563;
}

/* --- FORMULARZE (index.html) --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.25);
    outline: none;
}

/* --- PRZYCISKI --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    width: 100%;
    background-color: var(--color-secondary);
    /* Jasny Błękit Nieba dla akcji */
    color: var(--color-white);
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #0096c7;
    /* Ciemniejszy błękit */
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #6b7280;
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* --- KOMUNIKATY FLASH (base.html) --- */
.flash-messages {
    max-width: 800px;
    margin: 1rem auto 1.5rem;
    padding: 0 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #2a9d8f;
    /* Spokojniejszy turkus */
    border: 1px solid #2a9d8f;
}

.alert-error {
    background-color: #fcebe6;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

/* ========================================= */
/* WYNIKI PLANU (plan_results.html)    */
/* ========================================= */
.container-plan-results {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
}


.plan-results {
    padding: 3rem;
    max-width: 1100px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.plan-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.subtitle {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Odznaki */
.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.days-badge {
    background-color: #ade8f4;
    /* Akcent Jasny Błękit */
    color: var(--color-primary);
}

.style-badge {
    background-color: #ccdff0;
    /* Subtelny Błękit */
    color: var(--color-primary);
}

/* --- GRID INFORMACYJNY (Karty: Pogoda i Budżet) --- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background-color: var(--color-card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border-left: 5px solid var(--color-primary);
    /* Głęboki błękit - motyw wiodący */
}

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

/* Wyłącz efekt przesuwania na hover dla karty pogody (ma pozostać statyczna) */
.weather-card:hover {
    transform: none;
}

.card h2 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* --- Nearby places card --- */
.nearby-card {
    border-left-color: #ffb703; /* warm accent */
}
.nearby-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.nearby-item {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #fcfeff);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.nearby-name {
    color: var(--color-primary);
    font-weight: 700;
}
.nearby-address {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.muted {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Weather top full-width card - wyróżnione tło i akcent */
.weather-top {
    margin-bottom: 2rem;
    border-left-width: 6px;
    /* stały, delikatny niebieski kolor tła, aby karta nie zlewała się z innymi */
    background-color: #f1fbff;
    border-left-color: var(--color-secondary); /* inny akcent */
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.08);
}

/* Daily weather list styling */
.daily-weather-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 1fr; /* ensure rows stretch so items have equal height */
    gap: 24px;
    align-items: stretch;
}

.daily-item.weather-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 24px;

    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--color-card-bg);

}
.daily-item.weather-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.day-header {
    width: 100%; 
    margin-bottom: 16px;
}

.day-header .date-display {
    font-size: 15px;
    color: var(--color-detail-text);
    font-weight: 600;
    margin: 0;
}

.day-icon-day-icon-container{
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.weather-emoji {
    font-size: 64px; 
    line-height: 1;
    margin-bottom: 8px;
    line-height: 1;
    color: var(--color-weather-icon);
}


.weather-icon-key {
    font-weight: 500;
    color: var(--color-detail-text);
    font-size: 14px;
}

.day-temp {
    margin: 16px 0 24px 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day-temp h3 {
    font-size: 12px; 
    color: var(--color-detail-text);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.temp-max {
    font-size: 36px; 
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.temp-min {
    font-size: 20px; 
    color: var(--color-detail-text);
    margin-top: 5px;
}

.day-details {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--color-separator); 
    margin-top: auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px; 
    margin-bottom: 8px;
    padding: 0 10px;
    color: var(--color-detail-text);
}

.detail-item strong {
    color: var(--color-text);
    font-weight: 600;
}

.detail-icon {
    font-size: 16px;
    margin-right: 8px;
    color: var(--color-weather-icon);
}

.card h2 .icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

.main-cost strong {
    font-size: 1.4rem;
    color: var(--color-accent);
    /* Ciepły Koral dla budżetu */
}

/* ========================================= */
/* KARTY ATRAKCJI (plan_results.html)      */
/* ========================================= */

.attractions-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.attraction-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Dwie kolumny na desktopie */
    gap: 1.5rem;
    
}

.attraction-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    /* Aby zaokrąglenia działały poprawnie */
}

/* Usunięcie paddingu z karty atrakcji, aby zdjęcie było na całą szerokość */
.attraction-card.card {
    padding: 0;
}

.attraction-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #eee;
}

.attraction-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.attraction-icon-container {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    background-color: #f8f9fa;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.attraction-card .card-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    /* Lekko szare tło dla nagłówka */
    border-bottom: 1px solid #e9ecef;
}

.attraction-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    flex-shrink: 0;
    /* Zapobiega kurczeniu się ikony */
}

.attraction-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.attraction-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.attraction-address {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.attraction-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.rating-badge {
    background-color: #fff3cd;
    color: #856404;
    font-weight: bold;
}

.price-badge {
    background-color: #d4edda;
    color: #155724;
    font-weight: bold;
    font-size: 1.1rem;
}

.attraction-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.type-badge {
    background-color: #e2e3e5;
    color: #495057;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
}

/* --- SEKCJA ATRAKCJI --- */
.attractions-section {
    padding: 1.5rem 0;
}

.attraction-list {
    list-style: none;
    padding: 0;
}

.attraction-item {
    background-color: var(--color-card-bg);
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--color-secondary);
    /* Akcent Jasny Błękit */
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 1.1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Przyciski Akcji */
.action-buttons {
    text-align: center;
    margin-top: 3rem;
}

/* --- STOPKA (base.html) --- */
footer {
    background: var(--color-text);
    /* Ciemny Turkus/Las */
    color: #90b3c2;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    position: relative;
    z-index: 100;

}

footer a {
    color: #c7dbec;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--color-white);
}


/* ========================================= */
/* RESPONSYWNOŚĆ                */
/* ========================================= */
@media (max-width: 900px) {
    .container {
        margin: 0 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {

    /* Nawigacja na telefonach */
    nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 10px;
    }

    .nav-links li {
        margin: 0 10px;
    }

    /* Strona wyników - stosy zamiast grida */
    .info-grid {
        grid-template-columns: 1fr;
    }

    .attraction-cards {
        grid-template-columns: 1fr;
        /* Na mniejszych ekranach zawsze jedna kolumna */
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .custom-container {
        padding: 20px;
        border-radius: 20px;
    }
}

/* --- ZDJĘCIA ATRAKCJI --- */
.attraction-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.attraction-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-photo {
    transform: scale(1.05);
}

.attraction-icon-container {
    padding: 1rem;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.attraction-icon {
    width: 48px;
    height: 48px;
}

.save{
    margin-top: 10px;
}
/* formularz logowania */
.login-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
    
}
.login-container a {
    color: #000000;              
    text-decoration: none;    
    transition: all 0.3s ease; 
    font-weight: 500;         
}

.login-container a:hover {
    color: var(--color-secondary);          
    text-decoration: underline; 
    cursor: pointer;          
}


.title-login {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0077b6;

}

/* formularz rejestracji */
.register-container{
 max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
    }
.title-register {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0077b6;

}



/* Styl dla powitania użytkownika w nagłówku */
.user-greeting {
    color: #333;
    font-weight: 500;
    cursor: default;
}

.btn-logout {
    background-color: #e74c3c;
    color: white !important;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: #c0392b;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dwie równe kolumny */
    gap: 40px; /* Odstęp między kolumnami */
    margin-bottom: 30px;
    }




/* ========================================= */
/* KAFELKI WYBORU KLIMATU (VIBES)      */
/* ========================================= */

.vibes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(40px, 1fr));;
    gap: 10px;
    margin-bottom: 1.5rem;
}


.vibe-item {
    position: relative;
}

/* Ukrywamy domyślny checkbox */
.vibe-checkbox, .card-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Stylizacja etykiety jako karty */
.vibe-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.vibe-icon {
    font-size: 2.3rem;
    margin-bottom: 1px;
    padding: 0px;
    margin-bottom: 3px; 
    line-height: 1;
    display: block;
}

.vibe-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 0px;
}

/* Efekt hover */
.vibe-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Stan zaznaczony (checked) */
/* Używamy selektora rodzeństwa: gdy checkbox jest zaznaczony, stylujemy etykietę obok */
.vibe-checkbox:checked + .vibe-card, .card-checkbox:checked + .cards-card {
    background-color: #e0f2fe; /* Bardzo jasny błękit */
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.2);
}

.vibe-checkbox:checked + .vibe-card .vibe-label, .card-checkbox:checked + .cards-card .attraction-address {
    color: var(--color-primary);
}

.error-message {
    color: #d9534f; /* Czerwony kolor dla błędów */
    font-weight: bold;
}


/* MAPA */
#map-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    filter: brightness(0.8) blur(1.5px);  
}

.hero-section {
    position: relative;
    z-index: 10; 
}

#map-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 90%; 
    max-width: 700px; 
    height: 100%;
    background: var(--color-card-bg); 
    
    z-index: 100; 
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#map-sidebar.active {
    transform: translateX(0); 
}

#active-map {
    flex-grow: 1; 
    margin-bottom: 15px;
    border: 1px solid var(--color-separator);
    border-radius: 8px;
    /* Ważne: Leaflet potrzebuje zdefiniowanej wysokości! */
    height: calc(100% - 70px); 
}

#save-location-btn {
    width: 100%;
    font-weight: 700;
}
#close-map-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
    z-index: 101; 
    padding: 2px;
    line-height: 1;
    font-weight: 900;
}

  /*PROFIL */

.profile-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
  }
.profile-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
  }
.profile-actions {
    display: vertical;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
  }
.profile-actions .btn {
    width: 100%;
    padding: 0,7rem;
    font-size: 1.1rem;
    margin: 4px;
  }
#logout-profile {
    background-color: #e74c3c;
    color: white !important;
    width: 100%;
    padding: 0,7rem;
    font-size: 1.1rem;
    margin: 4px;
  }

  .plans-container {
    min-width: 50%;
    max-width: 2000px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);

  }

.plans-container a, .account-container a, .auth-container a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
  }

.plans-container a:hover, .account-container a:hover, .auth-container a:hover {
    color: var(--color-secondary);
  }

.account-container, .auth-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
}


/* --- Przesuwanie pogody --- */

/* Główny kontener trzymający listę i przyciski */
.weather-carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Lista kart - zmieniamy z Grid na Flex z przewijaniem */
.daily-weather-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;       /* Włącza przewijanie poziome */
    scroll-behavior: smooth; /* Płynne animacje przesuwania */
    flex-wrap: nowrap;      /* Zabrania zawijania do nowej linii */
    padding: 10px 5px;      /* Margines na cienie */
    width: 100%;
    
    /* Ukrywanie paska przewijania (scrollbar) - estetyka */
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
}

/* Ukrywanie scrollbara w Chrome/Safari/Opera */
.daily-weather-list::-webkit-scrollbar {
    display: none;
}

/* Styl pojedynczej karty w karuzeli */
.daily-item.weather-card {
    /* To jest KLUCZOWE: karta nie może się kurczyć */
    flex: 0 0 auto; 
    width: 260px; /* Stała szerokość karty */
    
    /* Reszta Twoich stylów */
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e5e7eb; /* Opcjonalnie delikatna ramka */
}

/* --- PRZYCISKI (Strzałki) --- */
.carousel-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px; /* Żeby się nie zgniótł */
    cursor: pointer;
    font-size: 18px;
    color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.2s ease;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.prev-btn {
    margin-right: 10px;
}

.next-btn {
    margin-left: 10px;
}

/* Na telefonach ukrywamy przyciski - tam wygodniej przesuwać palcem (swipe) */
@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
    
    .daily-weather-list {
        gap: 15px;
    }
    
    .daily-item.weather-card {
        width: 220px; /* Nieco węższe karty na mobilu */
    }
}

.container-plan-results {
    margin: 2rem auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--color-shadow);
}

.plans-gird{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}


.plan-card {
    background-color: var(--color-card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border-left: 5px solid var(--color-primary);
    margin: 1rem;
    /* Głęboki błękit - motyw wiodący */
}


.plans-container h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}.plan-card a {
    text-decoration: none;
    color: var(--color-secondary);
}
.vibe-checkbox:checked + .vibe-card, .card-checkbox:checked + .cards-card {
    background-color: #e0f2fe; /* Bardzo jasny błękit */
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 119, 182, 0.2);
}
