/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-hover: #222;
  --border: #2a2a2a;
  --text: #c8c8c8;
  --text-light: #f0f0f0;
  --text-muted: #777;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.5);
  --header-h: 56px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.6; min-height: 100vh; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 260px; gap: 24px; padding: 24px 0; }
@media (max-width: 900px) { .layout-with-sidebar { grid-template-columns: 1fr; } .sidebar { display: none; } }

/* ===== HEADER ===== */
.site-header { background: #111; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; height: var(--header-h); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--text-light); white-space: nowrap; }
.logo-icon { font-size: 22px; }
.logo-text { color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 16px; flex: 1; }
.nav-link { color: var(--text-muted); padding: 6px 10px; border-radius: var(--radius); font-size: 13px; transition: color .2s, background .2s; white-space: nowrap; }
.nav-link:hover { color: var(--text-light); background: var(--bg-card); }
.header-auth { display: flex; align-items: center; gap: 8px; margin-left: auto; white-space: nowrap; font-size: 13px; }
.header-auth a { color: var(--text-muted); padding: 6px 10px; border-radius: var(--radius); }
.header-auth a:hover { color: var(--text-light); background: var(--bg-card); }
.reg-link { color: var(--primary) !important; border: 1px solid var(--primary); padding: 5px 10px; border-radius: var(--radius); }
.reg-link:hover { background: var(--primary) !important; color: #fff !important; }
.menu-toggle { background: none; border: none; color: var(--text-light); font-size: 20px; cursor: pointer; padding: 8px; display: none; }
@media (max-width: 768px) { .menu-toggle { display: block; } .main-nav { display: none; } .header-auth { display: none; } }

/* ===== SIDEBAR MENU ===== */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 200; }
.sidebar-overlay.open { display: block; }
.sidebar-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: #111; border-right: 1px solid var(--border); z-index: 300; padding: 16px; overflow-y: auto; transition: left .3s; }
.sidebar-menu.open { left: 0; }
.sidebar-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; position: absolute; top: 12px; right: 12px; }
.sidebar-logo { display: block; font-size: 18px; font-weight: 700; color: var(--primary); padding: 8px 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; color: var(--text); padding: 10px 8px; border-radius: var(--radius); font-size: 14px; transition: background .2s; }
.sidebar-link:hover { background: var(--bg-card); color: var(--text-light); }
.sidebar-link i { width: 16px; color: var(--primary); }
.sidebar-menu hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--radius); border: none; cursor: pointer; font-weight: 600; font-size: 13px; transition: all .2s; line-height: 1; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--text-light); font-size: 13px; font-weight: 500; }
.form-control { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text-light); padding: 9px 12px; border-radius: var(--radius); font-size: 14px; transition: border-color .2s; }
.form-control:focus { outline: none; border-color: var(--primary); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ===== ALERTS ===== */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: rgba(76,175,80,.15); border: 1px solid #4caf50; color: #4caf50; }
.alert-error { background: rgba(233,30,99,.15); border: 1px solid var(--primary); color: var(--primary); }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, #111 0%, #1a1a1a 100%); border-bottom: 1px solid var(--border); padding: 32px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(20px, 4vw, 32px); color: var(--text-light); margin-bottom: 8px; }
.page-hero p { color: var(--text-muted); font-size: 15px; }
.page-hero .count { color: var(--primary); font-weight: 700; }

/* ===== FILTER BAR ===== */
.hero-filter { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.hero-filter-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.hero-filter-item { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 120px; }
.hero-filter-item label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.hero-filter-btn { flex: 0 0 auto; }
.hero-filter-collapse { display: none; }
.hero-filter-collapse.open { display: block; }

/* ===== LISTING GRID ===== */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
@media (max-width: 480px) { .listing-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ===== LISTING CARD ===== */
.listing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; display: block; color: var(--text); }
.listing-card:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--text); }
.listing-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #111; }
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.listing-card:hover .listing-card-img img { transform: scale(1.05); }
.listing-card-badge { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
.listing-card-info { padding: 10px 12px; }
.listing-card-name { font-size: 14px; font-weight: 600; color: var(--text-light); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.listing-card-meta i { color: var(--primary); font-size: 10px; }
.listing-card-price { font-size: 12px; color: var(--primary); font-weight: 600; margin-top: 4px; }

/* ===== STORIES / RECOMMENDED ===== */
.stories-wrap { margin: 20px 0 24px; }
.stories-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.stories-scroll::-webkit-scrollbar { display: none; }
.story-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; flex-shrink: 0; text-decoration: none; }
.story-ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, var(--primary), #ff6b9d); }
.story-img { width: 100%; height: 100%; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--bg); }
.story-name { font-size: 11px; color: var(--text-muted); text-align: center; max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== DISTRICTS GRID ===== */
.districts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.district-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; transition: border-color .2s, transform .2s; display: block; color: var(--text); }
.district-card:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--text); }
.district-card h3 { font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.district-count { font-size: 12px; color: var(--text-muted); }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.sidebar-box h3 { font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sidebar-list li a { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; color: var(--text); font-size: 13px; border-bottom: 1px solid var(--border); transition: color .2s; }
.sidebar-list li:last-child a { border-bottom: none; }
.sidebar-list li a:hover { color: var(--primary); }
.count-badge { background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); font-size: 11px; padding: 1px 6px; border-radius: 20px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 13px; transition: all .2s; background: var(--bg-card); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination span.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== PROFILE PAGE ===== */
.profile-header { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; }
@media (max-width: 768px) { .profile-header { grid-template-columns: 1fr; } }
.gallery { display: flex; flex-direction: column; gap: 8px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; cursor: pointer; background: #111; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.gallery-thumb { border-radius: 4px; overflow: hidden; aspect-ratio: 1; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { display: flex; flex-direction: column; gap: 16px; }
.profile-name { font-size: 26px; font-weight: 700; color: var(--text-light); }
.profile-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-muted); }
.profile-meta span, .profile-meta a { display: flex; align-items: center; gap: 4px; color: var(--text-muted); }
.profile-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); border: none; cursor: pointer; font-size: 15px; font-weight: 600; transition: all .2s; }
.contact-btn.phone { background: var(--primary); color: #fff; }
.contact-btn.phone:hover { background: var(--primary-dark); }
.contact-btn.whatsapp { background: #25d366; color: #fff; }
.contact-btn.whatsapp:hover { background: #1da851; }
.contact-blurred { filter: blur(4px); transition: filter .3s; }
.contact-btn:hover .contact-blurred { filter: none; }
.profile-description { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; font-size: 14px; line-height: 1.7; max-height: 300px; overflow: hidden; position: relative; }
.profile-description.expanded { max-height: none; }
.profile-description::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(transparent, var(--bg-card)); pointer-events: none; }
.profile-description.expanded::after { display: none; }
.read-more { text-align: center; margin-top: 6px; }
.details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.detail-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: 13px; }
.detail-item span:first-child { color: var(--text-muted); display: block; font-size: 11px; margin-bottom: 2px; }
.detail-item span:last-child { color: var(--text-light); font-weight: 500; }
.services-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); padding: 5px 10px; border-radius: 20px; font-size: 12px; }
.service-tag.highlight { border-color: var(--primary); color: var(--primary); }

