/* Kontener główny */
body{font-family: 'Lato', sans-serif;}

.area-search-form h1{
    border-bottom: none;
}
#area-search-wrapper {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

/* Grupy pól formularza */
.field-group {
    flex-direction: column;
}
.field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0;
    color: #fff;
}

/* Inputy i select */
.field-group input,
.field-group select {
    padding: 6px 8px;
    border: 1px solid #fff;
    border-radius: 3px;
}

/* Radio buttony */
.radio-group label {
    margin-right: 15px;
    color: #003E7E;
}

/* Przyciski */
.btn-search {
    background-color: #ED1878;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
    transition: background 0.3s;
    justify-self: flex-start;
    width: 200px;
}
.btn-search:hover {
    background-color: #003E7E;
}

/* Wyniki wyszukiwania */
.area-search-results {
    margin: 25px auto 0 auto;
    padding: 15px;
    max-width: calc(100% - 10vw);
}

@media (max-width: 1200px) {
    .area-search-results{
        max-width: 100%;
    }
}

.space-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}
.space-item:last-child {
    border-bottom: none;
}

/* Responsywność */
@media (max-width: 768px) {
    .radio-group label {
        display: block;
        margin-bottom: 5px;
    }
}

.area-search-results{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.area-search-results .area-card{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
}
@media (max-width: 992px) {
    .area-search-results .area-card{
        width: calc(50% - 15px);
    }
}
@media (max-width: 576px) {
    .area-search-results .area-card{
        width: 100%;
    }
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    align-items: flex-start;
    gap: 0px; /* odstęp między selectami */
    margin: 20px 0;
    width: initial;
    color: #fff;
    text-align: left;
}
.input-group h3{
    font-size: 24px;
}
@media (max-width: 992px) {
    .input-group{
        width: calc(50% - 15px);
    }
}
@media (max-width: 576px) {
    .input-group{
        width: 100%;
        align-items: center;
    }
}

.form-select {
    padding: 12px 16px;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    appearance: none; /* usuwa domyślne strzałki w niektórych przeglądarkach */
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    margin-bottom: 0;
}

.form-select:focus {
    outline: none;
    border-color: #ED1878;;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.2);
}

@media (max-width: 576px) {
    .input-group {
        flex-direction: column;
        align-content: center;
    }
}
.form-wrapper{
    width: calc(100% -  10vw);
    display: flex;
    margin: auto;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
}
@media (max-width: 1440px) {
    .form-wrapper{
        width: 100%;
    }
}
.area-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    height: 40px;
}

.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #ED1878;;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.dates-wrapper{
    align-content: flex-start;
}
@media (max-width: 576px) {
    .dates-wrapper{
        align-content: center;
    }
}
.area-count{
    display: flex;
    justify-content: flex-end;
}

.rodzaj-powierzchni-select{
    width: 225px;
}

.field-group select{
    color: #ED1878;
}

.radio-types{
    gap:0;
    flex-direction: column;
    text-align: left;
}



.btn-wrapper{
    display: flex;
}

@media (max-width: 576px) {
    .btn-wrapper{
        justify-content: center;
        width: 100%;
    }
}

.form-select{
    width: 100%!important;
}

@media (max-width: 576px) {
    .form-select{
        width: 50vw!important;
        max-width: 100% !important;
        margin: 0!important;
    }
}

.select2-container .select2-selection--single {
    height: 40px !important; 
    padding: 8px 8px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container .select2-selection__rendered {
    font-size: 18px !important;
    line-height: 1.4 !important;
}

.select2-container .select2-selection--single{
    height: 40px !important; 
}
.select2-container .select2-selection__arrow {
    height: 40px !important;      
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #ED1878;
}
.form-select option{
    color: #ED1878;
}
.select2-results__option--selectable{
    color: #ED1878;
}
.page-header{
    margin-top: 150px;
    text-align: center;
    color: #ED1878;
    font-weight: bold;
}

.area-search-form{
    padding: 30px 0;
    margin-left: 100px;
    border-radius: 50px 0 0 50px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #003E7E 0%,
        #003E7E 55%,
        rgba(237, 24, 120, 0.22) 100%
    );
}
.area-search-form h1{
    text-align: center;
        width: 100%;
      font-size: 40px;
      font-weight: 600;
      color: #fff;
}

@media (max-width: 1440px) {
    .area-search-form{
        margin-left: 30px;
        padding: 45px 15px;
    }
}

