/* ============================================
   ZONA PRIVADA — SISTEMA DE ESTILOS PREMIUM
   Stack: Bootstrap 5 + Custom CSS Dark Mode
   ============================================ */

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

/* ---- VARIABLES ---- */
:root {
    --zp-primary: #e84393;
    --zp-primary-dark: #c0326e;
    --zp-primary-glow: rgba(232, 67, 147, 0.25);
    --zp-secondary: #7c3aed;
    --zp-bg: #0d0d0f;
    --zp-bg-card: #161619;
    --zp-bg-card2: #1e1e23;
    --zp-border: rgba(255,255,255,0.08);
    --zp-text: #f0f0f4;
    --zp-muted: #888899;
    --zp-gradient: linear-gradient(135deg, var(--zp-primary) 0%, var(--zp-secondary) 100%);
    --zp-radius: 16px;
    --zp-radius-xs: 8px;
    --zp-shadow: 0 8px 32px rgba(0,0,0,0.5);
    --zp-shadow-card: 0 4px 24px rgba(0,0,0,0.4);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--zp-bg);
    color: var(--zp-text);
    min-height: 100vh;
    line-height: 1.6;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--zp-bg); }
::-webkit-scrollbar-thumb { background: var(--zp-primary); border-radius: 3px; }

/* ---- NAVBAR ---- */
.zp-navbar {
    background: rgba(13, 13, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--zp-border);
    padding: .75rem 0;
    transition: all .3s ease;
}