/* ===== LIGHTBOX ===== */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 1000; justify-content: center; align-items: center; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; object-fit: contain; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 12px 16px; border-radius: var(--radius); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 13px; background: rgba(0,0,0,.55); padding: 4px 12px; border-radius: 20px; pointer-events: none; }
.lightbox-contact { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; z-index: 10; }
.lightbox-wa-btn, .lightbox-phone-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius); font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
.lightbox-wa-btn { background: #25d366; }
.lightbox-phone-btn { background: var(--primary); }

/* ===== COMMENTS ===== */
.comment-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; }
.comment-author { font-weight: 600; color: var(--text-light); font-size: 13px; }
.comment-date { font-size: 11px; color: var(--text-muted); margin-left: 8px; }
.comment-body { margin-top: 6px; font-size: 14px; line-height: 1.6; }

/* ===== REACTIONS ===== */
.reactions { display: flex; gap: 10px; }
.reaction-btn { display: flex; align-items: center; gap: 6px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); padding: 8px 14px; border-radius: var(--radius); cursor: pointer; font-size: 14px; transition: all .2s; }
.reaction-btn:hover, .reaction-btn.active { border-color: var(--primary); color: var(--primary); }
.reaction-btn.dislike:hover, .reaction-btn.dislike.active { border-color: #666; color: #666; }

/* ===== FOOTER ===== */
.site-footer { background: #0a0a0a; border-top: 1px solid var(--border); padding: 40px 0 24px; margin-top: 48px; }
.footer-seo { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 24px; }
.footer-seo h3 { font-size: 14px; color: var(--text-light); margin: 16px 0 6px; }
.footer-seo p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 24px; }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 13px; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.footer-col ul li a { display: block; color: var(--text-muted); font-size: 13px; padding: 4px 0; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; text-align: center; font-size: 12px; color: var(--text-muted); }
.footer-disclaimer { margin-top: 4px; font-size: 11px; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 20px; right: 20px; background: var(--primary); color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; display: none; justify-content: center; align-items: center; font-size: 16px; z-index: 99; transition: background .2s; box-shadow: var(--shadow); }
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary-dark); }

/* ===== ADMIN TABLE ===== */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: var(--bg-card); color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg-hover); }

/* ===== ACCOUNT TYPE SELECTOR ===== */
.acct-option { display: flex; align-items: flex-start; gap: 10px; background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: border-color .2s; }
.acct-option:has(input:checked) { border-color: var(--primary); }
.acct-option input { margin-top: 3px; accent-color: var(--primary); }

