body {
    font-family: 'Raleway', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}
h1, h2, h3, h4, h5, h6, .navbar-brand, .pricing-card-title {
    font-weight: 500;
}

p, a, li, span, div {
    font-weight: 400;
}
.ad-card {
    transition: transform .2s, box-shadow .2s;
    position: relative;
    border: 1px solid #dee2e6;
}
.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
.ad-card img {
    height: 350px;
    object-fit: cover;
}
.vip-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffc107;
    color: #212529;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
}
.navbar-brand > img {
    width: 87px;
    height: 85px;
}
/* Admin Panel */
.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background-color: #343a40;
    padding-top: 1rem;
}
.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: .75rem 1rem;
}
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    color: #fff;
    background-color: #495057;
}
.admin-sidebar .nav-link .bi {
    margin-right: 0.5rem;
}
.photo-management-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.carousel-thumbnails-wrapper {
    overflow-x: auto; /* Leidžia slankioti horizontaliai, jei miniatiūros netelpa */
    padding-bottom: 10px; /* Sukuria šiek tiek erdvės slankjuostei */
}

.carousel-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 10px; /* Tarpas tarp miniatiūrų */
}

.carousel-thumbnail-img {
    width: 100px;  /* Miniatiūros plotis */
    height: 100px; /* Miniatiūros aukštis */
    object-fit: cover; /* Užtikrina, kad nuotrauka užpildytų visą plotą, neprarandant proporcijų */
    border-radius: .25rem; /* Suapvalinti kampai, kaip ir pagrindinės nuotraukos */
    cursor: pointer;
    border: 3px solid transparent; /* Skaidrus rėmelis */
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.carousel-thumbnail-img:hover {
    opacity: 1;
}

/* Aktyvios miniatiūros stilius */
.carousel-thumbnail-img.active {
    opacity: 1;
    border-color: #8ad680; /* Naudojame geltoną spalvą, panašią į VIP ženkliuko */
}

/* Stiliai pagrindinio puslapio miestų nuorodoms */
.city-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 15px; /* tarpas tarp eilučių ir stulpelių */
}

.city-link {
    text-decoration: none;
    color: #6c757d; /* Bootstrap 'secondary' spalva */
    font-size: 0.9rem;
    padding: 4px 7px;
    border: 1px solid #d4e8d9;
    transition: all 0.2s ease-in-out;
    min-width: 145px;
    border-radius: 5px;
}
.city-link.active {
    border: 1px solid #8ad680;
    font-weight: 600;
}
.city-link:hover {
    color: #000;
    background-color: #f8f9fa; /* Bootstrap 'light' spalva */
}

/* Stiliai VIP karuselei */
#vipCarousel .carousel-control-prev,
#vipCarousel .carousel-control-next {
    width: 5%; /* Sumažiname mygtukų plotį */
}

#vipCarousel .carousel-control-prev-icon,
#vipCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Tamsus fonas, kad būtų geriau matomi */
    border-radius: 50%;
    padding: 20px;
    background-size: 50% 50%;
}

/* Paslepiame mygtukus mažuose ekranuose, kur telpa tik 1-2 skelbimai */

@media (min-width: 576px) {

}
@media (min-width: 992px) {

}
@media (min-width: 1200px) {

}

@media (max-width: 575.98px) {
    hr {
        margin: 1rem 0;
    }
}
@media (max-width: 767.98px) {
    .col-6 {
        padding: 5px;
    }
    .ad-card img {
        height: 220px;
    }
    .carousel-item .mb-4 {
        margin-bottom: 0px !important;
    }
    /*.navbar-brand > img {
        height: 24px;
    }*/
    .navbar-toggler {
        margin-left: unset;
        padding: 0.25rem;
    }
    #vipCarousel .carousel-control-prev,
    #vipCarousel .carousel-control-next {
        display: none;
    }
    .title {
        font-size: 26px;
    }
    .subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }
    .card-body {
        padding: 15px !important;
    }
    h3.title {
        font-size: 16px;
    }
    h5.card-title, .card-body {
        font-size: 13px;
    }
    .city-link {
        min-width: 154px;
    }
    .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    .city-links {
        gap: 5px;
    }
    .search-form-home.mb-5 {
        margin-bottom: 20px !important;
    }
    footer a {
        font-size: 14px;
    }
}
@media (max-width: 991.98px) {

}
@media (max-width: 1199.98px) {

}
@media (max-width: 1399.98px) {

}

