/* ─── CautColeg.ro Components ────────────── */
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 10px 20px;
    font-family: var(--font);
    font-weight: 600;
    font-size: var(--fs-sm);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn:hover {
    text-decoration: none;
}
.btn-brand {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}
.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--white);
}
.btn-primary {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}
.btn-primary:hover {
    background: #FF385C;
    border-color: #FF385C;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 56, 92, 0.25);
}
.btn-outline {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}
.btn-outline:hover {
    background: var(--gray-bg);
}
.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}
/* ═══════════════════════════════════════════════════════════ */
/* SEARCH RESULTS & MAP COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.search-results-layout { display: flex; flex-direction: row; min-height: calc(100vh - var(--header-height)); }
.search-results-content { flex: 1; padding: 24px; max-width: 840px; }
.search-results-count { font-size: 14px; color: var(--gray); margin-bottom: 8px; }
.search-results-title { font-size: 28px; font-weight: 700; margin: 0; color: var(--black); }
.search-results-empty { text-align: center; padding: 60px 0; }
.search-empty-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.search-empty-text { color: var(--gray); margin-bottom: 24px; }
.map-side-container { flex: 1; position: sticky; top: var(--header-height); height: calc(100vh - var(--header-height)); border-left: 1px solid var(--border-light); background: #eee; }
.map-full { width: 100%; height: 100%; }

/* Custom Map Popup & Icons */
.map-marker-offer { color:#fff;font-weight:700;font-size:13px;padding:4px 10px;border-radius:20px;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.3);display:flex;align-items:center;gap:4px; }
.map-marker-match { font-size:10px;padding:1px 5px;border-radius:10px;margin-left:2px; }
.map-marker-user-wrap { position:relative; }
.map-marker-user-avatar { width:44px; height:44px; border-radius:50%; background:white; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,0.2); }
.map-marker-user-avatar img { width:100%; height:100%; object-fit:cover; }
.map-marker-user-match { position:absolute; bottom:-4px; right:-4px; color:white; font-size:9px; font-weight:800; padding:2px 4px; border-radius:8px; border:2px solid white; }

.map-popup-container { width: 100%; box-sizing: border-box; padding: 16px; position: relative; overflow: visible; font-family: 'Outfit', sans-serif;}
.map-popup-close { position: absolute; right: 16px; top: 16px; border: none; z-index: 1000; }
.map-popup-fav { position: absolute; right: 52px; top: 16px; border: none; z-index: 1000; }

.map-popup-img-offer { width:100%; height:140px; border-radius:12px; overflow:hidden; margin-bottom:12px; }
.map-popup-img-offer img { width:100%; height:100%; object-fit:cover; }
.map-popup-img-user { width:100%; height:100px; border-radius:12px; overflow:hidden; margin-bottom:12px; display:flex; align-items:center; justify-content:center; background:transparent; }
.map-popup-img-user img { width:70px; height:70px; object-fit:cover; border-radius:50%; border: 3px solid white; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }

