/* ========================================
   ClassyGirls69 - FINAL PERFECT CSS
   Image: 120x181 FORCED | Container: 342x4800
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-cream: #f5f3ed;
    --bg-white: #ffffff;
    --bg-card: #fffef9;
    --primary-green: #2d7a3e;
    --green-dark: #1f5a2b;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --border: #e8e3d6;
    --shadow: rgba(0, 0, 0, 0.08);
    --danger: #e74c3c;
}

html {
    font-size: 14px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.4;
    overflow-x: hidden;
}

/* =====================================
   HEADER - 56px Fixed
   ===================================== */

.header {
    background: var(--bg-white);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px var(--shadow);
}

.logo-link {
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.logo .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    object-fit: cover;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

#post-ad-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

#post-ad-btn:hover {
    background: var(--green-dark);
}

#user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
    object-fit: cover;
}

#user-icon:hover {
    border-color: var(--primary-green);
}

/* =====================================
   SIDEBAR - Right Slide Panel
   ===================================== */

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 300;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    border-bottom: 1px solid var(--border);
}

.sidebar a,
.sidebar button {
    display: block;
    padding: 14px 16px;
    color: var(--text-dark);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
}

.sidebar a:hover,
.sidebar button:hover {
    background: #eef7f0;
    color: var(--primary-green);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 250;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* =====================================
   MAIN CONTENT
   ===================================== */

.main-content,
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px;
}

/* =====================================
   SEARCH BAR
   ===================================== */

.search-bar {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto 16px;
    background: var(--bg-white);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--shadow);
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.search-bar button {
    padding: 10px 20px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* =====================================
   ADS CONTAINER - MOBILE: 342x4800 FIXED
   Image: 120x181 ABSOLUTE FORCED
   ===================================== */

.ads-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    /* CLS fix: 8 cards × 192px + 7 gaps × 12px = 1620px reserved */
    min-height: 1620px;
}

/* MOBILE AD CARD - 342x192 */
.ad-card {
    width: 100%;
    height: 192px;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    gap: 10px;
    padding: 6px;
}

.ad-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* LEFT: IMAGE - ABSOLUTE 120x181 */
.ad-card-image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 181px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    border-radius: 6px;
    overflow: hidden;
}

/* IMAGE - ABSOLUTE FORCED POSITIONING */
.ad-card-image-wrapper {
    width: 120px;
    height: 181px;
    min-width: 120px;
    min-height: 181px;
    max-width: 120px;
    max-height: 181px;
    position: relative;
    overflow: hidden;
    background: #eee;
}

.ad-card-image-wrapper img,
.ad-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    position: relative;
}





/* RIGHT: CONTENT - 200px wide */
.ad-card-content {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: calc(100% - 120px);
    max-width: calc(100% - 120px);

    height: 170px;
    overflow: hidden;
}

/* TITLE - 48px height */
.ad-title-link {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    max-height: calc(1.2em * 2); /* 👈 REAL FIX */
    overflow: hidden;

    word-break: break-word;
}
.ad-card:hover .ad-title-link {
    color: var(--primary-green);
}

/* DESCRIPTION - 54px height */
.ad-card-description-text {
    font-size: 0.85rem;
    line-height: 1.2;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;   /* ✅ ONLY ONE LINE */

    max-height: 1.2em;      /* ✅ exact one line */
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: normal;
}
/* META (City, Age) - 22px height */
.ad-card-meta {
    height: 22px;
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-gray);
    align-items: center;
    overflow: hidden;

    flex-wrap: nowrap;
    white-space: nowrap;
}

.ad-card-age,
.ad-card-location {
    font-weight: 500;
    white-space: nowrap;
}