[name="gender"].form-select {
    background-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20MIT.%20Made%20by%20phosphor%3A%20https%3A%2F%2Fgithub.com%2Fphosphor-icons%2Fphosphor-icons%20--%3E%3Csvg%20fill%3D%22%23000000%22%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%220%200%20256%20256%22%20id%3D%22Flat%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M215.96008%2C23.20947c-.01117-.11377-.03271-.22412-.04858-.33642-.02069-.146-.038-.29248-.06671-.4375-.026-.13086-.0622-.2583-.09461-.38721-.03106-.124-.05829-.24854-.09546-.37158-.03839-.12647-.08593-.24854-.13037-.37256-.04382-.12256-.08429-.24609-.13427-.3667-.04779-.11523-.104-.22559-.157-.33838-.05835-.124-.11358-.249-.17865-.3706-.05774-.10791-.12359-.21-.186-.31495-.07111-.11914-.13873-.24023-.21661-.35644-.07593-.11328-.16059-.22022-.242-.3291-.07464-.1001-.14429-.20264-.22424-.3003-.1521-.18505-.31384-.36181-.48175-.53271-.01654-.01709-.0304-.03564-.04712-.05225-.01935-.01953-.04077-.03515-.0603-.05468-.16852-.165-.34253-.32422-.525-.47413-.09424-.07763-.19366-.145-.29053-.21728-.1123-.084-.22229-.1709-.339-.249-.11236-.0752-.229-.14063-.34423-.20948-.109-.06494-.2157-.1333-.32807-.19384-.115-.06153-.23328-.11329-.35058-.16895-.11963-.05664-.23749-.11621-.3603-.167-.11077-.0459-.22387-.08252-.33618-.123-.13421-.04883-.267-.09961-.40442-.1416-.10833-.03223-.2185-.05615-.32788-.084-.14325-.03663-.28515-.07666-.43145-.10547-.12085-.02393-.24286-.03711-.36451-.05567-.13653-.02051-.27142-.04541-.41009-.05908-.20184-.01953-.40436-.02588-.60693-.03076C208.11768%2C16.00781%2C208.05981%2C16%2C208%2C16H168a8%2C8%2C0%2C0%2C0%2C0%2C16h20.686L164.25226%2C56.43359A67.97439%2C67.97439%2C0%2C1%2C0%2C112%2C175.51367V196H88a8%2C8%2C0%2C0%2C0%2C0%2C16h24v20a8%2C8%2C0%2C0%2C0%2C16%2C0V212h24a8%2C8%2C0%2C0%2C0%2C0-16H128V175.51367A67.9301%2C67.9301%2C0%2C0%2C0%2C175.09692%2C68.2168L200%2C43.314V64a8%2C8%2C0%2C0%2C0%2C16%2C0V24.00244C216.00006%2C23.73779%2C215.98608%2C23.47314%2C215.96008%2C23.20947ZM120%2C160a52%2C52%2C0%2C1%2C1%2C52-52A52.059%2C52.059%2C0%2C0%2C1%2C120%2C160Z%22%2F%3E%3C%2Fsvg%3E);
    background-size: 20px 20px;

}
[name="city"].form-select {
    background-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!--%20License%3A%20MIT.%20Made%20by%20Mehdi%20Namvar%3A%20https%3A%2F%2Fgitlab.com%2Famir_habibzadeh%2Ficons%20--%3E%3Csvg%20fill%3D%22%23000000%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%20viewBox%3D%220%200%2024%2024%22%20xml%3Aspace%3D%22preserve%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E.st0%7Bfill%3Anone%3B%7D%3C%2Fstyle%3E%3Cpath%20d%3D%22M12%2C2C8.7%2C2%2C6%2C4.7%2C6%2C8c0%2C5.2%2C6%2C11.1%2C6%2C11.1s6-6%2C6-11.1C18%2C4.7%2C15.3%2C2%2C12%2C2z%20M12%2C5.9c1.1%2C0%2C2.1%2C1%2C2.1%2C2.1c0%2C1.2-0.9%2C2.1-2.1%2C2.1S9.9%2C9.1%2C9.9%2C8C9.9%2C6.8%2C10.9%2C5.9%2C12%2C5.9z%20M6.8%2C15.1c-1.3%2C0.3-2.3%2C0.6-3.2%2C1c-0.4%2C0.2-0.8%2C0.5-1.1%2C0.8S2%2C17.8%2C2%2C18.3c0%2C0.8%2C0.5%2C1.4%2C1.1%2C1.8s1.3%2C0.7%2C2.2%2C1C7.1%2C21.7%2C9.4%2C22%2C12%2C22s4.9-0.3%2C6.7-0.8c0.9-0.3%2C1.6-0.6%2C2.2-1s1.1-1%2C1.1-1.8c0-1-0.8-1.7-1.6-2.2c-0.8-0.5-1.9-0.8-3.2-1l-0.3%2C2c1.1%2C0.2%2C2%2C0.5%2C2.6%2C0.8c0.4%2C0.2%2C0.5%2C0.4%2C0.6%2C0.4c0%2C0-0.1%2C0.1-0.2%2C0.2c-0.3%2C0.2-0.9%2C0.5-1.6%2C0.7C16.6%2C19.7%2C14.4%2C20%2C12%2C20s-4.6-0.3-6.1-0.8c-0.7-0.2-1.3-0.5-1.6-0.7c-0.1-0.1-0.2-0.2-0.2-0.2c0.1-0.1%2C0.2-0.2%2C0.5-0.4c0.6-0.3%2C1.5-0.6%2C2.7-0.8L6.8%2C15.1z%22%2F%3E%3Crect%20class%3D%22st0%22%20width%3D%2224%22%20height%3D%2224%22%2F%3E%3C%2Fsvg%3E);
    background-size: 20px 20px;
}

