/* ============================================
   Private+ Main Styles - Light Theme
   BG: #F2F2F2 | Cards: #FFFFFF | Buttons: #2F6BFF | Text: #1A1A1A | Lines: #D6D6D6
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url("../css/header_footer.css");
@import url("../css/auth.css");

html {
    scroll-behavior: smooth;
}

/* ===== Autofill Fix ===== */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
    -webkit-text-fill-color: #1A1A1A !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* ===== BASE ===== */
body {
    font-family: "Inter", "Poppins", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #1A1A1A;
    background: #F2F2F2;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
a, a:hover {
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: #2F6BFF;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
::selection {
    background: #2F6BFF;
    color: #fff;
}

/* ===== LAYOUT ===== */
main {
    padding: 0;
    min-height: 60vh;
}
.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.location-area {
    margin: 0;
    position: relative;
    padding: 70px 0 50px;
}

/* ===== HOME BANNER ===== */
.home-banner {
    background: #FFFFFF;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 100px 0 30px;
    border-bottom: 1px solid #D6D6D6;
}
.bnr-txt {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.bnr-txt h1 {
    font-weight: 700;
    font-size: 32px;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.3;
}
.bnr-txt p {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 0;
    color: #777;
    display: none;
}

/* ===== COMMON BUTTON ===== */
.comn-btn {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    background: #2F6BFF;
    border: none;
    color: #fff;
    padding: 10px 24px;
    display: inline-block;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}
.comn-btn:hover {
    background: #1a56e6;
    color: #fff;
}
.comn-btn::before,
.comn-btn::after {
    display: none;
}

/* ===== SEARCH BAR (xdate-style) ===== */
.search-bar {
    background: #FFFFFF;
    padding: 16px 20px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #D6D6D6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-bar .search-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}
.search-bar .search-field {
    flex: 1;
    min-width: 0;
}
.search-bar .search-field label {
    display: block;
    color: #888;
    font-size: 11px;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.search-bar .search-field select,
.search-bar .search-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D6D6D6;
    border-radius: 6px;
    background: #FFFFFF;
    color: #1A1A1A;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    appearance: auto;
    -webkit-appearance: auto;
    outline: none;
    transition: border-color 0.2s;
}
.search-bar .search-field select:focus,
.search-bar .search-field input:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}
.search-bar .search-field select option {
    background: #FFFFFF;
    color: #1A1A1A;
}
.search-bar .search-field input::placeholder {
    color: #aaa;
}

/* ===== Multi-Dropdown (Checkbox-Dropdown) ===== */
.multi-dropdown {
    position: relative;
}
.multi-dropdown-toggle {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D6D6D6;
    border-radius: 6px;
    background: #FFFFFF;
    font-size: 14px;
    color: #1A1A1A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: border-color 0.2s;
    user-select: none;
}
.multi-dropdown-toggle:hover {
    border-color: #2F6BFF;
}
.multi-dropdown-toggle svg {
    flex-shrink: 0;
    color: #888;
    transition: transform 0.2s;
}
.multi-dropdown-menu.show + .multi-dropdown-toggle svg,
.multi-dropdown-toggle.open svg {
    transform: rotate(180deg);
}
.multi-dropdown-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.multi-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    min-width: 240px;
    max-height: 320px;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 6px 0;
}
.multi-dropdown-menu.show {
    display: block;
}
.multi-dropdown-group {
    padding: 8px 14px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #eee;
    margin-top: 4px;
}
.multi-dropdown-group:first-child {
    border-top: none;
    margin-top: 0;
}
.multi-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    font-size: 13px;
    color: #1A1A1A;
    cursor: pointer;
    transition: background 0.15s;
    margin: 0;
}
.multi-dropdown-item:hover {
    background: #f5f7ff;
}
.multi-dropdown-item input[type="checkbox"] {
    accent-color: #2F6BFF;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}
.multi-dropdown-item span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Scrollbar Styling */
.multi-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.multi-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}
.multi-dropdown-menu::-webkit-scrollbar-thumb {
    background: #D6D6D6;
    border-radius: 3px;
}
.multi-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.search-bar .search-btn {
    background: #2F6BFF;
    border: 1px solid #2F6BFF;
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.search-bar .search-btn:hover {
    background: #1a56e6;
    border-color: #1a56e6;
}
.search-bar .search-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
}
.search-bar .search-checks {
    display: flex;
    align-items: center;
    gap: 16px;
}
.search-bar .search-checks label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 13px;
    cursor: pointer;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}