/* FOOTER (Icons) - 44px height */
.ad-card-footer {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.ad-card-contact-icons {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-icon {
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.ad-badge {
    background: var(--primary-green);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

/* =====================================
   DESKTOP LAYOUT (769px+)
   Horizontal with larger images
   ===================================== */

@media (min-width: 769px) {
    .ads-container {
        max-width: 100%;
        gap: 16px;
    }
    
    .ad-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
        flex-direction: row;
        padding: 16px;
        gap: 16px;
    }
    
    /* IMAGE LEFT - 180x180 */
    .ad-card-image-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .ad-card-image {
        width: 180px !important;
        height: 180px !important;
        max-width: 180px !important;
        max-height: 180px !important;
        min-width: 180px !important;
        min-height: 180px !important;
    }
    
    /* CONTENT RIGHT - Flexible */
    .ad-card-content {
        flex: 1;
        width: auto;
        max-width: none;
        gap: 8px;
    }
    
    .ad-card-title {
        height: auto;
        font-size: 1.15rem;
        min-height: 1.5em;
        -webkit-line-clamp: 1;
    }
    
    .ad-card-description {
        height: auto;
        font-size: 0.95rem;
        min-height: 3.8em;
        -webkit-line-clamp: 3;
    }
    
    .ad-card-meta {
        height: auto;
        font-size: 0.9rem;
        min-height: 1.5em;
    }
    
    .ad-card-footer {
        height: auto;
        min-height: 48px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .ad-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* =====================================
   TABLET (481-768px)
   2 columns layout
   ===================================== */

@media (min-width: 481px) and (max-width: 768px) {
    .ads-container {
        max-width: 704px;
        display: grid;
        grid-template-columns: repeat(2, 342px);
        justify-content: center;
    }
}

/* =====================================
   BOTTOM SECTIONS
   ===================================== */

#ads-bottom-fixed {
    margin-top: 24px;
}

#dynamic-city-links {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    /* CLS fix: reserve accurate height so page doesn't jump.
       20 cities × ~28px per link in wrapping flex = ~196px + heading ~40px + padding ~40px ≈ 280px */
    min-height: 280px;
    contain: layout;
    content-visibility: auto;
    contain-intrinsic-size: 0 280px;
}

.seo-bottom-content {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    min-height: 500px;
    contain: layout;
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}
.city-links {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 12px;
}

.city-links h2 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 600;
}

.city-links a {
    display: inline-block;
    background: var(--bg-cream);
    color: var(--text-dark);
    padding: 6px 12px;
    margin: 3px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    text-decoration: none;
}

.city-links a:hover {
    background: var(--primary-green);
    color: white;
}

.seo-bottom-content {
    padding: 20px 12px;
    background: #fcfcfc;
}

.seo-bottom-content h2,
.seo-bottom-content h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 600;
}

.seo-bottom-content h2 {
    text-align: center;
    font-size: 1.2rem;
}

.seo-bottom-content h3 {
    font-size: 1rem;
    margin-top: 20px;
}

.seo-bottom-content p {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.85rem;
}

/* =====================================
   CITY SELECTION
   ===================================== */

.city-selection {
    margin-top: 20px;
}

.city-selection h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.state-box {
    background: var(--bg-white);
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px var(--shadow);
}

.state-box h3 {
    color: var(--primary-green);
    margin-bottom: 12px;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
    padding-bottom: 6px;
}

.city-box {
    display: inline-block;
    background: var(--bg-cream);
    color: var(--text-dark);
    padding: 6px 12px;
    margin: 3px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    text-decoration: none;
}

.city-box:hover {
    background: var(--primary-green);
    color: white;
}

/* =====================================
   SLIDE PANELS (Post Ad, Auth)
   ===================================== */

.post-ad-slide,
.auth-slide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -4px 0 12px var(--shadow);
    transition: right 0.3s ease;
    z-index: 300;
    overflow-y: auto;
}

.post-ad-slide.active,
.auth-slide.active {
    right: 0;
}

