/* ============================================
   LICHIDARE.MD - Stylesheet
   Modern marketplace design
   ============================================ */
/* --- CSS Variables --- */
:root {
    --primary: #1a56db;
    --primary-dark: #1347b8;
    --primary-light: #e8effc;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: 0.2s ease;
}
/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
/* --- Top Bar --- */
.top-bar {
    background: var(--secondary);
    color: #cbd5e1;
    padding: 6px 0;
    font-size: 0.8125rem;
}
.top-bar a, .top-link, .lang-switch {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: color var(--transition);
}
.top-bar a:hover, .top-link:hover, .lang-switch:hover { color: #fff !important; }
.lang-switch {
    background: rgba(255,255,255,.1);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.lang-switch:hover { background: rgba(255,255,255,.2); }
/* --- Navbar --- */
.navbar-main {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    z-index: 1030;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary) !important;
    letter-spacing: -0.5px;
}
.navbar-brand i { color: var(--primary); font-size: 1.3rem; }
.brand-dot { color: var(--primary); }
.footer-brand .brand-dot { color: var(--accent); }
.nav-search .form-control {
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 8px 16px;
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}
.nav-search .form-control:focus { border-color: var(--primary); box-shadow: none; }
.btn-search {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 8px 16px;
}
.btn-search:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.navbar-nav .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 8px 12px !important;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.navbar-nav .nav-link:hover { background: var(--bg); color: var(--primary) !important; }
.btn-add-listing {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
}
.btn-add-listing:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.badge-notify {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--danger);
    color: #fff;
    font-size: 0.625rem;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: 700;
}
.dropdown-menu-categories { min-width: 280px; padding: 8px; }
.dropdown-menu-categories .dropdown-item { border-radius: 6px; padding: 10px 14px; font-weight: 500; }
.dropdown-menu-categories .dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
/* --- Hero Section --- */
.hero {
    background: linear-gradient(180deg, #1a3a5c 0%, #0d2440 100%);
    color: #fff;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(26,86,219,.3) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}
.hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 32px;
    max-width: 600px;
}
.hero-search { max-width: 640px; }
.hero-search .input-group { box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); overflow: hidden; }
.hero-search .form-control { border: none; padding: 16px 24px; font-size: 1.0625rem; }
.hero-search .btn { padding: 16px 32px; font-weight: 600; font-size: 1rem; background: var(--accent); color: var(--secondary); border: none; }
.hero-search .btn:hover { background: var(--accent-dark); }
.hero-stats { display: flex; gap: 0; margin-top: 40px; align-items: center; }
.hero-stat { text-align: center; padding-right: 32px; }
.hero-stat + .hero-stat { padding-left: 32px; padding-right: 0; border-left: 1px solid rgba(255,255,255,.25); }
.hero-stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }
/* --- Category Cards --- */
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; position: relative; }
.section-title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--primary); margin-top: 8px; border-radius: 2px; }
.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px 20px;
    text-align: center;
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.category-card:hover { border-color: #1a3a5c; box-shadow: 0 8px 24px rgba(15,36,56,.12); transform: translateY(-4px); color: #1a3a5c; }
.category-card .cat-icon-wrap {
    width: 64px; height: 64px;
    background: #DBEAFE;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    transition: background 0.22s;
}
.category-card:hover .cat-icon-wrap { background: #1a3a5c; }
.category-card i { font-size: 1.75rem; color: #1a3a5c; transition: color 0.22s; }
.category-card:hover i { color: #F59E0B; }
.category-card h5 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 4px; color: #0F2438; }
.category-card .count { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
/* --- Badges --- */
.badge-proc {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.badge-insolvabilitate { background: #dbeafe; color: #1d4ed8; }
.badge-executare_silita { background: #fef3c7; color: #92400e; }
.badge-gaj_bancar { background: #d1fae5; color: #065f46; }
.badge-sfs { background: #fce7f3; color: #9d174d; }
.badge-alta { background: #e2e8f0; color: #475569; }
/* --- Listing Cards --- */
.listing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.listing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }
.listing-card-img {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
    background: var(--border-light);
}
.listing-card-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.listing-card:hover .listing-card-img img { transform: scale(1.05); }
.listing-card-img .badge-proc { position: absolute; top: 12px; left: 12px; }
.listing-card-img .badge-auction {
    position: absolute; top: 12px; right: 12px;
    background: var(--danger); color: #fff;
    font-size: 0.6875rem; font-weight: 700;
    padding: 4px 10px; border-radius: 6px;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
.listing-card-img .btn-favorite {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(255,255,255,.9); border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--transition); opacity: 0;
}
.listing-card:hover .btn-favorite { opacity: 1; }
.btn-favorite:hover { background: var(--danger); color: #fff; }
.btn-favorite.active { background: var(--danger); color: #fff; opacity: 1; }
.listing-card-body { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; }
.listing-card-body h5 {
    font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-card-body h5 a { color: var(--text); }
.listing-card-body h5 a:hover { color: var(--primary); }
.listing-card-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 12px; }
.listing-card-meta i { margin-right: 4px; }
.listing-card-price { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-top: auto; }
.listing-card-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }
/* --- Filters Sidebar --- */
.filters-panel { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group label { font-weight: 600; font-size: 0.875rem; margin-bottom: 8px; display: block; color: var(--text); }
.filter-group select, .filter-group input { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; font-size: 0.875rem; }
/* --- Detail Page --- */
.detail-gallery { border-radius: var(--radius-lg); overflow: hidden; background: var(--secondary); }
.detail-gallery img { width: 100%; max-height: 500px; object-fit: contain; }
.detail-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.detail-thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.detail-thumbs img:hover, .detail-thumbs img.active { border-color: var(--primary); }
.detail-info { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.detail-price {
    font-size: 2.2rem !important;
    font-weight: 800;
    color: #0F2438 !important;
    margin-bottom: 4px;
    line-height: 1.1;
}
.detail-info h3 { font-size: 1.1rem; font-weight: 600; color: #1e293b; line-height: 1.4; }
.detail-info .badge-proc { font-size: .7rem; font-weight: 700; padding: 5px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: .4px; }
.detail-info-table { width: 100%; border-collapse: collapse; }
.detail-info-table td { padding: 10px 0; border-bottom: 1px solid #F1F5F9; font-size: .9rem; vertical-align: middle; }
.detail-info-table td:first-child { color: #64748B; width: 42%; font-weight: 500; }
.detail-info-table td:last-child { color: #0F2438; font-weight: 500; }
.detail-info-table tr:last-child td { border-bottom: none; }
.seller-card {
    background: linear-gradient(135deg, #F0F5FF 0%, #EEF2F7 100%);
    border: 1px solid #DBEAFE;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 20px;
}
.seller-card h6 { font-weight: 700; color: #0F2438; margin-bottom: 4px; font-size: .9375rem; }
.detail-info .form-control-sm { border: 1px solid #E2E8F0; border-radius: 8px; padding: 9px 12px; font-size: .875rem; transition: border-color .2s; }
.detail-info .form-control-sm:focus { border-color: #1a3a5c; box-shadow: 0 0 0 3px rgba(26,58,92,.10); }
.detail-info .btn-primary { background: #1a3a5c; border-color: #1a3a5c; font-weight: 600; border-radius: 8px; padding: 10px; }
.detail-info .btn-primary:hover { background: #0d2440; border-color: #0d2440; }
#auctionCountdown > div { background: #fff; border: 1px solid #FECACA; border-radius: 10px; padding: 10px 14px; min-width: 64px; text-align: center; box-shadow: 0 2px 8px rgba(220,38,38,.08); }
#mainSwiper { border-radius: 12px; overflow: hidden; background: #F8FAFC; border: 1px solid #E2E8F0; }
.breadcrumb { font-size: .82rem; background: none; padding: 0; margin-bottom: 20px; }
.breadcrumb-item a { color: #64748B; text-decoration: none; }
.breadcrumb-item a:hover { color: #1a3a5c; }
.breadcrumb-item.active { color: #0F2438; font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: #CBD5E1; }
.detail-info .btn-outline-secondary { border-color: #E2E8F0; color: #64748B; border-radius: 8px; font-size: .8rem; font-weight: 500; }
.detail-info .btn-outline-secondary:hover { background: #F1F5F9; border-color: #CBD5E1; color: #0F2438; }
.detail-info .btn-outline-danger { border-color: #FECACA; color: #DC2626; border-radius: 8px; }
/* --- Dashboard --- */
.dashboard-sidebar { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.dashboard-sidebar .nav-link { padding: 12px 20px; color: var(--text); font-weight: 500; border-left: 3px solid transparent; transition: all var(--transition); }
.dashboard-sidebar .nav-link:hover { background: var(--bg); color: var(--primary); }
.dashboard-sidebar .nav-link.active { background: var(--primary-light); color: var(--primary); border-left-color: var(--primary); }
.stat-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.stat-card i { font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.stat-card h3 { font-weight: 800; margin-bottom: 4px; }
.stat-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
/* --- Auth Pages --- */
.auth-card { max-width: 480px; margin: 60px auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-md); }
.auth-card h2 { text-align: center; font-weight: 800; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; }
/* --- Footer --- */
.site-footer { background: var(--secondary); color: #94a3b8; padding: 50px 0 24px; }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contacts div { margin-bottom: 4px; font-size: 0.875rem; }
.footer-title { color: #fff; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 32px 0 16px; }
.footer-bottom { font-size: 0.8125rem; }
.footer-badges { display: flex; gap: 12px; }
.footer-badges .badge-proc { background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; }
/* --- Buttons --- */
.btn-primary { background: var(--primary); border-color: var(--primary); font-weight: 600; padding: 10px 24px; border-radius: var(--radius); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); font-weight: 600; border-radius: var(--radius); }
.btn-accent { background: var(--accent); color: var(--secondary); font-weight: 700; border: none; border-radius: var(--radius); }
.btn-accent:hover { background: var(--accent-dark); color: var(--secondary); }
/* --- Forms --- */
.form-control, .form-select { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; transition: border-color var(--transition), box-shadow var(--transition); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); }
.form-label { font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; }
/* --- Badge status --- */
.badge-status { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-status.active { background: #d1fae5; color: #065f46; }
.badge-status.pending { background: #fef3c7; color: #92400e; }
.badge-status.sold { background: #dbeafe; color: #1d4ed8; }
.badge-status.expired { background: #e2e8f0; color: #475569; }
.badge-status.draft { background: #f1f5f9; color: #64748b; }
/* --- Misc --- */
.breadcrumb { font-size: 0.875rem; }
.breadcrumb-item a { color: var(--text-secondary); }
.breadcrumb-item.active { color: var(--text); font-weight: 500; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 4rem; margin-bottom: 16px; opacity: .3; }
.empty-state h5 { color: var(--text-secondary); }
/* --- No-image placeholder --- */
.no-image { background: var(--border-light); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 2rem; }
/* --- Responsive (tablet) --- */
@media (max-width: 991px) {
    .hero h1 { font-size: 1.75rem; }
    .hero { padding: 40px 0 50px; }
    .hero-stats { gap: 24px; }
    .hero-stat-number { font-size: 1.5rem; }
    .nav-search { order: 3; width: 100%; margin-top: 12px; }
}
/* --- Responsive (mobile) --- */
@media (max-width: 767px) {
    .badge-proc { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.6rem !important; padding: 3px 6px !important; }
    .badge-auction { font-size: 0.6rem !important; padding: 3px 6px !important; }
    .listing-card-body { padding: 10px 12px 12px; }
    .listing-card-body h5 { font-size: 0.8125rem; margin-bottom: 4px; }
    .listing-card-meta { font-size: 0.7rem; margin-bottom: 6px; }
    .listing-card-price { font-size: 1rem; }
    .listing-card-img { padding-top: 55%; }
    .category-card { padding: 16px 12px; }
    .category-card .cat-icon-wrap { width: 50px; height: 50px; }
    .category-card i { font-size: 1.4rem; }
    .category-card h5 { font-size: 0.8125rem; }
    .hero { padding: 30px 0 40px; }
    .hero h1 { font-size: 1.5rem; margin-bottom: 10px; }
    .hero p { font-size: 0.9375rem; margin-bottom: 20px; }
    .hero-search .form-control { padding: 12px 16px; font-size: 0.9375rem; }
    .hero-search .btn { padding: 12px 16px; font-size: 0.875rem; }
    .hero-stats { margin-top: 24px; }
    .hero-stat { padding-right: 20px; }
    .hero-stat + .hero-stat { padding-left: 20px; }
    .hero-stat-number { font-size: 1.25rem; }
    .hero-stat-label { font-size: 0.6875rem; }
    .section-title { font-size: 1.25rem; margin-bottom: 16px; }
    .top-bar { padding: 4px 0; font-size: 0.75rem; }
    .site-footer { padding: 30px 0 16px; }
    .detail-price { font-size: 1.6rem !important; }
    .detail-info { padding: 16px; }
    .detail-info h3 { font-size: 1rem; }
}
@media (max-width: 576px) {
    .hero-search .btn { padding: 12px 20px; }
    .auth-card { margin: 20px; padding: 24px; }
}
@media (max-width: 375px) {
    .hero h1 { font-size: 1.3rem; }
    .listing-card-body h5 { font-size: 0.75rem; }
    .listing-card-price { font-size: 0.9rem; }
    .badge-proc { max-width: 85px; font-size: 0.55rem !important; }
}
/* ============================================================
   LISTING CARD v6 — LICHIDARE.MD
   ============================================================ */
.lc {
    --lc-radius: 12px;
    --lc-border: rgba(14, 38, 60, 0.10);
    --lc-shadow: 0 2px 8px rgba(10, 23, 38, .06);
    --lc-hover-shadow: 0 8px 28px rgba(10, 23, 38, .14);
    --lc-accent: #F59E0B;
    --lc-transition: 0.22s cubic-bezier(.4, 0, .2, 1);
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius);
    overflow: hidden;
    box-shadow: var(--lc-shadow);
    transition: box-shadow var(--lc-transition), transform var(--lc-transition), border-color var(--lc-transition);
    height: 100%;
    position: relative;
}
.lc:hover { box-shadow: var(--lc-hover-shadow); transform: translateY(-3px); border-color: rgba(14, 38, 60, .04); }
.lc--featured { border-color: rgba(245, 158, 11, .45); box-shadow: 0 2px 12px rgba(245, 158, 11, .10); }
.lc--featured:hover { border-color: rgba(245, 158, 11, .70); box-shadow: 0 8px 28px rgba(245, 158, 11, .16); }
.lc__img-wrap { display: block; position: relative; padding-top: 62%; overflow: hidden; background: #EEF2F7; flex-shrink: 0; }
.lc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.38s cubic-bezier(.4, 0, .2, 1); }
.lc:hover .lc__img { transform: scale(1.04); }
/* Top-left badge stack: proc + sale-type flow side-by-side with a gap and
   wrap onto a second line on narrow cards instead of overlapping. */
.lc-badges {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    display: flex; flex-wrap: wrap; gap: 5px;
    max-width: calc(100% - 20px);
}
.lc-badge {
    font-size: .6rem; font-weight: 700; letter-spacing: .45px; text-transform: uppercase;
    padding: 3px 8px; border-radius: 5px; line-height: 1.5; pointer-events: none;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
}
.badge-navy  { background: rgba(12, 30, 54, .82);  color: #B8CFEA; }
.badge-amber { background: rgba(146, 90, 0, .82);   color: #FFD88A; }
.badge-teal  { background: rgba(0, 98, 80, .82);    color: #7FE3D0; }
.badge-rose  { background: rgba(140, 20, 60, .82);  color: #FFAECB; }
.badge-gray  { background: rgba(50, 60, 75, .78);   color: #C8D4E3; }
.lc-badge--premium { position: absolute; left: auto; right: 10px; top: 10px; z-index: 2; background: #F59E0B; color: #3D2000; letter-spacing: .5px; }
.lc-countdown {
    position: absolute; bottom: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(220, 38, 38, .88); color: #fff;
    font-size: .6875rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; letter-spacing: .2px;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    animation: lc-pulse 2.2s ease-in-out infinite;
}
.lc-countdown--done { background: rgba(5, 120, 85, .88); animation: none; }
@keyframes lc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }
.lc__fav {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(255, 255, 255, .88); border: none; border-radius: 50%;
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    color: #94A3B8; cursor: pointer; opacity: 0; transform: scale(.9);
    transition: opacity var(--lc-transition), transform var(--lc-transition), background var(--lc-transition), color var(--lc-transition);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.lc:hover .lc__fav { opacity: 1; transform: scale(1); }
.lc__fav:hover { background: #EF4444; color: #fff; }
.lc__fav.active { opacity: 1; background: #EF4444; color: #fff; transform: scale(1); }
.lc__body { padding: 14px 16px; display: flex; flex-direction: column; flex-grow: 1; gap: 6px; }
.lc__title { font-size: .9375rem; font-weight: 600; line-height: 1.38; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc__title a { color: #0F2438; text-decoration: none; transition: color var(--lc-transition); }
.lc__title a:hover { color: #1A56DB; }
.lc__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lc__meta-item { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; color: #64748B; }
.lc__meta-item svg { flex-shrink: 0; opacity: .7; }
.lc__price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid #F1F5F9; }
.lc__price { font-size: 1.125rem; font-weight: 700; color: #1A56DB; line-height: 1.2; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.lc__price-note { font-size: .7rem; font-weight: 500; color: #64748B; }
.lc__price-tag { font-size: .8rem; font-weight: 600; }
.lc__price-tag--amber { color: #B45309; }
.lc__price-tag--red { color: #DC2626; }
.lc__price-tag--gray { color: #64748B; }
.lc__cta { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; background: #1A56DB; color: #fff; font-size: .8125rem; font-weight: 600; text-decoration: none; transition: background var(--lc-transition), transform var(--lc-transition); }
.lc__cta:hover { background: #0F3F9F; color: #fff; transform: translateX(2px); text-decoration: none; }
.lc__cta-txt { line-height: 1; }
@media (max-width: 360px) { .lc__cta-txt { display: none; } .lc__cta { padding: 0; width: 34px; } }
@media (max-width: 576px) {
    .lc__img-wrap { padding-top: 56%; }
    .lc__title { font-size: .8125rem; }
    .lc__body { padding: 10px 12px 12px; gap: 4px; }
    .lc__price { font-size: .9375rem; }
    .lc__price-tag { font-size: .74rem; }
    .lc__meta-item { font-size: .68rem; }
    .lc-badge { font-size: .57rem; padding: 2px 6px; }
}

/* ============================================================
   LISTINGS PAGE — LICHIDARE.MD
   ============================================================ */

/* Filters panel */
.filters-panel {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15,36,56,.06);
}

.filters-panel h5 {
    font-size: .9375rem;
    font-weight: 700;
    color: #0F2438;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group label {
    font-size: .78rem;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
    display: block;
}

.filter-group .form-select,
.filter-group .form-control {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: .875rem;
    color: #0F2438;
    padding: 8px 12px;
    transition: border-color .2s;
}

.filter-group .form-select:focus,
.filter-group .form-control:focus {
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26,58,92,.08);
}

.filter-group .form-check-label {
    font-size: .875rem;
    color: #0F2438;
    font-weight: 500;
}

.filter-group .form-check-input:checked {
    background-color: #1a3a5c;
    border-color: #1a3a5c;
}

/* Filter buttons */
.filters-panel .btn-primary {
    background: #1a3a5c;
    border-color: #1a3a5c;
    border-radius: 8px;
    font-weight: 600;
    font-size: .875rem;
    padding: 9px;
}

.filters-panel .btn-primary:hover {
    background: #0d2440;
    border-color: #0d2440;
}

.filters-panel .btn-outline-secondary {
    border-color: #E2E8F0;
    color: #64748B;
    border-radius: 8px;
    font-size: .875rem;
    padding: 8px;
}

.filters-panel .btn-outline-secondary:hover {
    background: #F1F5F9;
    color: #0F2438;
    border-color: #CBD5E1;
}

/* Toolbar */
.listings-toolbar {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 1px 4px rgba(15,36,56,.05);
}

.listings-count {
    font-size: .875rem;
    color: #64748B;
    font-weight: 500;
}

.listings-count strong {
    color: #0F2438;
    font-weight: 700;
}

.listings-sort .form-select {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: .875rem;
    color: #0F2438;
    padding: 6px 32px 6px 12px;
    font-weight: 500;
}

.listings-sort .form-select:focus {
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26,58,92,.08);
}

/* Pagination */
.pagination .page-link {
    border: 1px solid #E2E8F0;
    color: #0F2438;
    border-radius: 8px !important;
    margin: 0 2px;
    font-weight: 500;
    font-size: .875rem;
    padding: 6px 12px;
    transition: all .2s;
}

.pagination .page-link:hover {
    background: #F0F5FF;
    border-color: #1a3a5c;
    color: #1a3a5c;
}

.pagination .page-item.active .page-link {
    background: #1a3a5c;
    border-color: #1a3a5c;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background: #F8FAFC;
    color: #CBD5E1;
    border-color: #E2E8F0;
}

/* Mobile filters */
@media (max-width: 991px) {
    .filters-panel { margin-bottom: 20px; }
}

/* Mobile swiper & no-image fix */
@media (max-width: 767px) {
    #mainSwiper { max-height: 280px; }
    .no-image { height: 220px !important; font-size: 1.5rem; }
    .detail-gallery { max-height: 280px; }
}
/* Admin panel */
.dashboard-sidebar .nav-link.active {
    background: #EEF3FB !important;
    color: #1a3a5c !important;
    border-left-color: #1a3a5c !important;
    font-weight: 600;
}

.dashboard-sidebar .nav-link:hover {
    background: #F8FAFC !important;
    color: #1a3a5c !important;
}

.dashboard-sidebar .nav-link .badge.bg-danger {
    background: #EF4444 !important;
}