.search-bar .search-checks input[type="checkbox"] {
    accent-color: #2F6BFF;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.search-bar .search-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.search-bar .result-count {
    color: #2F6BFF;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* ===== RESPONSIVE: Tablet (max 991px) ===== */
@media (max-width: 991px) {
    .search-bar .search-row {
        flex-wrap: wrap;
    }
    .search-bar .search-field {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    .search-bar .search-field[style*="max-width"] {
        max-width: none !important;
        flex: 1 1 calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
    }
    .search-bar .search-row > div[style*="align-self"] {
        flex: 1 1 100%;
    }
    .search-bar .search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== RESPONSIVE: Mobile (max 767px) ===== */
@media (max-width: 767px) {
    .search-bar {
        padding: 12px 14px;
    }
    .search-bar .search-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .search-bar .search-field {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: calc(50% - 4px) !important;
    }
    .search-bar .search-field[style*="max-width"] {
        max-width: none !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        width: calc(50% - 4px) !important;
    }
    .search-bar .search-row > div[style*="align-self"] {
        flex: 1 1 100%;
    }
    .search-bar .search-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    .search-bar .search-extras {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .search-bar .search-checks {
        flex-wrap: wrap;
        gap: 8px 14px;
        justify-content: flex-start;
    }
    .search-bar .search-checks label {
        font-size: 13px;
    }
    .search-bar .search-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: 0;
        width: 100%;
    }
    .search-bar .search-actions .my-location-btn,
    .search-bar .search-actions .reset-filters-btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        padding: 8px 10px;
        box-sizing: border-box;
    }
    .search-bar .search-actions .result-count {
        flex: 1 1 100%;
        text-align: center;
    }
    .title-line {
        flex-wrap: wrap;
        gap: 10px;
    }
    .title-line h2 {
        font-size: 18px;
    }
    .listing-grid {
        grid-template-columns: 1fr;
    }
    .listing-card-img {
        width: 130px;
        min-width: 130px;
        height: 160px;
    }
    .listing-card-top .listing-card-img {
        width: 160px;
        min-width: 160px;
        height: 180px;
    }
    #map {
        height: 400px !important;
    }
}

/* ===== RESPONSIVE: Small Mobile (max 480px) ===== */
@media (max-width: 480px) {
    .search-bar {
        padding: 10px 12px;
    }
    .search-bar .search-field label {
        font-size: 10px;
    }
    .search-bar .search-field select,
    .search-bar .search-field input {
        padding: 9px 10px;
        font-size: 13px;
    }
    .search-bar .search-checks {
        gap: 6px 12px;
    }
    .search-bar .search-checks label {
        font-size: 12px;
    }
    .search-bar .search-checks .my-location-btn,
    .search-bar .search-checks .reset-filters-btn {
        font-size: 12px;
        padding: 7px 8px;
    }
    .listing-card-img {
        width: 110px;
        min-width: 110px;
        height: 140px;
    }
    .listing-card-title {
        font-size: 14px;
    }
    .listing-card-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

/* ===== TITLE LINE (List/Map toggle) ===== */
.title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}
.title-line h2 {
    font-weight: 600;
    font-size: 20px;
    color: #1A1A1A;
    margin-bottom: 0;
}

/* ===== CUSTOM NAV (List/Map) ===== */
.cstm-nav {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    padding: 3px;
    border-radius: 8px;
}
.cstm-nav .nav {
    gap: 4px;
    flex-wrap: nowrap;
}
.cstm-nav .nav .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #888;
    transition: all 0.2s;
}
.cstm-nav .nav .nav-link:hover {
    color: #1A1A1A;
}
.cstm-nav .nav .nav-link.active {
    background: #2F6BFF;
    color: #fff;
}
.cstm-nav .nav .nav-link.active svg g {
    opacity: 1;
}
.cstm-nav .nav .nav-link.active svg path {
    stroke: #fff;
    fill: #fff;
}
.cstm-nav .nav .nav-link svg path {
    stroke: #888;
}