/* ===== UTILITIES ===== */
.count { color: var(--primary); font-weight: 700; }
.hide-mobile { display: inline; }
@media (max-width: 768px) { .hide-mobile { display: none; } }


/* --- Gumb "sve fotografije" preko glavne slike (italiaescort24.com) --- */
.gallery-main { position: relative; }
.gallery-all-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: background 0.2s, transform 0.2s;
}
.gallery-all-btn:hover,
.gallery-all-btn:focus-visible {
    background: var(--primary);
    transform: translateY(-1px);
}
.gallery-all-btn i { font-size: 14px; }
@media (max-width: 768px) {
    .gallery-all-btn { right: 8px; bottom: 8px; padding: 8px 12px; font-size: 12px; }
}

/* ===== LIGHTBOX CONTACT BAR — 2026-09-11 v2 =====
   The WhatsApp/phone bar was absolutely positioned over the photo, so on phones the green
   pill covered the bottom third of the picture. It now sits in the lightbox's flex column
   under the image.
   Written to cover both layouts in this family: on kompanionki24/erotik-anzeigen .lightbox
   is already a flex column with the bar at bottom:0, while putas46/escortia/italiaescort24/…
   centre a flex row and place the bar at bottom:12px with translateX(-50%) — hence the
   explicit left/bottom/transform resets below.
   z-index: that second variant sits at 1000, below the z-index:9001 sticky contact bar,
   which then painted over the open lightbox. */
.lightbox {
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 8px 12px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 68vh; max-width: 92vw; object-fit: contain; }
.lightbox-contact {
    position: static;
    top: auto; right: auto; bottom: auto; left: auto;
    transform: none;
    width: auto;
    background: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0 0;
}
@media (max-width: 768px) {
    .lightbox { padding: 48px 6px 10px; }
    .lightbox img { max-height: 56vh; }
    /* one wrapping row — stacked, the buttons ate half the screen */
    .lightbox-contact { flex-direction: row; gap: 8px; padding: 10px 4px 0; }
    .lightbox-wa-btn, .lightbox-phone-btn { padding: 10px 16px; font-size: 14px; }
}

/* ===== CARD + PROFILE REFRESH — 2026-09-17 ===== */
/* Card: extra info row, service chips, views/new badges */
.listing-card-name { display: flex; align-items: center; gap: 6px; }
.listing-card-name .lc-wa { color: #25d366; font-size: 13px; flex: none; }
.lc-meta2 { margin-top: 3px; font-size: 11px; opacity: .9; }
.lc-meta2 i { color: var(--text-muted); }
.lc-views { position: absolute; left: 8px; bottom: 8px; z-index: 3; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 600; line-height: 1; padding: 5px 8px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; backdrop-filter: blur(2px); }
.lc-views i { font-size: 10px; color: #fff; }
.lc-new { position: absolute; top: 8px; left: 8px; z-index: 3; background: #1a8f2b; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 4px; text-transform: uppercase; }
.listing-card-badge ~ .lc-new { top: 32px; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.lc-tags span { font-size: 10px; line-height: 1; padding: 4px 7px; border-radius: 20px; background: rgba(233,30,99,.10); border: 1px solid rgba(233,30,99,.30); color: #f06292; white-space: nowrap; }
.lc-tags .lc-more { background: transparent; border-color: var(--border); color: var(--text-muted); }
.listing-card-price { margin-top: 6px; font-size: 13px; }

/* Profile: services as real chips (the markup used .service-badge, which had no styles at all) */
.services-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.service-badge { display: inline-flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); padding: 7px 13px; border-radius: 20px; font-size: 13px; line-height: 1; text-decoration: none; transition: all .18s; }
.service-badge:hover { border-color: var(--primary); color: #fff; background: rgba(233,30,99,.14); transform: translateY(-1px); }

/* Profile: rating + reactions box */
.rating-box { margin: 22px 0 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rating-main { display: flex; align-items: center; gap: 12px; }
.rating-score { font-size: 30px; font-weight: 700; color: var(--text-light); line-height: 1; }
.rating-score small { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.stars { display: inline-flex; gap: 3px; font-size: 22px; line-height: 1; }
.stars i { color: #3a3a3a; cursor: pointer; transition: color .12s, transform .12s; }
.stars i.on { color: #ffc107; }
.stars i:hover { transform: scale(1.15); }
.stars.readonly i { cursor: default; }
.rating-count { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.rating-hint { font-size: 12px; color: var(--text-muted); }
.rating-thanks { font-size: 12px; color: #4caf50; font-weight: 600; }
.reactions { display: flex; gap: 10px; margin-left: auto; }
.reaction-btn.active-like { border-color: #4caf50; color: #4caf50; }
.reaction-btn.active-dislike { border-color: #888; color: #aaa; }
@media (max-width: 600px) {
  .rating-box { gap: 12px; padding: 14px; }
  .reactions { margin-left: 0; width: 100%; }
  .reaction-btn { flex: 1; justify-content: center; }
}