@media (max-width: 992px) {
    .area-search-form{
        margin-left: 30px;
        padding: 45px 15px;
    }
}
@media (max-width: 576px) {
    .area-search-form{
        margin-left: 0px;
        padding: 15px;
    }
}
.area-card-btn{
    background-color: #003E7E;
    color: #fff;
    border-radius: 16px;
    padding: 8px 12px;
    font-weight: 700;
    border: none;
}
/* Stylizacja nagłówka area-card-header */
.area-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 62, 126, 0.1);
    background: rgba(0, 62, 126, 0.05); /* Delikatne tło */
    border-radius: 8px; /* Zaokrąglone rogi */
    padding: 10px 15px; /* Wewnętrzne odstępy */
    margin-bottom: 15px; /* Odstęp od reszty sekcji */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtelny cień */
    flex-wrap: wrap;
    gap: 10px;
}

/* Stylizacja przycisków w nagłówku */
.area-card-header .area-card-btn {
    background-color: #ED1878; /* Akcentowy kolor */
    color: #fff;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}
.area-card-btn.badge-info {
    background-color: #003E7E;
    color: #fff;
}
.area-card-header .area-card-btn:hover {
    background-color: #003E7E; /* Zmiana koloru przy hover */
    transform: translateY(-2px); /* Efekt unoszenia */
}

/* Stylizacja statusu */
.area-card-header .area-card-status {
    font-size: 14px;
    font-weight: 600;
    color: #003E7E; /* Kolor tekstu */
    text-transform: uppercase;
    background: rgba(0, 62, 126, 0.1); /* Tło statusu */
    padding: 6px 6px;
    border-radius: 16px;
}
/* .area-card-header .area-card-status.badge-info {
    background: #003E7E; 
    color: #fff;
} */
.area-card-header .area-card-status.badge-pink {
    background: #ED1878; 
    color: #fff;
}

/* Stylizacja tytułu area-card-title */
.area-card-title {
    margin-top: 20px; /* Odstęp od góry */
    text-align: center; /* Wyśrodkowanie tekstu */
    font-size: 20px; /* Rozmiar czcionki */
    font-weight: 700; /* Pogrubienie */
    color: #003E7E; /* Kolor tekstu */
    text-transform: uppercase; /* Wielkie litery */
    letter-spacing: 1px; /* Odstępy między literami */
    line-height: 1.4; /* Wysokość linii */
    transition: color 0.3s ease; /* Płynna zmiana koloru */
}

.area-card-title h3 {
    margin: 0; /* Usuń domyślne marginesy */
    font-size: inherit; /* Dziedziczenie rozmiaru czcionki */
    font-weight: inherit; /* Dziedziczenie pogrubienia */
    color: inherit; /* Dziedziczenie koloru */
}

/* Efekt hover dla tytułu */
.area-card-title:hover {
    color: #ED1878; /* Zmiana koloru na akcentowy przy hover */
}

/* Custom radio buttons for .labels-types-wrapper */
.labels-types-wrapper{
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    flex-direction: column;
    font-size: 16px;
}
.types-labels{
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 999px;
    padding: 6px 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    margin-bottom: 0.5rem;
}
.types-labels input[type="radio"]{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.types-text{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.types-text::before{
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    display: inline-block;
    box-sizing: border-box;
    background: transparent;
}
.types-labels input[type="radio"]:checked + .types-text{
    background: rgba(237,24,120,0.08);
}
.types-labels input[type="radio"]:checked + .types-text::before{
    background: #ED1878;
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(237,24,120,0.08);
}
.types-labels:hover{
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

@media (max-width: 576px) {
    .labels-types-wrapper{ gap: 8px; }
    .types-labels{ padding: 8px 10px; font-size: 16px; }
}

/* Stylizacja sekcji area-card-info */
.area-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px; /* Odstępy między elementami */
    background: rgba(0, 62, 126, 0.05);
    border: 1px solid rgba(0, 62, 126, 0.1); /* Subtelna ramka */
    border-radius: 8px; /* Zaokrąglone rogi */
    padding: 15px; /* Wewnętrzne odstępy */
    margin-top: 20px; /* Odstęp od góry */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* Subtelny cień */
}

/* Stylizacja pojedynczego boxa w area-card-info */
.area-card-info .area-info-box {
    flex: 1 1 calc(33.333% - 20px); /* Trzy kolumny w rzędzie */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: #fff; /* Białe tło */
    border-radius: 6px; /* Zaokrąglone rogi */
    padding: 10px 10px; /* Wewnętrzne odstępy */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* Subtelny cień */
    text-align: left;
}

/* Stylizacja etykiety */
.area-card-info .info-label {
    font-size: 14px;
    font-weight: 600;
    color: #003E7E; /* Kolor tekstu */
    margin-bottom: 5px;
}

/* Stylizacja wartości */
.area-card-info .info-value {
    font-size: 16px;
    font-weight: bold;
    color: #404041;
}

/* Stylizacja sekcji area-card-image */
.area-card-image {
    position: relative;
    overflow: hidden; /* Ukrycie elementów wychodzących poza kontener */
    border-radius: 8px; /* Zaokrąglone rogi */
    margin-top: 15px; /* Odstęp od góry */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtelny cień */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animacja */
    height: 400px;
    display: flex;
    align-items: center;
}

.area-card-image img {
    width: 100%; /* Obraz zajmuje całą szerokość kontenera */
    height: auto; /* Zachowanie proporcji obrazu */
    display: block; /* Usunięcie odstępów poniżej obrazu */
    transition: transform 0.3s ease; /* Animacja przy hover */
}

/* Stylizacja sekcji area-slider */
.area-slider {
    width: 100%;
    margin-top: 20px; /* Odstęp od góry */
    padding: 20px; /* Wewnętrzne odstępy */
    background: rgba(0, 62, 126, 0.05); /* Delikatne tło */
    border-radius: 8px; /* Zaokrąglone rogi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtelny cień */
}

/* Tytuł slidera */
.area-slider .slider-title {
    font-size: 18px;
    font-weight: 700;
    color: #003E7E; /* Kolor tekstu */
    text-align: center;
    margin-bottom: 15px; /* Odstęp od slidera */
}

/* Kontener Swipera */
.area-slider .swiper {
    width: 100%; /* Pełna szerokość */
}

/* Stylizacja slajdów */
.area-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff; /* Białe tło */
    border-radius: 8px; /* Zaokrąglone rogi */
    overflow: hidden; /* Ukrycie elementów wychodzących poza kontener */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtelny cień */
    transition: transform 0.3s ease; /* Animacja przy hover */
}

.area-slider .swiper-slide img {
    width: 100%; /* Obraz zajmuje całą szerokość slajdu */
    height: auto; /* Zachowanie proporcji obrazu */
    display: block;
}

/* Efekt hover dla slajdów */
.area-slider .swiper-slide:hover {
    transform: scale(1.05); /* Powiększenie slajdu */
}

/* Nawigacja Swipera */
.area-slider .swiper-button-next,
.area-slider .swiper-button-prev {
    color: #003E7E; /* Kolor strzałek */
    transition: color 0.3s ease; /* Płynna zmiana koloru */
}

.area-slider .swiper-button-next:hover,
.area-slider .swiper-button-prev:hover {
    color: #ED1878; /* Akcentowy kolor przy hover */
}

/* Paginacja Swipera */
.area-slider .swiper-pagination-bullet {
    background: #003E7E; /* Kolor kropek */
    opacity: 0.7; /* Przezroczystość kropek */
    transition: opacity 0.3s ease, background 0.3s ease;
}

.area-slider .swiper-pagination-bullet-active {
    background: #ED1878; /* Akcentowy kolor aktywnej kropki */
    opacity: 1; /* Pełna widoczność aktywnej kropki */
}

/* Stylizacja kontenera wyników */
.area-count {
    width: 200px;
    background: #F7F9FC; /* Jasne tło */
    border: 1px solid #E5ECF4; /* Delikatna obwódka */
    border-radius: 12px; /* Zaokrąglone rogi */
    padding: 15px 20px; /* Odstępy wewnętrzne */
    font-size: 18px; /* Rozmiar czcionki */
    color: #2E3A45; /* Neutralny kolor tekstu */
    text-align: center; /* Wyśrodkowanie tekstu */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Delikatny cień */
    line-height: 32px;
}

/* Stylizacja liczby wyników */
.area-count strong {
    font-size: 22px; /* Większy rozmiar czcionki dla liczby */
    font-weight: 700; /* Mocniejsze pogrubienie */
    color: #003E7E; /* Kolor brandowy */
}

/* Stylizacja komunikatu o braku wyników */
.no-results {
    text-align: center; /* Wyśrodkowanie tekstu */
    font-size: 20px; /* Większy rozmiar czcionki */
    font-weight: 600; /* Pogrubienie tekstu */
    color: #ED1878; /* Akcentowy różowy kolor */
    background: #F7F9FC; /* Jasne tło */
    border: 1px solid #E5ECF4; /* Delikatna obwódka */
    border-radius: 12px; /* Zaokrąglone rogi */
    padding: 20px; /* Odstępy wewnętrzne */
    margin: 30px auto; /* Odstępy zewnętrzne i wyśrodkowanie */
    max-width: 600px; /* Maksymalna szerokość */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Delikatny cień */
}

/* Stylizacja przycisku "Wyczyść filtry" */
.btn-clear {
    background: #003E7E; /* Jasne tło */
    color: #fff; /* Kolor brandowy */
    border: none; /* Obwódka w kolorze brandowym */
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0; /* Odstęp od przycisku "Szukaj" */
    width: 185px;
}

.btn-clear:hover {
    transition: all 0.3s ease;
    background: #ED1878; /* Kolor brandowy przy hover */
    color: #fff; /* Biały tekst przy hover */
}
.area-slider .listSwiper img{
    aspect-ratio: 1/1;
    width: auto;
    object-fit: contain;
}
.listSwiper .swiper-wrapper{
    max-width: 300px;
    align-items: center;
}