/* ===== LISTING CARDS (xdate-style 2-column) ===== */
.listing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Single listing card - horizontal layout */
.listing-card {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.listing-card:hover {
    border-color: #2F6BFF;
    box-shadow: 0 4px 16px rgba(47, 107, 255, 0.08);
    color: inherit;
    text-decoration: none;
}

.listing-card-img {
    width: 180px;
    min-width: 180px;
    height: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}
.listing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.listing-card-title {
    font-weight: 600;
    font-size: 15px;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.listing-card-time {
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
    margin-left: 10px;
    flex-shrink: 0;
}
.listing-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.listing-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.listing-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #2F6BFF;
    font-weight: 500;
}
.listing-card-tag svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.listing-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #2F6BFF;
    font-weight: 400;
}
.listing-card-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Badge styles */
.badge-premium {
    display: inline-block;
    background: #2F6BFF;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #22c55e;
    font-weight: 500;
}
.badge-verified svg {
    width: 14px;
    height: 14px;
}

/* TOP AD card - full width */
.listing-card-top {
    grid-column: 1 / -1;
}
.listing-card-top .listing-card {
    width: 100%;
}
.listing-card-top .listing-card-img {
    width: 280px;
    min-width: 280px;
    height: 240px;
}
.listing-card-top .listing-card-title {
    font-size: 18px;
}
.listing-card-top .listing-card-desc {
    -webkit-line-clamp: 4;
}
.listing-card-top .badge-premium {
    background: #2F6BFF;
    font-size: 11px;
    padding: 3px 10px;
}

/* ===== LEGACY escort-box ===== */
.escort-box {
    display: flex;
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
    height: 100%;
    flex-flow: column;
    position: relative;
}
.escort-box:hover {
    border-color: #2F6BFF;
    box-shadow: 0 4px 16px rgba(47, 107, 255, 0.08);
}
.escort-img {
    width: 100%;
    position: relative;
    height: 220px;
    overflow: hidden;
}
.escort-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.escort-txt {
    padding: 14px 16px;
    flex: 1;
}
.escort-txt h3 {
    font-weight: 600;
    font-size: 15px;
    color: #1A1A1A;
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.escort-txt p {
    font-weight: 400;
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    line-height: 1.5;
}
.escort-txt a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 13px;
    color: #2F6BFF;
    margin-bottom: 4px;
}
.escort-txt a:last-child {
    margin-bottom: 0;
}
.escort-txt span {
    color: #2F6BFF !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
.escort-txt span svg path {
    stroke: #2F6BFF !important;
    fill: #2F6BFF !important;
}
.verify-profl {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0 8px 8px 0;
}
.wd-mb-24 {
    margin-bottom: 12px;
}

/* ===== FILTER AREA (legacy) ===== */
.filter-area {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.filter-area .form-group {
    margin-bottom: 0;
    position: relative;
}
.filter-area .form-control {
    padding: 12px 16px 12px 40px;
    font-weight: 400;
    font-size: 14px;
    color: #1A1A1A;
    border: none;
    border-right: 1px solid #D6D6D6;
    width: 100%;
    border-radius: 0;
    background: transparent;
}
.filter-area .form-control:focus {
    box-shadow: none;
    border-color: #2F6BFF;
}
.filter-area .form-control::placeholder {
    color: #aaa;
}
.fltr-icon {
    position: absolute;
    top: 0;
    left: 0;
    margin: 12px 12px;
}
.fltr-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2F6BFF;
    border: transparent;
    padding: 12px 30px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    transition: background 0.2s;
    cursor: pointer;
}
.fltr-btn:hover {
    background: #1a56e6;
}

/* ===== PAGINATION ===== */
.pagination {
    padding-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.page-link {
    border: 1px solid #D6D6D6;
    width: 32px;
    min-width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    background: #FFFFFF;
    color: #555;
    box-shadow: none;
    transition: all 0.2s;
}
.page-link:hover {
    background: #F2F2F2;
    color: #1A1A1A;
    border-color: #2F6BFF;
}
.page-item.active .page-link {
    background: #2F6BFF;
    color: #fff;
    border-color: #2F6BFF;
}
.page-item.disabled .page-link {
    background: #F2F2F2;
    color: #ccc;
    border-color: #D6D6D6;
}
.page-link svg path {
    stroke: #888;
}
.page-item.active .page-link svg path {
    stroke: #fff;
}

/* ===== MAP ===== */
#map {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    border: 1px solid #D6D6D6;
    overflow: hidden;
}
.leaflet-marker-icon.rounded-icon {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(47, 107, 255, 0.4);
    border: 2px solid #2F6BFF;
}

/* ===== INNER BANNER (Detail/Account pages) ===== */
.inr_banner {
    background: #FFFFFF;
    padding: 90px 0 30px;
    border-bottom: 1px solid #D6D6D6;
}
.inr_banner h2 {
    font-weight: 700;
    font-size: 24px;
    color: #1A1A1A;
    margin-bottom: 8px;
}
.inr_banner p {
    color: #777;
    font-size: 14px;
}
.inr_banner a {
    color: #2F6BFF;
    font-size: 14px;
}
.inr_banner a:hover {
    color: #1a56e6;
}

/* ===== DETAIL PAGE ===== */
.detail-page {
    padding: 20px 0 50px;
}
.detail-title {
    font-weight: 700;
    font-size: 24px;
    color: #1A1A1A;
    margin-bottom: 10px;
}
.detail-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}
.detail-badge-premium {
    background: #2F6BFF;
    color: #fff;
}
.detail-badge-verified {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Image gallery */
.detail-gallery {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #F2F2F2;
}
.detail-gallery .owl-carousel .owl-item img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #F2F2F2;
}