.map-popup-title { font-size:16px; font-weight:700; margin-bottom:4px; color:#222222; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.map-popup-title.text-center { text-align:center; }
.map-popup-subtitle { font-size:13px; color:#4b5563; margin-bottom:8px; display:flex; align-items:center; gap:4px; font-weight:500; }
.map-popup-subtitle.justify-center { justify-content:center; margin-bottom:12px; }
.map-popup-bio { font-size:12px; color:#64748b; margin-bottom:10px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-style: italic; }
.map-popup-bio.text-center { text-align:center; }
.map-popup-tags { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:12px; }
.map-popup-tag { font-size:11px; font-weight:600; padding:2px 8px; border-radius:12px; background:#f1f5f9; color:#475569; display:inline-flex; align-items:center; gap:4px; }
.map-popup-tag.special { background:#e0f2fe; color:#0369a1; }
.map-popup-price { font-weight:700; font-size:15px; color:#222; margin-bottom:4px; display:flex; align-items:center; gap:6px; }
.map-popup-price span.label { font-weight:400; color:#717171; font-size:13px; }
.map-popup-row { font-size:13px; color:#4b5563; margin-bottom:4px; display:flex; align-items:flex-start; gap:6px; }
.map-popup-row svg { flex-shrink:0; margin-top:2px; }
.map-popup-divider { border-bottom: 1px solid #f1f5f9; margin: 10px 0; }
.map-popup-btn { display:block; width:100%; text-align:center; padding:10px 0; margin-top: 12px; color:white !important; background:var(--brand, #FF385C); border-radius:10px; text-decoration:none; font-weight:700; transition: 0.2s; }
.map-popup-btn:hover { background:#e02e4d; color:white !important; text-decoration:none; }

/* ═══════════════════════════════════════════════════════════ */
/* SETTINGS PAGE COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.settings-container { margin-top: 40px; margin-bottom: 60px; }
.settings-page-title { margin-bottom: 32px; }
.settings-layout { display: flex; gap: 32px; align-items: flex-start; }
.settings-sidebar-wrap { width: 260px; flex-shrink: 0; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 16px 0; }
.settings-sidebar-list { list-style: none; padding: 0; margin: 0; }
.settings-content-area { flex: 1; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 32px; }
.settings-tab-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.settings-tab-title-condensed { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.settings-tab-title-danger { color: #DC3545; }
.settings-tab-subtitle { margin-bottom: 24px; color: var(--gray); font-size: 15px;}
.settings-tab-desc { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.settings-required-star { color: var(--brand); }
.settings-tab-btn { margin-top: 16px; }

/* Danger Zone */
.settings-danger-box { background: #fffcfc; border: 1px solid #ffcccc; padding: 24px; border-radius: 8px; }
.settings-danger-label { color: #DC3545; font-weight: 600; display: block; margin-bottom: 8px;}
.settings-danger-input { border-color: #ffcccc; width: 100%; }
.settings-danger-btn { background: #DC3545; color: white; border: none; width: 100%; margin-top: 8px; cursor: pointer; }
.settings-danger-btn:hover { background: #c82333; }

/* ═══════════════════════════════════════════════════════════ */
/* PROFILE PAGE COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.profile-meta-row-content { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 14px; }
.meta-item-pill { background: #f1f5f9; padding: 4px 10px; border-radius: 20px; font-weight: 600; text-transform: capitalize;}
.profile-occupation-info { margin-bottom: 16px; color: #64748b; font-size: 15px; font-weight: 500; }
.profile-occupation-icon { vertical-align: middle; margin-right: 4px; }
.profile-quiz-status-box { display: flex; align-items: center; justify-content: center; gap: 8px; color: #10B981; font-weight: 700; font-size: 14px; background: #ECFDF5; padding: 10px; border-radius: 12px; border: 1px solid #10B981; margin-bottom: 12px; }
.btn-ghost-outline { width: 100%; padding: 10px; font-size: 14px; border-radius: 8px; border: 1px solid #ddd; color: #4B5563; text-align: center; text-decoration: none; display: inline-block;}
.btn-message-full { width: 100%; padding: 14px; border-radius: 12px; font-weight: 700; margin-top: 16px; text-align: center; text-decoration: none; display: inline-block;}

.profile-preference-text { font-size: 16px; color: #484848; line-height: 1.6; }
.profile-preference-row { margin-bottom: 12px; }
.profile-search-card-grid { display: grid; gap: 16px; }
.profile-search-flex-row { display: flex; align-items: flex-start; gap: 12px; }
.profile-search-icon { flex-shrink:0; }
.profile-search-label-small { margin:0; font-size: 13px; text-transform: uppercase; color: var(--gray);}
.profile-search-value-bold { font-size: 15px; font-weight: 600; color: #222; }

.profile-empty-section { text-align: center; padding: 60px 20px; }
.profile-empty-icon { margin-bottom: 24px; color: var(--brand); display: flex; justify-content: center;}
.profile-empty-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.profile-empty-text { color: var(--gray); margin-bottom: 32px; }
.profile-empty-btn { display: inline-block; }

/* Gender Pills (Register/Settings) */
.gender-pill input:checked + .pill-content { 
    background: var(--black); 
    color: white; 
    border-color: var(--black); 
}
.pill-content:hover { 
    background: var(--gray-bg); 
}

/* ═══════════════════════════════════════════════════════════ */
/* POST LISTING PAGE COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.post-listing-card { padding: var(--sp-6); }
.post-listing-type-box { display: flex; align-items: center; gap: 16px; padding: 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 24px; }
.post-listing-type-icon { width: 48px; height: 48px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.post-listing-type-title { font-weight: 700; color: #1e293b; font-size: 16px; }
.post-listing-type-desc { font-size: 13px; color: #64748b; }
.post-listing-title-box { padding: 16px; background: #f9f9f9; border-radius: 12px; border: 1px dashed #ddd; margin-bottom: 24px; }
.post-listing-title-label { margin-bottom: 4px; color: #666; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-listing-title-display { font-size: 18px; font-weight: 700; color: var(--black); }
.post-listing-price-input { font-size: 20px !important; font-weight: 700 !important; }
.post-listing-map-btn { position: absolute; right: 6px; top: 6px; padding: 8px 16px; border-radius: 30px; font-size: 12px; }
.post-listing-map-container { height: 250px; border-radius: 16px; border: 1px solid var(--border-dark); margin-bottom: 8px; z-index: 1; }
.post-listing-select { border-radius: 12px !important; height: 50px !important; }
.post-listing-date-input { background: white; width: 100%; font-family: inherit; font-weight: 500; cursor: pointer; }
.post-listing-date-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gray); }
.photo-upload-hint { font-size: 10px; color: #717171; margin-top: 8px; font-weight: 600; display: block;}
.post-listing-footer { display:flex; justify-content:flex-end; gap:var(--sp-3); margin-top:var(--sp-4); padding-top:var(--sp-4); border-top:1px solid var(--border); }
.btn-secondary-rounded { border-radius: 40px; padding: 12px 24px; }
.post-listing-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-4); margin-bottom: 24px; }
.post-listing-grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:var(--sp-4); align-items: end; margin-bottom: 24px; }
.btn-premium-hero { background: var(--brand); color: white; border: none; padding: 16px 40px; border-radius: 40px; font-weight: 800; font-size: 18px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all 0.3s cubic-bezier(0.2, 0, 0, 1); box-shadow: 0 8px 20px rgba(255, 56, 92, 0.3); }

/* ═══════════════════════════════════════════════════════════ */
/* MY LISTINGS COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.my-listing-action-btn-active { background: var(--black) !important; color: white !important; }
.my-listing-action-btn-inactive { background: #F7F7F7 !important; color: var(--black) !important; }
.my-listing-action-btn-white { background: white !important; color: var(--black) !important; }
.my-listing-action-btn-danger { background: white !important; color: #E61E4D !important; }

/* ═══════════════════════════════════════════════════════════ */
/* MESSAGES PAGE COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.messages-header-title { font-size: 22px; font-weight: 700; margin: 0; }
.messages-empty-state { padding: 40px 24px; }
.messages-empty-title { font-size: 18px; margin-bottom: 8px; }
.messages-empty-text { color: var(--gray); font-size: 14px; }
.messages-avatar-box { width: 50px; height: 50px; flex-shrink: 0; }
.messages-avatar-placeholder { background:var(--primary-100); color:var(--primary-700); width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:20px; }
.messages-item-content { flex:1; min-width:0; }
.messages-item-header { display:flex; justify-content:space-between; align-items:center; margin-bottom: 4px; }
.messages-item-name { font-weight:600; font-size:15px; color: var(--black); }
.messages-item-time { font-size:12px; color:var(--gray); }
.messages-item-preview { font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.messages-item-preview-unread { color: var(--black); font-weight: 600; }
.messages-item-preview-read { color: var(--gray); font-weight: 400; }
.messages-unread-badge { background: var(--brand); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.messages-chat-header-flex { display: flex; align-items: center; gap: 12px; }
.messages-back-btn { display:none; color: var(--black); padding: 8px; }
.messages-user-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.messages-user-avatar { width: 40px; height: 40px; }
.messages-user-name { font-weight:700; font-size:16px; color:var(--black); }
.messages-user-status { font-size:12px; color:var(--gray); }
.messages-options-wrapper { position: relative; }
.messages-options-btn { background:none; border:none; cursor:pointer; padding: 8px; }
.messages-dropdown { right: 0; left: auto; top: 40px; }
.messages-dropdown-link { color: #484848; }
.messages-dropdown-danger { color: var(--brand); font-weight: 600; }
.messages-listing-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.messages-listing-content { flex: 1; min-width: 0; }
.messages-listing-title { font-size: 14px; font-weight: 600; color: var(--black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.messages-listing-meta { font-size: 13px; color: var(--gray); }
.messages-match-badge { color: var(--brand); font-weight: 600; margin-left: 8px; }
.messages-thread-inner { display: flex; flex-direction: column; gap: 8px; }
.messages-icebreaker-container { margin-bottom: 12px; }
.messages-icebreaker-title { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; margin-bottom: 8px; }
.messages-icebreaker-scroll { display: flex; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.messages-input-form { display:flex; gap:12px; align-items:flex-end; }
.messages-input-area { min-height: 48px; max-height: 120px; overflow-y: auto; resize: none; border-radius: 24px; padding: 12px 16px; margin: 0; line-height: 1.4; }
.messages-send-btn { border-radius: 50%; width: 48px; height: 48px; padding: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.messages-send-icon { transform: translateX(-1px) translateY(1px); }
.messages-safety-notice { font-size: 11px; color: var(--gray); text-align: center; margin-top: 12px; }
.messages-empty-chat { height:100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fdfdfd; }
.messages-empty-chat-icon { width: 80px; height: 80px; background: #f0f7f7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.messages-empty-chat-title { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.messages-empty-chat-desc { color: var(--gray); font-size: 15px; }

.btn-ghost:hover {
    background: var(--gray-bg);
    border-radius: var(--radius-full);
}
.btn-danger {
    background: var(--error);
    color: var(--white);
    border-color: var(--error);
}
.btn-danger:hover {
    background: #a12c12; 
    border-color: #a12c12;
    color: var(--white);
}
.btn-sm {
    padding: 7px 15px;
    font-size: var(--fs-xs);
    border-radius: var(--radius-md);
}
.btn-lg {
    padding: 14px 28px;
    font-size: var(--fs-base);
    border-radius: var(--radius-lg);
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.form-group {
    margin-bottom: var(--sp-5);
}
.form-label {
    display: block;
    font-weight: 600;
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-2);
    color: var(--text-primary);
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    color: var(--text-primary);
    transition: all var(--duration-fast);
    outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.15);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-light);
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23717171' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
.form-hint {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    margin-top: var(--sp-1);
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.badge-brand {
    background: rgba(255, 56, 92, 0.1);
    color: var(--brand);
}
.badge-success {
    background: var(--success-light);
    color: var(--success);
}
.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}
.badge-muted {
    background: var(--gray-bg);
    color: var(--gray);
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: var(--fs-sm);
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast);
    user-select: none;
}
.tag:hover {
    border-color: var(--text-primary);
}
.tag.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--white);
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.match-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.match-badge-success {
    color: var(--success);
}
.match-badge-warning {
    color: var(--warning);
}
.match-badge-muted {
    color: var(--gray);
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.avatar-sm {
    width: 32px;
    height: 32px;
}
.avatar-lg {
    width: 56px;
    height: 56px;
}
.avatar-xl {
    width: 80px;
    height: 80px;
}
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray);
    color: var(--white);
    font-weight: 700;
    font-family: var(--font);
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 568px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}
.modal-header {
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}
.modal-body {
    padding: var(--sp-6);
}
.modal-footer {
    padding: var(--sp-4) var(--sp-6);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-3);
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-20) var(--sp-4);
    text-align: center;
}
.empty-state h3 {
    margin-bottom: var(--sp-2);
}
.empty-state p {
    color: var(--text-secondary);
    max-width: 360px;
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, var(--gray-bg) 25%, var(--border) 50%, var(--gray-bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
/* ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
/* CautColeg.ro Global CSS Update */
.filter-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    height: 44px;
    color: var(--black);
}
.filter-trigger-btn:hover {
    border-color: var(--black);
    background: var(--gray-bg);
}
.filter-trigger-btn svg {
    color: var(--black);
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 2000;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: white;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    transform: translateY(20px);
    transition: transform 0.3s;
}
.modal-overlay.active .modal {
    transform: translateY(0);
}
.grid-item {
    display: block;
    width: 100%;
}
.filter-pill {
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #222;
    display: inline-block;
    user-select: none;
}
.filter-pill:hover {
    border-color: #222;
}
.filter-pill.active {
    background: #222;
    color: white;
    border-color: #222;
}
.action-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    color: #222;
    padding: 0;
    line-height: 0;
}
.action-circle-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.custom-map-popup .leaflet-popup-close-button {
    display: none !important;
}
.custom-map-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 240px !important;
}

/* ═══════════════════════════════════════════════════════════ */
/* NEW STANDARDIZED COMPONENTS (No Inline Styles) */
/* ═══════════════════════════════════════════════════════════ */

/* Verification Bar */
.verification-bar {
    background: var(--error-light);
    color: var(--error);
    padding: var(--sp-3);
    text-align: center;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-bottom: 1px solid #fecdd3;
    position: relative;
    z-index: 10001;
    line-height: 1.5;
}
.verification-bar a {
    color: var(--error);
    text-decoration: underline;
    margin-left: var(--sp-2);
    display: inline-block;
}

/* Header Action Pill Button */
.header-pill-btn {
    height: 48px;
    border-radius: 40px;
    padding: 0 16px;
    border: 1px solid var(--border-dark);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    transition: background var(--duration-fast), box-shadow var(--duration-fast);
    color: var(--text-primary);
}
.header-pill-btn:hover {
    background: var(--gray-bg);
}

/* Floating Dropdowns */
.floating-dropdown {
    position: absolute;
    top: 100%;
    margin-top: 12px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    display: none;
    overflow: hidden;
}
.dropdown-util {
    width: 240px;
}
.right-0 {
    right: 0;
}
.left-0 {
    left: 0;
}
@media (max-width: 768px) {
    .floating-dropdown {
        position: fixed !important;
        left: 50% !important;
        top: calc(var(--header-height) + 10px) !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 280px !important;
        max-width: calc(100vw - 32px) !important;
    }
}
.floating-dropdown.active {
    display: block;
}
.dropdown-item {
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    padding: 12px 20px;
    transition: background var(--duration-fast);
    font-weight: 500;
}
.dropdown-item.dropdown-item-bold {
    font-weight: 700;
}
.dropdown-item:hover {
    background: var(--gray-bg);
    text-decoration: none;
}

/* Flash Toast Notifications */
.flash-container-fixed {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.flash-toast-box {
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    background: var(--white);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 300px;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.flash-toast-box.success { border-left: 6px solid var(--success); }
.flash-toast-box.error { border-left: 6px solid var(--error); }
.flash-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flash-toast-box.success .flash-toast-icon { background: var(--success); }
.flash-toast-box.error .flash-toast-icon { background: var(--error); }
.flash-toast-msg { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.flash-toast-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    z-index: 10;
    padding: 0 4px;
}
.flash-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    animation: flashProgress 3s linear forwards;
}
.flash-toast-box.success .flash-toast-progress { background: var(--success); }
.flash-toast-box.error .flash-toast-progress { background: var(--error); }

@keyframes slideInRight {
    from { transform: translateX(110%); }
    to { transform: translateX(0); }
}
@keyframes flashProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Premium Filter Modal Layout */
.filter-modal-canvas {
    width: 780px;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-xl);
}
.filter-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    position: relative;
}
.filter-modal-title {
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 800;
}
.filter-modal-close-btn {
    position: absolute;
    right: 16px;
    top: 12px;
}
.filter-modal-body {
    overflow-y: auto;
    padding: 32px 24px;
}
.filter-modal-footer {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}
.filter-section-title {
    margin: 0 0 20px 0;
    font-size: var(--fs-xl);
    font-weight: 600;
}
.filter-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.filter-input-wrap {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 14px 16px;
}
.filter-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 32px;
}
.currency-input {
    border: none;
    width: 100%;
    font-size: var(--fs-base);
    font-weight: 600;
    outline: none;
    font-family: inherit;
}

/* ═══════════════════════════════════════════════════════════ */
/* LISTING DETAIL PAGE COMPONENTS */
/* ═══════════════════════════════════════════════════════════ */
.detail-page-title { margin-bottom: var(--sp-3); font-size: var(--fs-4xl); line-height: 1.2; }
.detail-meta-group { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.detail-meta-link { color: var(--black, #222); font-weight: 600; text-decoration: underline; }
.detail-meta-link:hover { color: var(--brand, #FF385C); }
.detail-action-btn { background: none; border: none; cursor: pointer; color: var(--black, #222); font-weight: 600; text-decoration: underline; display: flex; align-items: center; gap: 6px; padding: 0; font-family: inherit; }
.detail-action-btn:hover { color: var(--brand, #FF385C); }

.detail-gallery-single { margin-bottom: 48px; border-radius: 20px; overflow: hidden; height: 450px; background: #f5f5f5; }
.detail-gallery-single img { width: 100%; height: 100%; object-fit: cover; }

.detail-section-intro { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #ebebeb; }
.detail-author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.detail-author-avatar { display: block; width: 48px; height: 48px; flex-shrink: 0; }
.detail-author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 1px solid #eee; }
.detail-author-info { display: flex; flex-direction: column; justify-content: center; }
.detail-author-name { font-size: 16px; color: #222; font-weight: 600; line-height: 1.2; }
.detail-author-time { font-size: 14px; color: #717171; margin-top: 4px; }

.detail-intro-title { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.4; color: #222; }
.detail-intro-address { font-weight: 400; font-size: 18px; margin-top: 4px; }

.detail-description { padding-bottom: 32px; margin-bottom: 32px; font-size: 16px; line-height: 1.6; color: #222; border-bottom: 1px solid #ebebeb; }
.detail-section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #ebebeb; }
.detail-section-noborder { padding-bottom: 32px; margin-bottom: 32px; }
.detail-section h2 { font-size: 22px; font-weight: 600; margin-bottom: 24px; }

.detail-property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-property-item { display: flex; align-items: center; gap: 12px; }
.detail-property-text { font-size: 16px; color: #222; }

.amenity-item-detail { display: flex; align-items: center; gap: 16px; font-size: 16px; color: #222; }

.btn-report { background: none; border: none; color: #717171; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; opacity: 0.7; transition: opacity 0.2s, color 0.2s; padding: 0; }
.btn-report:hover { color: var(--brand, #FF385C) !important; opacity: 1 !important; }
.btn-report:hover svg { fill: var(--brand, #FF385C) !important; }

.detail-host-top img { aspect-ratio: 1/1; object-fit: cover; }
.sidebar-amount-row { display: flex; justify-content: space-between; color: #222; font-size: 16px; margin-bottom: 16px; text-decoration: underline; }
.sidebar-total-row { display: flex; justify-content: space-between; color: #222; font-weight: 600; font-size: 16px; border-top: 1px solid #dddddd; padding-top: 16px; }

/* Contact CTA Sidebar */
.contact-cta-panel { border: 1px solid #b0b0b0; border-radius: 8px; margin-bottom: 24px; background: white; }
.contact-cta-panel-top { padding: 12px; }
.contact-cta-subtitle { font-size: 10px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; color: #717171; display: flex; align-items: center; gap: 6px; }
.contact-cta-title { font-size: 14px; font-weight: 600; line-height: 1.4; }
.contact-cta-text { font-weight: 400; color: #717171; margin-top: 2px; }
.contact-cta-panel-bottom { padding: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #b0b0b0; background: #fafafa; border-radius: 0 0 8px 8px; }
.contact-cta-score-label { font-size: 10px; font-weight: 800; text-transform: uppercase; margin-bottom: 2px; color: #717171; }
.contact-cta-score-val { font-size: 14px; font-weight: 700; color: var(--brand); }
/* `.btn-black` nu avea nicio regulă, nicăieri.
   Era folosită în cinci locuri — „+ Anunț nou" din anunțurile mele, butonul de
   trimitere din pagina de anunț și din mesaje — şi toate arătau ca un buton de
   browser nestilizat. Acelaşi aspect ca `.btn-primary`, care e deja închis. */
.btn-black {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}
.btn-black:hover {
    background: #000;
    border-color: #000;
    color: var(--white);
}

/* ─── Mesaje necitite: punct pe meniu, număr în dropdown ──────────────
   Nu exista niciun indiciu vizual că cineva ţi-a scris. Puteai intra pe site de
   zece ori fără să afli, fiindcă singurul semnal era emailul — iar dacă emailul
   nu ajungea (sau nu era citit), mesajul rămânea nevăzut la nesfârşit. */
.header-user-menu.has-unread { position: relative; }
.header-user-menu.has-unread::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF385C;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}

.dd-unread-count {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 999px;
    background: #FF385C;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.6;
}