/* Stiliai nuotraukų valdymo ženkliukams (badges) */
.photo-badges {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photo-badges .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.5em;
}

/* Patamsiname nuotrauką, jei ji laukia patvirtinimo, kad būtų aiškiau */
.photo-management-grid .card-img-top {
    transition: filter 0.2s ease-in-out;
}

.photo-management-grid .card:has(.badge.bg-info) .card-img-top {
    filter: grayscale(80%) brightness(0.8);
}

#age-verification-modal .modal-backdrop.show {
    opacity: .85;
}
/* -------------------------------------------------- admin panel --*/
.tox-statusbar__branding,
.tox-promotion a[href*="tiny.cloud"],
.tox-statusbar a[href*="tiny.cloud"] {
    display: none !important;
}
.admin-main-content .form-select {
    padding: 0.5rem 2rem 0.5rem 0.5rem;
}

/* small scoped styles for dropzone */
.border-dashed { border: 2px dashed rgba(0,0,0,0.12); border-radius: .5rem; cursor: pointer; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.01)); }
#dropzone.dragover { background: rgba(0,123,255,0.03); border-color: rgba(0,123,255,0.6); }
.preview-thumb { position: relative; overflow: hidden; border-radius: .5rem; }
.preview-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.preview-remove { position:absolute; top:.25rem; right:.25rem; background: rgba(0,0,0,0.6); color:#fff; border:none; border-radius:50%; width:28px; height:28px; display:flex; align-items:center; justify-content:center; }
.preview-meta { font-size:.85rem; color:#666; }
.form-text { font-size:.85rem; }

/* basic email preview styles */
#email-preview-body p { line-height:1.6; }
#email-preview-body h1,#email-preview-body h2,#email-preview-body h3 { margin-top:0; }