/* More Services Carousel */
.more-services-carousel {
    position: relative;
}
.more-services-carousel .owl-nav {
    position: absolute;
    top: -45px;
    right: 0;
    display: flex;
    gap: 6px;
}
.more-services-carousel .owl-nav button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.more-services-carousel .owl-nav button:hover {
    background: #e8e8e8 !important;
}
.more-service-card {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.more-service-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.more-service-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}
.more-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.more-service-body {
    padding: 12px 14px;
}
.more-service-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 6px 0;
    line-height: 1.3;
}
.more-service-desc {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 10px 0;
}
.more-service-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.more-service-tag {
    font-size: 11px;
    color: #2F6BFF;
    font-weight: 500;
}
.more-service-location {
    font-size: 11px;
    color: #2F6BFF;
    display: flex;
    align-items: center;
    gap: 3px;
}

@media (max-width: 767px) {
    .detail-gallery .owl-carousel .owl-item img {
        height: 300px;
    }
    .more-service-img {
        height: 180px;
    }
}

/* Detail content */
.detail-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}
.detail-main {
    min-width: 0;
}
.detail-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

/* Detail sections */
.detail-section {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}
.detail-section h4 {
    font-weight: 600;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D6D6D6;
}
.detail-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Contact card */
.contact-card {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}
.contact-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D6D6D6;
    margin-bottom: 12px;
}
.contact-card h5 {
    font-weight: 600;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 4px;
}
.contact-card p {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
}
.contact-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #2F6BFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
}
.contact-btn:hover {
    background: #1a56e6;
    color: #fff;
}

/* Detail tags */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.detail-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #F2F2F2;
    border: 1px solid #D6D6D6;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
}

/* ===== LEGACY DETAIL PAGE CLASSES ===== */
.inr_slider {
    margin-bottom: 20px;
}
.inr_slider .owl-carousel .owl-item img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}
.post_blog {
    padding: 20px 0;
}
.post_blog .row {
    --bs-gutter-x: 24px;
}
.profl_card {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}
.profl_card .profl_img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D6D6D6;
    margin: 0 auto 12px;
    display: block;
}
.profl_card h5 {
    font-weight: 600;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 4px;
}
.profl_card p {
    font-size: 13px;
    color: #777;
}
.profl_card .gender_badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}
.profl_card .gender_badge.male {
    background: rgba(47, 107, 255, 0.1);
    color: #2F6BFF;
}
.profl_card .gender_badge.female {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}
.profl_card .contact_btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #2F6BFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    margin-top: 12px;
}
.profl_card .contact_btn:hover {
    background: #1a56e6;
    color: #fff;
}
.social_links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}
.social_links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #F2F2F2;
    border: 1px solid #D6D6D6;
    color: #555;
    transition: all 0.2s;
    font-size: 14px;
}
.social_links a:hover {
    background: #2F6BFF;
    border-color: #2F6BFF;
    color: #fff;
}
.availability_list {
    margin-top: 12px;
}
.availability_list .day-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}
.availability_list .day-row:last-child {
    border-bottom: none;
}
.availability_list .day-name {
    color: #555;
    font-weight: 500;
}
.availability_list .day-status {
    color: #22c55e;
    font-weight: 500;
}
.availability_list .day-status.closed {
    color: #ccc;
}