.post-ad-content,
.auth-content {
    padding: 20px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-btn:hover {
    background: #c0392b;
}

/* =====================================
   FORMS
   ===================================== */

form h2 {
    color: var(--primary-green);
    margin-bottom: 18px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-family: inherit;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

form textarea {
    min-height: 80px;
    resize: vertical;
}

form label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

form button[type="submit"],
form button[type="button"] {
    width: 100%;
    padding: 11px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

form button:hover {
    background: var(--green-dark);
}

form p {
    text-align: center;
    margin-top: 12px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.auth-toggle-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.captcha-display {
    background: #f8f8f8;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--primary-green);
    border: 2px dashed var(--border);
    font-family: 'Courier New', monospace;
}

.captcha-value {
    color: #3d9a50;
}

.login-form,
.register-form,
.forgot-password-form {
    width: 100%;
}

/* =====================================
   MODAL
   ===================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 400;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h3 {
    color: var(--primary-green);
    margin-bottom: 16px;
    text-align: center;
    font-size: 1.2rem;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-gray);
}

.close-button:hover {
    color: var(--danger);
}

.ad-type-buttons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ad-type-btn {
    background: white;
    border: 2px solid var(--border);
    border-radius: 4px;
    padding: 14px;
    cursor: pointer;
    text-align: center;
}

.ad-type-btn:hover,
.ad-type-btn.selected {
    border-color: var(--primary-green);
    background: #eef7f0;
}

.ad-type-btn h4 {
    color: var(--primary-green);
    margin-bottom: 6px;
}

.ad-type-btn p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.ad-type-btn .price {
    color: #3d9a50;
    font-weight: bold;
    font-size: 1rem;
}

/* =====================================
   PAGE CONTENT
   ===================================== */

.page-content {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px var(--shadow);
}

.page-content h1 {
    color: var(--primary-green);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    font-size: 1.4rem;
}

.page-content h3 {
    color: var(--text-dark);
    margin-top: 16px;
    margin-bottom: 8px;
}

.page-content p {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.page-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.page-content li {
    color: var(--text-gray);
    margin-bottom: 6px;
}

.page-content a {
    color: var(--primary-green);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #fafafa;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-green);
}

.note {
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 12px;
    margin-top: 14px;
    border-radius: 4px;
}

/* =====================================
   DASHBOARD
   ===================================== */

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-green), #3d9a50);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: white;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-white);
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-value {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: bold;
}

.user-ads-section {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 6px;
}

.ad-management-card {
    background: #fafafa;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.ad-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn {
    padding: 7px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
}

.btn-primary { background: var(--primary-green); color: white; }
.btn-success { background: #27ae60; color: white; }
.btn-danger { background: var(--danger); color: white; }

.credits-display {
    background: linear-gradient(135deg, var(--primary-green), #3d9a50);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.credits-amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.pricing-card:hover {
    border-color: var(--primary-green);
}

.pricing-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
}

/* =====================================
   FAQ
   ===================================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 12px;
}

.faq-container h1 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 14px;
    cursor: pointer;
    font-weight: 600;
}

.faq-question:hover {
    background: #eef7f0;
    color: var(--primary-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-gray);
    padding: 0 14px;
}

.faq-item.active .faq-answer {
    max-height: 350px;
    padding: 0 14px 14px;
}

/* =====================================
   FOOTER
   ===================================== */

.footer {
    background: var(--bg-white);
    padding: 20px 12px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.footer p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* =====================================
   UTILITIES
   ===================================== */

#load-more-btn {
    display: block;
    margin: 20px auto;
    padding: 11px 24px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

#load-more-btn:hover {
    background: var(--green-dark);
}

#ads-city-title {
    text-align: center;
    color: var(--primary-green);
    margin: 16px 0;
    font-size: 1.1rem;
    /* CLS fix: reserve space before JS fills city name */
    min-height: 1.6em;
    contain: layout style;
}

#no-ads-message {
    text-align: center;
    color: var(--text-gray);
    margin: 40px 0;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-green);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* =====================================
   MOBILE (480px and below)
   ===================================== */

@media (max-width: 480px) {
    .header {
        height: 52px;
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    #post-ad-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar.active {
        right: 0;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .search-bar button {
        width: 100%;
    }
    
    .post-ad-slide,
    .auth-slide {
        max-width: 100%;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* =====================================
   ACCESSIBILITY
   ===================================== */

*:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

@media print {
    .header, .sidebar, .footer, button {
        display: none !important;
    }
}

/* ===== Ad age & city (clean, no override) ===== */
.ad-info {
    font-size: 0.80rem;
    font-weight: 500;
    color: var(--primary-green);
    white-space: nowrap;
}

.ad-info .ad-age,
.ad-info .ad-city,
.ad-info .ad-separator {
    color: var(--primary-green);
}

/* =====================================
   DASHBOARD - COMPLETE STYLING
   Add this to your style.css file
   ===================================== */

/* Dashboard Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Page Content Wrapper */
.page-content {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px var(--shadow);
    margin-bottom: 24px;
}

.page-content h1 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.page-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* User Info Block */
.user-info-block {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

#user-email-display {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#change-password-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

#change-password-btn:hover {
    background: var(--green-dark);
}

/* Credits Display */
.credits-display-main {
    background: linear-gradient(135deg, var(--primary-green), #3d9a50);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 24px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(45, 122, 62, 0.2);
}

/* Dashboard Filter Buttons */
.dashboard-filter-btn {
    padding: 10px 20px;
    margin: 0 8px 16px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dashboard-filter-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dashboard-filter-btn.expired {
    background: #e67e22;
}

.dashboard-filter-btn.expired:hover {
    background: #d35400;
}

/* Ads Grid - Dashboard Layout */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* Dashboard Ad Card */
.ads-grid .ad-card {
    width: 100%;
    height: auto;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
    padding: 0;
}

.ads-grid .ad-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Dashboard Ad Card Image */
.ads-grid .ad-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-bottom: 2px solid var(--border);
}

/* Dashboard Ad Card Content */
.ads-grid .ad-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Dashboard Ad Title */
.ads-grid .ad-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

/* Dashboard Ad Description */
.ads-grid .ad-card-description {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
}

/* Ad Details (City, Age, etc.) */
.ad-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 8px;
}

.ad-card-details strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Expired Label */
.ad-expired-label {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 8px;
}

/* Dashboard Ad Actions */
.ad-card-actions-dashboard {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.edit-ad-btn,
.renew-ad-btn,
.delete-ad-btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.edit-ad-btn {
    background: #3498db;
    color: white;
}

.edit-ad-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.renew-ad-btn {
    background: #27ae60;
    color: white;
}

.renew-ad-btn:hover {
    background: #229954;
    transform: scale(1.05);
}

.delete-ad-btn {
    background: #e74c3c;
    color: white;
}

.delete-ad-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* No Ads Message */
#no-user-ads-message {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed var(--border);
}

/* Edit Ad Slide Panel */
.edit-ad-slide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -4px 0 12px var(--shadow);
    transition: right 0.3s ease;
    z-index: 300;
    overflow-y: auto;
}

.edit-ad-slide.active {
    right: 0;
}

.edit-ad-content {
    padding: 24px;
    position: relative;
}

.edit-ad-content h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.edit-ad-content .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--danger);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.edit-ad-content .close-btn:hover {
    background: #c0392b;
}

/* Current Image Preview in Edit Form */
.current-image-preview {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin: 12px auto;
    display: block;
    border: 2px solid var(--border);
}

/* Edit Ad Form Elements */
.edit-ad-content form input,
.edit-ad-content form select,
.edit-ad-content form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-family: inherit;
}

.edit-ad-content form input:focus,
.edit-ad-content form select:focus,
.edit-ad-content form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.1);
}

.edit-ad-content form textarea {
    min-height: 100px;
    resize: vertical;
}

.edit-ad-content form label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.edit-ad-content form button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.3s;
}