.zp-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.brand-icon { font-size: 1.3em; }
.brand-text { background: var(--zp-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-icon-lg { font-size: 3rem; }
.brand-text-lg { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem; background: var(--zp-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 500;
    padding: .4rem .8rem !important;
    border-radius: var(--zp-radius-xs);
    transition: all .2s;
}
.navbar-nav .nav-link:hover { color: #fff !important; background: rgba(232,67,147,.12); }

.nav-icon-btn {
    color: rgba(255,255,255,0.75);
    font-size: 1.2rem;
    position: relative;
    text-decoration: none;
    transition: color .2s;
}
.nav-icon-btn:hover { color: var(--zp-primary); }

.notif-badge {
    position: absolute;
    top: -5px; right: -6px;
    background: var(--zp-primary);
    color: #fff;
    font-size: .6rem;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0 3px;
}

.zp-avatar-btn {
    background: transparent;
    border: 2px solid var(--zp-border);
    border-radius: 50%;
    padding: 2px;
    transition: border-color .2s;
}
.zp-avatar-btn:hover { border-color: var(--zp-primary); }
.zp-avatar-btn::after { display: none; }

.avatar-xs { width: 32px; height: 32px; object-fit: cover; }

/* ---- DROPDOWN ---- */
.zp-dropdown {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius);
    box-shadow: var(--zp-shadow);
    min-width: 200px;
}
.zp-dropdown .dropdown-item:hover { background: rgba(232,67,147,.12); color: var(--zp-primary); }
.zp-dropdown .dropdown-item { color: var(--zp-text); border-radius: var(--zp-radius-xs); margin: 2px 4px; padding: .45rem .75rem; }
.zp-dropdown .dropdown-header { color: var(--zp-text); }
.zp-dropdown .dropdown-divider { border-color: var(--zp-border); }

/* ---- MAIN CONTENT ---- */
.main-content { padding-top: 70px; }

/* ---- FLASH ALERTS ---- */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
}
.zp-alert {
    border: none !important;
    border-radius: var(--zp-radius);
    box-shadow: var(--zp-shadow);
    backdrop-filter: blur(10px);
}

/* ---- BUTTONS ---- */
.btn-zp-primary {
    background: var(--zp-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all .3s;
}
.btn-zp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--zp-primary-glow);
    color: #fff;
    filter: brightness(1.1);
}

.btn-zp-outline {
    background: transparent;
    color: var(--zp-primary);
    border: 2px solid var(--zp-primary);
    border-radius: 10px;
    font-weight: 600;
    transition: all .3s;
}
.btn-zp-outline:hover {
    background: var(--zp-primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn-xs { padding: .2rem .5rem; font-size: .75rem; border-radius: 6px; }
.btn-zp-primary.btn-xs { padding: .2rem .6rem; font-size: .75rem; }

/* ---- INPUTS ---- */
.zp-input, .zp-textarea, .zp-select {
    background: var(--zp-bg-card2) !important;
    border: 1px solid var(--zp-border) !important;
    color: var(--zp-text) !important;
    border-radius: var(--zp-radius-xs) !important;
    transition: border-color .2s, box-shadow .2s;
}
.zp-input:focus, .zp-textarea:focus, .zp-select:focus {
    border-color: var(--zp-primary) !important;
    box-shadow: 0 0 0 3px var(--zp-primary-glow) !important;
    outline: none;
}
.zp-input::placeholder, .zp-textarea::placeholder { color: var(--zp-muted) !important; }

.zp-input-group .input-group-text {
    background: var(--zp-bg-card2) !important;
    border: 1px solid var(--zp-border) !important;
    color: var(--zp-primary) !important;
}

.btn-toggle-pass {
    cursor: pointer;
    background: var(--zp-bg-card2) !important;
    border: 1px solid var(--zp-border) !important;
    color: var(--zp-muted) !important;
    transition: color .2s;
}
.btn-toggle-pass:hover { color: var(--zp-primary) !important; }

/* ---- CARDS ---- */
.zp-card {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius);
    box-shadow: var(--zp-shadow-card);
    overflow: hidden;
}
.zp-card-header {
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid var(--zp-border);
    padding: 1rem 1.25rem;
}
.zp-card-body { padding: 1.25rem; }

/* ---- AUTH CARD ---- */
.auth-page { background: radial-gradient(ellipse at 30% 20%, rgba(232,67,147,.12) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(124,58,237,.12) 0%, transparent 60%), var(--zp-bg); }
.auth-card {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--zp-shadow);
}

.zp-hero {
    position: relative;
    background: linear-gradient(to right, rgba(13, 13, 15, 0.95) 0%, rgba(13, 13, 15, 0.5) 50%, rgba(13, 13, 15, 0.2) 100%),
                url('../img/couple_bg.png') no-repeat center center;
    background-size: cover;
    border-bottom: 1px solid var(--zp-border);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(232,67,147,.1);
    border: 1px solid rgba(232,67,147,.3);
    border-radius: 20px;
    padding: .3rem 1rem;
    font-size: .85rem;
    color: var(--zp-primary);
    font-weight: 600;
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

.hero-title { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
.gradient-text { background: var(--zp-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.1rem; color: var(--zp-muted); max-width: 480px; }

.hero-visual { position: relative; height: 320px; display: flex; align-items: center; justify-content: center; }
.floating-cards { position: relative; width: 260px; height: 260px; }
.fcard {
    position: absolute;
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: 12px;
    padding: .75rem 1.2rem;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: var(--zp-shadow-card);
    white-space: nowrap;
}
.fcard-1 { top: 0; left: 0; animation: float1 3s ease-in-out infinite; border-color: var(--zp-primary); }
.fcard-2 { top: 40%; right: 0; animation: float2 3.5s ease-in-out infinite; border-color: #f97316; }
.fcard-3 { bottom: 0; left: 20%; animation: float3 4s ease-in-out infinite; border-color: #22c55e; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ---- SECTION TITLES ---- */
.section-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.4rem; }
.text-zp { color: var(--zp-primary) !important; }
.zp-link { color: var(--zp-primary); text-decoration: none; font-weight: 600; }
.zp-link:hover { color: var(--zp-primary-dark); }

/* ---- SECTION ALT ---- */
.zp-section-alt { background: rgba(255,255,255,.02); border-top: 1px solid var(--zp-border); border-bottom: 1px solid var(--zp-border); }

/* ---- AD CARDS ---- */
.zp-ad-card {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    display: flex;
    flex-direction: column;
}
.zp-ad-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,67,147,.15); border-color: rgba(232,67,147,.3); }
.zp-ad-card-header { padding: 1rem 1rem .75rem; border-bottom: 1px solid var(--zp-border); }
.zp-ad-card-body { padding: .75rem 1rem; flex: 1; }
.zp-ad-card-footer { padding: .75rem 1rem; border-top: 1px solid var(--zp-border); display: flex; justify-content: space-between; align-items: center; }

.ad-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zp-primary); }
.ad-avatar-lg { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--zp-primary); }
.ad-avatar-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Dinamismo por orientación */
.avatar-orientacion { border-color: var(--orient-color, var(--zp-primary)) !important; }
.avatar-placeholder-img { filter: drop-shadow(0 0 5px var(--orient-color, var(--zp-primary))); }

.avatar-symbol-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zp-bg-card2);
    border: 2px solid var(--orient-color, var(--zp-primary));
    color: var(--orient-color, var(--zp-primary));
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--orient-color, var(--zp-primary-glow));
}
.avatar-symbol-placeholder i {
    font-size: 1.2em;
}
.ad-avatar-lg + .avatar-symbol-placeholder i { font-size: 2em; }
.avatar-xs + .avatar-symbol-placeholder i { font-size: 0.8em; }