.post_details {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}
.post_details h4,
.post_details h3 {
    font-weight: 600;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D6D6D6;
}
.post_details p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.post_details .interest_list,
.post_details .serv_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.post_details .interest_list span,
.post_details .serv_list span {
    display: inline-block;
    padding: 4px 12px;
    background: #F2F2F2;
    border: 1px solid #D6D6D6;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
}

/* More services carousel */
.post_boxes {
    padding: 30px 0;
}
.post_boxes h3 {
    font-weight: 600;
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 20px;
}

/* ===== OWL CAROUSEL OVERRIDES ===== */
.owl-carousel .owl-nav button {
    background: #FFFFFF !important;
    border: 1px solid #D6D6D6 !important;
    border-radius: 50% !important;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #1A1A1A !important;
    font-size: 18px !important;
    transition: all 0.2s;
}
.owl-carousel .owl-nav button:hover {
    background: #2F6BFF !important;
    border-color: #2F6BFF !important;
    color: #fff !important;
}
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 12px;
}
.owl-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: #D6D6D6;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    transition: all 0.2s;
}
.owl-carousel .owl-dots .owl-dot.active span {
    background: #2F6BFF;
    width: 20px;
    border-radius: 4px;
}

/* ===== MODALS ===== */
.modal-bx .modal-content {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 14px;
    color: #1A1A1A;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-bx .modal-header {
    border-bottom: 1px solid #D6D6D6;
    padding: 16px 20px;
    display: flex;
    justify-content: center;
}
.modal-bx .modal-header img {
    height: 32px;
}
.modal-bx .modal-body {
    padding: 24px;
}
.modal-bx .modal-body h3 {
    font-weight: 700;
    font-size: 20px;
    color: #1A1A1A;
    margin-bottom: 8px;
    text-align: center;
}
.modal-bx .modal-body p {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-bottom: 20px;
}
.modal-bx .form-control {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #1A1A1A;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.modal-bx .form-control:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
    background: #FFFFFF;
    color: #1A1A1A;
}
.modal-bx .form-control::placeholder {
    color: #aaa;
}
.modal-bx .header-btn {
    width: 100%;
    background: #2F6BFF;
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    text-align: center;
    margin-top: 16px;
}
.modal-bx .header-btn:hover {
    background: #1a56e6;
}
.modal-bx .btn-close {
    filter: none;
}

/* OTP inputs */
.otp_bx {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.otp_bx .otp-input,
.otp-input {
    width: 48px !important;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    color: #1A1A1A;
    padding: 0;
}
.otp-input:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.15);
    outline: none;
}

/* Register/Login text */
.register_txt {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #777;
}
.register_txt a {
    color: #2F6BFF;
    font-weight: 500;
}
.register_txt a:hover {
    color: #1a56e6;
}

/* Login form input groups */
.login_bx .form-group,
.login_bx .input-group {
    margin-bottom: 14px;
}
.login_bx label {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    display: block;
}
.login_bx .svgicon {
    position: absolute;
    right: 12px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
}
.login_bx .svgicon svg path {
    stroke: #aaa;
}
.login_bx .form-control {
    padding-right: 40px;
}
.login_bx .input-group-text {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-left: none;
    color: #888;
    cursor: pointer;
}
.login_bx .form-check-label {
    font-size: 13px;
    color: #777;
}
.login_bx .form-check-input {
    background-color: #FFFFFF;
    border-color: #D6D6D6;
}
.login_bx .form-check-input:checked {
    background-color: #2F6BFF;
    border-color: #2F6BFF;
}