.edit-ad-content form button[type="submit"]:hover {
    background: var(--green-dark);
}

/* Dashboard Stats (if needed) */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px var(--shadow);
}

.stat-card h3 {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    color: var(--primary-green);
    font-size: 2.2rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    .page-content {
        padding: 16px;
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .dashboard-filter-btn {
        display: block;
        width: 100%;
        margin: 0 0 12px 0;
    }
    
    .edit-ad-slide,
    .post-ad-slide,
    .auth-slide {
        max-width: 100%;
    }
    
    .credits-display-main {
        font-size: 1.6rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-content h1 {
        font-size: 1.4rem;
    }
    
    .ad-card-actions-dashboard {
        flex-direction: column;
    }
    
    .edit-ad-btn,
    .renew-ad-btn,
    .delete-ad-btn {
        width: 100%;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   AD DETAIL PAGE - PROFESSIONAL VERSION
   ✅ Full Image Display (No Crop)
   ✅ Clean Design
   ✅ Mobile Responsive
   ===================================== */

/* Loading Message */
.initial-loading-message {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 8px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 2px 6px var(--shadow);
}

/* Main Container */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Ad Detail Container */
.ad-detail-container {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    margin-bottom: 40px;
}

/* Ad Detail Header - Green Gradient */
.ad-detail-header {
    padding: 28px 24px;
    background: linear-gradient(135deg, var(--primary-green), #3d9a50);
    color: white;
    text-align: center;
}

.ad-detail-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ad-detail-header p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin: 0;
}

.ad-detail-header p span {
    font-weight: 600;
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===================================== 
   IMAGE SECTION - FULL IMAGE (NO CROP)
   ===================================== */

/* Image Container with Background */
.ad-detail-image-container {
    width: 100%;
    min-height: 400px;
    max-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 20px;
    border-bottom: 3px solid var(--border);
}

/* Image - Full Display, No Crop */
.ad-detail-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    max-width: 100%;
    object-fit: contain;        /* ✅ FULL IMAGE - NO CROP */
    object-position: center;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===================================== 
   CONTENT SECTIONS
   ===================================== */

.ad-detail-section {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border);
}

.ad-detail-section:last-child {
    border-bottom: none;
}

.ad-detail-section h2 {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    display: inline-block;
}

.ad-detail-section p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
    word-break: break-word;
}

/* ===================================== 
   INFO GRID (Age, City, State)
   ===================================== */

.ad-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.ad-detail-info-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.ad-detail-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ad-detail-info-item span {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 6px;
}

/* ===================================== 
   CONTACT BUTTONS - COLOR CODED
   ===================================== */

.ad-detail-contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.ad-detail-contact-actions .call-btn,
.ad-detail-contact-actions .whatsapp-btn,
.ad-detail-contact-actions .telegram-btn {
    flex: 1;
    min-width: 160px;
    padding: 16px 24px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.ad-detail-contact-actions .call-btn::before,
.ad-detail-contact-actions .whatsapp-btn::before,
.ad-detail-contact-actions .telegram-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.ad-detail-contact-actions .call-btn:hover::before,
.ad-detail-contact-actions .whatsapp-btn:hover::before,
.ad-detail-contact-actions .telegram-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Call Button - Blue */
.ad-detail-contact-actions .call-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.ad-detail-contact-actions .call-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

/* WhatsApp Button - Green */
.ad-detail-contact-actions .whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #1ebe57);
    color: white;
}

.ad-detail-contact-actions .whatsapp-btn:hover {
    background: linear-gradient(135deg, #1ebe57, #128c7e);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

/* Telegram Button - Cyan */
.ad-detail-contact-actions .telegram-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
}

.ad-detail-contact-actions .telegram-btn:hover {
    background: linear-gradient(135deg, #006699, #004466);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 136, 204, 0.4);
}

/* ===================================== 
   SIMILAR ADS SECTION
   ===================================== */

.similar-ads-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid var(--border);
}

.similar-ads-section h2 {
    color: var(--primary-green);
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.similar-ads-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #3d9a50);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Similar Ads Grid */
.similar-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* Similar Ad Cards */
.similar-ads-grid .ad-card {
    width: 100%;
    height: auto;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.similar-ads-grid .ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Similar Ad Image */
.similar-ads-grid .ad-card-image-wrapper {
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
}

.similar-ads-grid .ad-card-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* =====================================
   ACE - GOLD THEME 👑
   ===================================== */

/* Main Ads List */
.ad-card.ace-highlight {
    border: 3px solid #FFD700 !important;
    background: linear-gradient(135deg, #fffef9 0%, #fff9e6 100%) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 4px 12px rgba(0,0,0,0.1) !important;
    position: relative;
}

.ad-card.ace-highlight:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.7), 0 8px 20px rgba(0,0,0,0.15) !important;
}

.ad-card.ace-highlight .ad-card-image-wrapper {
    border: 2px solid #FFD700;
}

.ad-card.ace-highlight .escort-name-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #000 !important;
    font-weight: 700;
}

.ad-card.ace-highlight .ad-title-link,
.ad-card.ace-highlight .ad-card-title {
    color: #B8860B !important;
    font-weight: 700 !important;
}

/* ACE Badge */
.ad-card.ace-highlight::after {
    content: '👑 ACE';
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 8px 0 8px 0;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Similar Ads - ACE */
.similar-ads-grid .ad-card.ace-highlight {
    border: 3px solid #FFD700;
    background: linear-gradient(135deg, #fffef9 0%, #fff9e6 100%);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
    position: relative;
}

.similar-ads-grid .ad-card.ace-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

.similar-ads-grid .ad-card.ace-highlight::after {
    content: '👑 ACE';
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 8px 0 8px 0;
    z-index: 10;
}

/* =====================================
   DIAMOND - BLUE THEME 💎
   ===================================== */

/* Main Ads List */
.ad-card.diamond-highlight {
    border: 2px solid #4A90E2 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%) !important;
    box-shadow: 0 0 16px rgba(74, 144, 226, 0.4), 0 4px 10px rgba(0,0,0,0.08) !important;
    position: relative;
}

.ad-card.diamond-highlight:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 0 22px rgba(74, 144, 226, 0.6), 0 8px 16px rgba(0,0,0,0.12) !important;
}

.ad-card.diamond-highlight .ad-card-image-wrapper {
    border: 2px solid #4A90E2;
}

.ad-card.diamond-highlight .escort-name-tag {
    background: linear-gradient(135deg, #4A90E2, #357ABD) !important;
    color: white !important;
    font-weight: 600;
}

.ad-card.diamond-highlight .ad-title-link,
.ad-card.diamond-highlight .ad-card-title {
    color: #357ABD !important;
    font-weight: 600 !important;
}

/* Diamond Badge */
.ad-card.diamond-highlight::after {
    content: '💎 DIAMOND';
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 8px 0 8px 0;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Similar Ads - Diamond */
.similar-ads-grid .ad-card.diamond-highlight {
    border: 2px solid #4A90E2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    box-shadow: 0 0 16px rgba(74, 144, 226, 0.4);
    position: relative;
}

.similar-ads-grid .ad-card.diamond-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
}

.similar-ads-grid .ad-card.diamond-highlight::after {
    content: '💎 DIAMOND';
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 8px 0 8px 0;
    z-index: 10;
}

/* =====================================
   SILVER - GRAY THEME 🥈
   ===================================== */

/* Main Ads List */
.ad-card.silver-highlight {
    border: 2px solid #A8A8A8 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%) !important;
    box-shadow: 0 0 12px rgba(168, 168, 168, 0.4), 0 4px 8px rgba(0,0,0,0.08) !important;
    position: relative;
}

.ad-card.silver-highlight:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 0 18px rgba(168, 168, 168, 0.6), 0 6px 14px rgba(0,0,0,0.1) !important;
}

.ad-card.silver-highlight .ad-card-image-wrapper {
    border: 2px solid #C0C0C0;
}

.ad-card.silver-highlight .escort-name-tag {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8) !important;
    color: #fff !important;
    font-weight: 600;
}

.ad-card.silver-highlight .ad-title-link,
.ad-card.silver-highlight .ad-card-title {
    color: #707070 !important;
    font-weight: 600 !important;
}

/* Silver Badge */
.ad-card.silver-highlight::after {
    content: '🥈 SILVER';
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 8px 0 8px 0;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Similar Ads - Silver */
.similar-ads-grid .ad-card.silver-highlight {
    border: 2px solid #C0C0C0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 0 12px rgba(168, 168, 168, 0.4);
    position: relative;
}

.similar-ads-grid .ad-card.silver-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(168, 168, 168, 0.5);
}

.similar-ads-grid .ad-card.silver-highlight::after {
    content: '🥈 SILVER';
    position: absolute;
    top: -1px;
    left: -1px;
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: white;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 8px 0 8px 0;
    z-index: 10;
}

/* No Similar Ads Message */

/* No Similar Ads Message */
#no-similar-ads-message {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px dashed var(--border);
}

/* ===================================== 
   RESPONSIVE DESIGN
   ===================================== */

/* Tablet */
@media (max-width: 768px) {
    main {
        padding: 16px 12px;
    }
    
    .ad-detail-header {
        padding: 24px 20px;
    }
    
    .ad-detail-header h1 {
        font-size: 1.5rem;
    }
    
    .ad-detail-header p {
        font-size: 0.95rem;
    }
    
    /* Image Container */
    .ad-detail-image-container {
        min-height: 300px;
        max-height: 500px;
        padding: 15px;
    }
    
    .ad-detail-image {
        max-height: 450px;
    }
    
    .ad-detail-section {
        padding: 24px 20px;
    }
    
    .ad-detail-section h2 {
        font-size: 1.3rem;
    }
    
    .ad-detail-section p {
        font-size: 1rem;
    }
    
    .ad-detail-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .ad-detail-contact-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .ad-detail-contact-actions .call-btn,
    .ad-detail-contact-actions .whatsapp-btn,
    .ad-detail-contact-actions .telegram-btn {
        width: 100%;
        min-width: auto;
    }
    
    .similar-ads-section {
        margin-top: 50px;
        padding-top: 30px;
    }
    
    .similar-ads-section h2 {
        font-size: 1.4rem;
    }
    
    .similar-ads-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    main {
        padding: 12px 10px;
    }
    
    .ad-detail-container {
        border-radius: 8px;
    }
    
    .ad-detail-header {
        padding: 20px 16px;
    }
    
    .ad-detail-header h1 {
        font-size: 1.2rem;
    }
    
    .ad-detail-header p {
        font-size: 0.85rem;
    }
    
    /* Image Container */
    .ad-detail-image-container {
        min-height: 250px;
        max-height: 400px;
        padding: 10px;
    }
    
    .ad-detail-image {
        max-height: 350px;
        border-radius: 2px;
    }
    
    .ad-detail-section {
        padding: 20px 16px;
    }
    
    .ad-detail-section h2 {
        font-size: 1.1rem;
    }
    
    .ad-detail-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .ad-detail-info-item {
        padding: 14px;
        font-size: 0.85rem;
    }
    
    .ad-detail-info-item span {
        font-size: 1.05rem;
    }
    
    .ad-detail-contact-actions {
        gap: 10px;
    }
    
    .ad-detail-contact-actions .call-btn,
    .ad-detail-contact-actions .whatsapp-btn,
    .ad-detail-contact-actions .telegram-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .similar-ads-section {
        margin-top: 40px;
        padding-top: 25px;
    }
    
    .similar-ads-section h2 {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }
    
    .similar-ads-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .similar-ads-grid .ad-card {
        min-height: 320px;
    }
    
    .similar-ads-grid .ad-card-image-wrapper {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
}

/* Print Styles */
@media print {
    .header,
    .sidebar,
    .footer,
    .ad-detail-contact-actions,
    .similar-ads-section {
        display: none !important;
    }
    
    .ad-detail-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .ad-detail-image-container {
        background: white;
        padding: 0;
    }
    
    .ad-detail-image {
        max-height: none;
        box-shadow: none;
    }
}

/* ===================================== 
   END OF AD DETAIL PAGE - PROFESSIONAL
   ===================================== */

/* ===================================== 
   END OF DASHBOARD CSS
   ===================================== */
/* END OF FINAL PERFECT CSS */