.ad-username { color: var(--zp-primary); font-weight: 600; font-size: .9rem; text-decoration: none; }
.ad-username:hover { text-decoration: underline; }
.ad-username-lg { color: var(--zp-primary); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.ad-location { color: var(--zp-muted); font-size: .78rem; }
.ad-title { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; line-height: 1.3; }
.ad-view-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 1rem; }
.ad-view-desc { color: rgba(255,255,255,.8); line-height: 1.7; font-size: 1rem; }
.ad-desc { color: var(--zp-muted); font-size: .88rem; margin-bottom: .5rem; }

.ad-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--zp-muted); font-size: .85rem; }

/* ---- TAGS ---- */
.ad-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.zp-tag { background: rgba(232,67,147,.12); color: var(--zp-primary); border: 1px solid rgba(232,67,147,.25); border-radius: 20px; padding: .15rem .6rem; font-size: .78rem; font-weight: 600; }
.zp-tag-xs { background: rgba(232,67,147,.1); color: var(--zp-primary); border-radius: 10px; padding: .1rem .4rem; font-size: .72rem; }
.zp-tag-lg { background: rgba(232,67,147,.12); color: var(--zp-primary); border: 1px solid rgba(232,67,147,.3); border-radius: 20px; padding: .3rem .9rem; font-size: .9rem; font-weight: 600; }
.ad-tags-lg { display: flex; flex-wrap: wrap; gap: .5rem; }

.zp-badge-active { background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.3); font-size: .7rem; font-weight: 600; border-radius: 10px; padding: .15rem .5rem; }

/* ---- RELATED ADS ---- */
.related-ad-item { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--zp-border); text-decoration: none; color: var(--zp-text); transition: background .2s; }
.related-ad-item:hover { background: rgba(232,67,147,.05); }
.related-ad-item:last-child { border-bottom: none; }

/* ---- USER CARDS ---- */
.zp-user-card {
    display: block;
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius);
    padding: 1rem .75rem;
    text-align: center;
    transition: all .3s;
    color: var(--zp-text);
}
.zp-user-card:hover { border-color: var(--zp-primary); transform: translateY(-3px); box-shadow: 0 8px 24px var(--zp-primary-glow); }

.user-avatar-wrap { position: relative; display: inline-block; margin-bottom: .5rem; }
.user-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--zp-border); transition: border-color .3s; }
.zp-user-card:hover .user-avatar { border-color: var(--zp-primary); }
.online-dot { position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px; background: #22c55e; border-radius: 50%; border: 2px solid var(--zp-bg-card); }

.user-info { margin-top: .25rem; }
.user-name { font-weight: 600; font-size: .85rem; color: var(--zp-primary); }
.user-loc { font-size: .75rem; color: var(--zp-muted); }

/* ---- PROFILE ---- */
.profile-card {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.profile-photo-wrap { position: relative; display: inline-block; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--zp-primary); box-shadow: 0 0 30px var(--zp-primary-glow); }
.verified-badge { position: absolute; bottom: 5px; right: 5px; background: #22c55e; color: #fff; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }

.profile-username { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.4rem; margin: 0; }
.profile-meta { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; color: var(--zp-muted); font-size: .85rem; }

.status-badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: .15rem .6rem; border-radius: 10px; }
.status-activo { background: rgba(34,197,94,.1); color: #22c55e; }

.profile-stats { display: flex; background: var(--zp-bg-card2); border-radius: var(--zp-radius-xs); overflow: hidden; border: 1px solid var(--zp-border); margin-top: 1rem; }
.stat-item { flex: 1; text-align: center; padding: .75rem .5rem; border-right: 1px solid var(--zp-border); }
.stat-item:last-child { border-right: none; }
.stat-num { display: block; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--zp-primary); }
.stat-label { font-size: .72rem; color: var(--zp-muted); }

.profile-bio { background: var(--zp-bg-card2); border-radius: var(--zp-radius-xs); padding: .75rem 1rem; border: 1px solid var(--zp-border); font-size: .9rem; }
.profile-bio p { margin: 0; }
.interests-title { font-weight: 600; font-size: .85rem; color: var(--zp-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---- PHOTO GRID ---- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border-radius: var(--zp-radius-xs);
    overflow: hidden;
}
.photo-grid-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.photo-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, filter .3s; }
.photo-grid-item:hover img { transform: scale(1.08); filter: brightness(1.1); }

/* ---- AD MINI CARD ---- */
.zp-ad-mini-card {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius-xs);
    padding: 1rem;
    transition: border-color .3s;
}
.zp-ad-mini-card:hover { border-color: var(--zp-primary); }
.ad-mini-title { font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }
.ad-mini-desc { color: var(--zp-muted); font-size: .82rem; margin-bottom: .5rem; }