/* Congratulations modal */
.congra_body {
    text-align: center;
    padding: 30px 20px;
}
.congra_body .congra_img {
    margin-bottom: 20px;
}
.congra_body .congra_img img {
    width: 100px;
}
.congra_body h4 {
    font-weight: 700;
    font-size: 22px;
    color: #1A1A1A;
    margin-bottom: 8px;
}
.congra_body p {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== CREATE/EDIT SERVICE ===== */
.create_bx {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.create_bx h4 {
    font-weight: 600;
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 16px;
}
.create_bx label {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}
.create_bx .form-control,
.create_bx .form-select {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #1A1A1A;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
}
.create_bx .form-control:focus,
.create_bx .form-select:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
    background: #FFFFFF;
}
.create_bx textarea.form-control {
    min-height: 120px;
}

/* Day row for availability */
.day-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.day-row:last-child {
    border-bottom: none;
}
.day-row label {
    min-width: 100px;
    color: #555;
}
.day-row .form-check-input {
    background-color: #FFFFFF;
    border-color: #D6D6D6;
}
.day-row .form-check-input:checked {
    background-color: #2F6BFF;
    border-color: #2F6BFF;
}

/* Interest & Service selection */
.interest_list,
.srvces_listing {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.interest_list .form-check,
.srvces_listing .form-check {
    padding: 0;
    margin: 0;
}
.interest_list .form-check label,
.srvces_listing .form-check label {
    display: inline-block;
    padding: 6px 14px;
    background: #F2F2F2;
    border: 1px solid #D6D6D6;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
.interest_list .form-check input:checked + label,
.srvces_listing .form-check input:checked + label {
    background: rgba(47, 107, 255, 0.1);
    border-color: #2F6BFF;
    color: #2F6BFF;
}
.interest_list .form-check input {
    display: none;
}
.srvces_listing .form-check input {
    display: none;
}

/* Gallery upload */
.gal-bx {
    background: #F2F2F2;
    border: 2px dashed #D6D6D6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.gal-bx:hover {
    border-color: #2F6BFF;
}
.gal-bx p {
    color: #888;
    font-size: 14px;
    margin: 0;
}
.gal-bx svg path {
    stroke: #aaa;
}

/* ===== ACCOUNT SETTINGS ===== */
.account-card {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.account-card h4 {
    font-weight: 600;
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #D6D6D6;
}

/* ===== CREDIT / TOP UP ===== */
.credit-card {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.credit-card h3 {
    font-weight: 700;
    font-size: 28px;
    color: #2F6BFF;
    margin-bottom: 4px;
}
.credit-card p {
    color: #777;
    font-size: 14px;
}

/* ===== POLICY PAGES ===== */
.policy-page {
    padding: 30px 0 50px;
}
.policy-page h1 {
    font-weight: 700;
    font-size: 28px;
    color: #1A1A1A;
    margin-bottom: 20px;
}
.policy-page h2 {
    font-weight: 600;
    font-size: 20px;
    color: #1A1A1A;
    margin-top: 24px;
    margin-bottom: 12px;
}
.policy-page p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* ===== SCROLL TO TOP ===== */
.scroll-up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #2F6BFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(47, 107, 255, 0.3);
}
.scroll-up.active {
    opacity: 1;
    visibility: visible;
}
.scroll-up svg {
    display: none;
}
.scroll-up::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 3px;
}

/* ===== ERROR PAGES ===== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}
.error-page h1 {
    font-size: 72px;
    font-weight: 800;
    color: #2F6BFF;
    margin-bottom: 10px;
}
.error-page h3 {
    font-size: 20px;
    color: #1A1A1A;
    margin-bottom: 8px;
}
.error-page p {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== TOASTR OVERRIDES ===== */
.toast-success {
    background-color: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #166534 !important;
}
.toast-error {
    background-color: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    color: #991b1b !important;
}
.toast-info {
    background-color: #eff6ff !important;
    border: 1px solid #93c5fd !important;
    color: #1e40af !important;
}
#toast-container > .toast-success,
#toast-container > .toast-error,
#toast-container > .toast-info {
    background-image: none !important;
    padding-left: 20px !important;
}

/* ===== FORM VALIDATION ===== */
.text-danger {
    color: #dc2626 !important;
    font-size: 12px;
}
.is-invalid {
    border-color: #dc2626 !important;
}

/* ===== MANAGE SERVICE LIST ===== */
.manage-dropdown .dropdown-toggle::after {
    display: none;
}
.manage-dropdown .dropdown-menu {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.manage-dropdown .dropdown-item {
    color: #1A1A1A;
    font-size: 13px;
    padding: 8px 14px;
}
.manage-dropdown .dropdown-item:hover {
    background: #F2F2F2;
    color: #2F6BFF;
}

/* ===== MISC ===== */
.text-center {
    text-align: center;
}
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.mt-3 {
    margin-top: 1rem;
}
.btn-warning {
    background: #2F6BFF;
    border-color: #2F6BFF;
    color: #fff;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
}
.btn-warning:hover {
    background: #1a56e6;
    border-color: #1a56e6;
    color: #fff;
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.form-control {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #1A1A1A;
}
.form-control:focus {
    background: #FFFFFF;
    border-color: #2F6BFF;
    color: #1A1A1A;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}
.form-select {
    background-color: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #1A1A1A;
}
.form-select:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}
.card {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #1A1A1A;
}
.table {
    color: #1A1A1A;
}
.table thead th {
    background: #F2F2F2;
    color: #555;
    border-bottom: 1px solid #D6D6D6;
}
.table td {
    border-bottom: 1px solid #eee;
}
.modal-backdrop {
    background: rgba(0, 0, 0, 0.4);
}
.btn-primary {
    background: #2F6BFF;
    border-color: #2F6BFF;
}
.btn-primary:hover {
    background: #1a56e6;
    border-color: #1a56e6;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 30px 0 50px;
    min-height: 60vh;
}
.dashboard-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}
.sidebar-profile {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 12px;
}
.sidebar-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D6D6D6;
    margin-bottom: 10px;
}
.sidebar-profile h5 {
    font-weight: 600;
    font-size: 15px;
    color: #1A1A1A;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.sidebar-credits {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.sidebar-nav {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    overflow: visible;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
}
.sidebar-nav a:last-child {
    border-bottom: none;
}
.sidebar-nav a:hover {
    color: #2F6BFF;
    background: #f8f9ff;
}
.sidebar-nav a.active {
    color: #2F6BFF;
    background: rgba(47, 107, 255, 0.06);
    border-left: 3px solid #2F6BFF;
}
.sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

.dashboard-main {
    min-width: 0;
}
.dashboard-title {
    font-weight: 700;
    font-size: 22px;
    color: #1A1A1A;
    margin-bottom: 24px;
}

/* ===== SETTINGS SECTIONS ===== */
.settings-section {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}
.settings-section h4 {
    font-weight: 600;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D6D6D6;
}
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.settings-section .form-group {
    margin-bottom: 0;
}
.settings-section .form-group label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
    font-weight: 500;
}
.settings-section .form-control,
.settings-section .form-select,
.settings-section select {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    color: #1A1A1A;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}
.settings-section .form-control:focus,
.settings-section select:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
    background: #FFFFFF;
}
.settings-section textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Profile upload in settings */
.personal-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}
.personal-circle-upload {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #F2F2F2;
    border: 2px dashed #D6D6D6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.personal-circle-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.personal-upload-icon {
    pointer-events: none;
}

/* Custom toggle switch */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}
.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #D6D6D6;
    border-radius: 22px;
    transition: 0.3s;
}
.custom-slider::before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
.custom-switch input:checked + .custom-slider {
    background: #2F6BFF;
}
.custom-switch input:checked + .custom-slider::before {
    transform: translateX(18px);
    background: #fff;
}

/* ===== MANAGE SERVICE GRID ===== */
.manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.manage-card {
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}
.manage-card:hover {
    border-color: #2F6BFF;
    box-shadow: 0 4px 16px rgba(47, 107, 255, 0.08);
}
.manage-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.manage-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.manage-card-status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}
.status-draft {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}
.status-pending {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}
.manage-card-body {
    padding: 14px 16px 10px;
}
.manage-card-body h5 {
    font-weight: 600;
    font-size: 14px;
    color: #1A1A1A;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.manage-card-body p {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.manage-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.manage-card-meta span {
    font-size: 11px;
    color: #2F6BFF;
    display: flex;
    align-items: center;
    gap: 4px;
}
.manage-card-meta span i {
    font-size: 10px;
}
.manage-card-actions {
    display: flex;
    border-top: 1px solid #eee;
}
.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #555;
    font-size: 14px;
    transition: all 0.2s;
    border-right: 1px solid #eee;
}
.action-btn:last-child {
    border-right: none;
}
.action-btn:hover {
    background: #f8f9ff;
    color: #2F6BFF;
}
.action-delete:hover {
    color: #dc2626;
}