/* ---- INTERESTS GRID ---- */
.interests-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.interest-checkbox input { display: none; }
.interest-label {
    display: block;
    background: var(--zp-bg-card2);
    border: 1px solid var(--zp-border);
    border-radius: 20px;
    padding: .35rem .9rem;
    font-size: .85rem;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.interest-checkbox input:checked + .interest-label {
    background: rgba(232,67,147,.15);
    border-color: var(--zp-primary);
    color: var(--zp-primary);
    font-weight: 600;
}
.interest-label:hover { border-color: var(--zp-primary); }

/* ---- DURATION SELECTOR ---- */
.duration-selector { display: flex; flex-wrap: wrap; gap: .5rem; }
.duration-option input { display: none; }
.duration-label {
    display: block;
    background: var(--zp-bg-card2);
    border: 1px solid var(--zp-border);
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    font-weight: 500;
}
.duration-option input:checked + .duration-label {
    background: var(--zp-gradient);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}
.duration-label:hover { border-color: var(--zp-primary); }

/* ---- FILTERS ---- */
.zp-filters {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    border-radius: var(--zp-radius);
    padding: 1.25rem;
}

/* ---- PAGINATION ---- */
.zp-pagination .page-link {
    background: var(--zp-bg-card);
    border: 1px solid var(--zp-border);
    color: var(--zp-text);
    border-radius: var(--zp-radius-xs) !important;
    margin: 0 2px;
}
.zp-pagination .page-item.active .page-link { background: var(--zp-gradient); border-color: transparent; color: #fff; }
.zp-pagination .page-link:hover { background: rgba(232,67,147,.15); color: var(--zp-primary); }

/* ---- PHOTO MANAGE ---- */
.photo-manage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.photo-manage-item {
    position: relative;
    border-radius: var(--zp-radius-xs);
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid var(--zp-border);
    transition: border-color .3s;
}
.photo-manage-item:hover { border-color: var(--zp-primary); }
.photo-manage-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-manage-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.photo-manage-item:hover .photo-manage-overlay { opacity: 1; }
.photo-perfil-badge { position: absolute; top: 6px; left: 6px; background: var(--zp-gradient); color: #fff; border-radius: 8px; padding: .1rem .5rem; font-size: .7rem; font-weight: 700; }
.photo-private-badge { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.7); color: #fbbf24; border-radius: 8px; padding: .1rem .4rem; font-size: .75rem; }

/* ---- UPLOAD ZONE ---- */
.upload-zone {
    background: var(--zp-bg-card);
    border: 2px dashed var(--zp-primary);
    border-radius: var(--zp-radius);
    padding: 2rem;
    transition: all .3s;
}
.upload-zone:hover { background: rgba(232,67,147,.05); }
.upload-zone-inner { text-align: center; }
.upload-icon { cursor: pointer; color: var(--zp-primary); }
.upload-icon i { font-size: 3rem; }
.upload-icon p { margin: 0; }

/* ---- CHAT ---- */
.chat-card { display: flex; flex-direction: column; height: calc(100vh - 180px); min-height: 400px; }
.chat-header { display: flex; align-items: center; gap: .5rem; padding: 1rem; border-bottom: 1px solid var(--zp-border); flex-shrink: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.chat-input-area { padding: 1rem; border-top: 1px solid var(--zp-border); flex-shrink: 0; }

.chat-msg { display: flex; flex-direction: column; max-width: 70%; }
.chat-msg-me { align-self: flex-end; align-items: flex-end; }
.chat-msg-other { align-self: flex-start; align-items: flex-start; }

.msg-bubble {
    padding: .65rem 1rem;
    border-radius: 18px;
    font-size: .92rem;
    line-height: 1.4;
    word-break: break-word;
}
.chat-msg-me .msg-bubble { background: var(--zp-gradient); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-other .msg-bubble { background: var(--zp-bg-card2); border: 1px solid var(--zp-border); border-bottom-left-radius: 4px; }
.msg-time { font-size: .7rem; color: var(--zp-muted); margin-top: .2rem; padding: 0 .3rem; }

/* ---- CONVERSATIONS ---- */
.conv-list { overflow-y: auto; max-height: calc(100vh - 250px); }
.conv-item { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--zp-border); text-decoration: none; color: var(--zp-text); transition: background .2s; }
.conv-item:hover { background: rgba(232,67,147,.06); }
.conv-name { font-weight: 600; font-size: .9rem; }
.conv-city { font-size: .78rem; }

/* ---- NOTIFICATIONS ---- */
.notif-item { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border-bottom: 1px solid var(--zp-border); transition: background .2s; }
.notif-item:last-child { border-bottom: none; }
.notif-unread { background: rgba(232,67,147,.05); border-left: 3px solid var(--zp-primary); }
.notif-icon { font-size: 1.3rem; flex-shrink: 0; }
.notif-content { flex: 1; }

/* ---- ALERT LIST ---- */
.alert-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.alert-item { background: var(--zp-bg-card2); border: 1px solid var(--zp-border); border-radius: var(--zp-radius-xs); padding: .75rem 1rem; transition: border-color .2s; }
.alert-item:hover { border-color: var(--zp-primary); }
.alert-icon { font-size: 1.2rem; }

/* ---- EXPLORE ---- */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.user-meta-info {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.user-meta-info .badge {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.25em 0.5em;
    border-radius: 4px;
}
.zp-user-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.zp-user-card:hover {
    transform: translateY(-3px);
}

/* ---- EMPTY STATE ---- */
.empty-state { padding: 2rem; }
.empty-icon { font-size: 3rem; }
.empty-state-sm { color: var(--zp-muted); font-size: .9rem; padding: 1rem; }

/* ---- FOOTER ---- */
.zp-footer { background: var(--zp-bg-card); border-top: 1px solid var(--zp-border); color: var(--zp-muted); }
.zp-footer a { transition: color .2s; }
.zp-footer a:hover { color: var(--zp-primary) !important; }

/* ---- UTILITIES ---- */
.very-small { font-size: .72rem; }

/* ---- SELECT2 DARK ---- */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: var(--zp-bg-card2) !important;
    border: 1px solid var(--zp-border) !important;
    border-radius: var(--zp-radius-xs) !important;
    color: var(--zp-text) !important;
}
.select2-dropdown { background: var(--zp-bg-card) !important; border-color: var(--zp-border) !important; }
.select2-container--default .select2-results__option--highlighted { background: var(--zp-primary) !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--zp-text); }

/* ---- PHOTO UPLOAD BOX (INDIVIDUAL) ---- */
.zp-photo-upload-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--zp-bg-card2);
    border: 2px dashed var(--zp-border);
    border-radius: var(--zp-radius-xs);
    overflow: hidden;
    transition: all .3s ease;
}
.zp-photo-upload-box:hover {
    border-color: var(--zp-primary);
    background: rgba(232, 67, 147, 0.05);
}
.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    color: var(--zp-muted);
}
.photo-placeholder i { font-size: 1.5rem; margin-bottom: 5px; }
.photo-placeholder span { font-size: .75rem; font-weight: 500; }