/* Pagination wrap */
.pagination-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* ===== CHIP STYLES ===== */
.chip {
    display: inline-block;
    padding: 4px 12px;
    background: #F2F2F2;
    border: 1px solid #D6D6D6;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
    margin: 2px;
}
.chip.active {
    background: rgba(47, 107, 255, 0.1);
    border-color: #2F6BFF;
    color: #2F6BFF;
}

/* ===== FULLSCREEN LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header mit Counter und Close */
.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    z-index: 10;
}
.lightbox-counter {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}
.lightbox-close {
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

/* Bild-Wrapper */
.lightbox-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px 100px;
    box-sizing: border-box;
    cursor: default;
    overflow: hidden;
}
.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.2s ease;
}

/* Navigation Pfeile */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}
.lightbox-prev {
    left: 16px;
}
.lightbox-next {
    right: 16px;
}

/* Thumbnails */
.lightbox-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    overflow-x: auto;
    z-index: 10;
}
.lightbox-thumbnails::-webkit-scrollbar {
    height: 4px;
}
.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}
.lightbox-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.lightbox-thumb:hover {
    opacity: 0.8;
}
.lightbox-thumb.active {
    opacity: 1;
    border-color: #fff;
    transform: scale(1.05);
}

/* Galerie-Bilder Hover-Effekt */
.detail-gallery .owl-carousel .owl-item img.gallery-img:hover {
    opacity: 0.9;
}

/* Mobile Anpassungen */
@media (max-width: 767px) {
    .lightbox-img-wrapper {
        padding: 56px 16px 90px;
    }
    .lightbox-img-wrapper img {
        max-height: calc(100vh - 150px);
    }
    .lightbox-nav {
        width: 36px;
        height: 36px;
    }
    .lightbox-prev {
        left: 8px;
    }
    .lightbox-next {
        right: 8px;
    }
    .lightbox-thumb {
        width: 44px;
        height: 44px;
    }
    .lightbox-thumbnails {
        gap: 6px;
        padding: 10px 12px 14px;
    }
}

/* ===== DASHBOARD MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0 40px;
    }
    .dashboard-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 0 30px;
    }
    .dashboard-sidebar {
        position: static;
    }
    /* Sidebar-Profil kompakter auf Mobile */
    .sidebar-profile {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 14px 16px;
        gap: 12px;
        margin-bottom: 8px;
    }
    .sidebar-profile img {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .sidebar-profile h5 {
        justify-content: flex-start;
        font-size: 14px;
        margin-bottom: 2px;
    }
    .sidebar-credits {
        justify-content: flex-start;
        font-size: 12px;
    }
    /* Navigation als horizontale scrollbare Leiste mit Fade-Hinweis */
    .sidebar-nav {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-radius: 10px;
        position: relative;
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }
    .sidebar-nav a {
        flex-shrink: 0;
        padding: 10px 12px;
        font-size: 12px;
        border-bottom: none;
        border-right: 1px solid #eee;
        gap: 5px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .sidebar-nav a:last-child {
        border-right: none;
        padding-right: 30px;
    }
    .sidebar-nav a.active {
        border-left: none;
        border-bottom: 3px solid #2F6BFF;
        background: rgba(47, 107, 255, 0.06);
    }
    .sidebar-nav a i {
        font-size: 16px;
        display: block;
        margin-bottom: 2px;
    }
    /* Dashboard Titel */
    .dashboard-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    /* Settings Grid auf eine Spalte */
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .settings-section {
        padding: 14px;
        margin-bottom: 12px;
    }
    .settings-section h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    /* Manage Service Tabelle */
    .manage-service-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Credits-Karten */
    .credit-packages {
        grid-template-columns: 1fr;
    }
    /* Transaktions-Tabelle */
    .transaction-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .sidebar-profile {
        padding: 12px 14px;
    }
    .sidebar-profile img {
        width: 44px;
        height: 44px;
    }
    .sidebar-nav a {
        padding: 8px 10px;
        font-size: 11px;
    }
    .sidebar-nav a i {
        font-size: 15px;
    }
    .dashboard-title {
        font-size: 16px;
    }
    .settings-section {
        padding: 12px;
    }
}