.photo-preview-box {
    position: absolute;
    inset: 0;
    z-index: 5;
}
.photo-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    transition: background .2s;
}
.btn-remove-photo:hover { background: var(--zp-primary); }

/* ---- AD CARD THUMBNAIL ---- */
.ad-thumbnail-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--zp-bg-card2);
    border-bottom: 1px solid var(--zp-border);
}
.ad-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.zp-ad-card:hover .ad-thumbnail {
    transform: scale(1.05);
}
.no-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--zp-muted);
    font-size: .8rem;
    background: linear-gradient(135deg, var(--zp-bg-card2) 0%, var(--zp-bg) 100%);
}
.no-photo-placeholder i { font-size: 2.5rem; margin-bottom: 10px; opacity: 0.3; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .main-content { padding-top: 65px; }
    .profile-card { position: static; }
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .chat-card { height: calc(100vh - 140px); }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .auth-card { padding: 1.5rem; }
}

/* ---- PHOTO SELECTOR (EDIT PROFILE) ---- */
.photo-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.photo-selector-item input { display: none; }
.photo-selector-card {
    position: relative;
    border: 2px solid var(--zp-border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s;
    background: var(--zp-bg-card);
    aspect-ratio: 1;
}

.photo-selector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.photo-selector-item input:checked + .photo-selector-card {
    border-color: var(--zp-primary);
    box-shadow: 0 0 10px var(--zp-primary-glow);
}

.photo-selector-item input:checked + .photo-selector-card img {
    opacity: 1;
}

.photo-selector-check {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--zp-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.photo-selector-item input:checked + .photo-selector-card .photo-selector-check {
    display: flex;
}
