/* --- GLOBAL STYLES --- */
body { 
    background: #f4dede; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    color: #333;
}

.ad-container {
    max-width: 650px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* --- BADGES --- */
.badge-container { display: flex; gap: 8px; margin-bottom: 15px; }
.badge { padding: 4px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; color: #fff; text-transform: uppercase; }
.vip { background: #ff4757; }
.super { background: #ffa502; }
.normal { background: #2f3542; }
.verified { background: #2ed573; }

.ad-main-title { font-size: 1.25rem; text-align: center; color: #333; margin: 10px 0; }

/* --- PROFESSIONAL & CHARM PRICE BADGE --- */
.details-price-badge {
    display: inline-block;
    /* Using a subtle rose-gold/champagne gradient for a premium feel */
    background: linear-gradient(135deg, #d63384 0%, #e85da2 100%);
    color: white;
    font-size: 1.1rem; /* Slightly smaller for elegance */
    font-weight: 700;
    padding: 6px 24px;
    border-radius: 10px;
    
    /* Soft, diffused glow instead of a hard shadow */
    box-shadow: 0 10px 20px -5px rgba(214, 51, 132, 0.3);
    
    /* Subtle border for definition without looking 'thick' */
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Smooth spacing and letter treatment */
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px); /* Adds a premium 'glass' depth */
    transition: all 0.3s ease;
    margin: 12px 0;
}

.details-price-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(214, 51, 132, 0.4);
    filter: brightness(1.05);
}

.ad-breadcrumb { font-size: 1rem; color: #999; text-align: center; margin-bottom: 20px; }

/* --- IMAGE & ACTIONS --- */
.main-featured-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.social-actions {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.action-btn { background: none; border: none; font-weight: 400; color: #666; cursor: pointer; }

/* --- CONTACT GRID --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 0px 5px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s;
    height: 85px;
}

.btn-icon-svg {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    color: white;
}

.btn-login {
    background: #2ed573;
    text-decoration: none;
    color: white !important;
    padding: 10px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.2);
}

.call { background-color: #2f3542; }
.whatsapp { background-color: #2ed573; }
.telegram { background-color: #0088cc; }

.contact-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* --- CONTENT SECTIONS --- */
.highlight-pink { color: #d63384; font-weight: 800; text-align: center; }
.warning-alert { background: #fff0f0; color: #e74c3c; padding: 10px; border-radius: 8px; text-align: center; font-weight: 700; margin: 15px 0; }
.phone-box { text-align: center; font-size: 1.1rem; font-weight: 800; color: #2f3542; margin-bottom: 15px; }

.disclaimer-box { background: #d1ecf1; border: 1px solid #bee5eb; padding: 15px; border-radius: 10px; color: #0c5460; font-size: 0.82rem; line-height: 1.6; margin: 20px 0; }
.en-italic { font-style: italic; margin: 10px 0; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 5px; }

/* --- AD DELETE BUTTON (Top of Ad) --- */
.delete-ad-btn { 
    background: #fff; 
    border: 1px solid #ff4757; 
    color: #ff4757; 
    padding: 5px 15px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 600; 
    transition: 0.3s;
}
.delete-ad-btn:hover { background: #ff4757; color: #fff; }

/* --- REVIEWS SECTION --- */
.reviews-section { margin-top: 30px; }
.review-item { background: #f9f9f9; padding: 12px; border-radius: 8px; margin-bottom: 10px; border-left: 4px solid #d63384; box-shadow: 2px 2px 5px rgba(0,0,0,0.02); }
.review-item strong { color: #d63384; font-size: 0.9rem; }
.review-item p { margin: 5px 0 0; font-size: 0.88rem; }

.load-more-btn { width: 100%; padding: 12px; border: none; background: #eee; border-radius: 8px; cursor: pointer; font-weight: 600; margin-bottom: 20px; color: #555; }
.load-more-btn:hover { background: #e0e0e0; }

.review-form textarea { width: 100%; height: 80px; padding: 12px; border: 1px solid #ddd; border-radius: 10px; margin: 10px 0; box-sizing: border-box; font-family: inherit; }
.post-btn { width: 100%; background: #d63384; color: #fff; border: none; padding: 15px; border-radius: 10px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.post-btn:hover { background: #b8286e; }

/* --- REVIEW META & DELETE ICON --- */
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.delete-review-btn {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: 0.3s;
}
.delete-review-btn:hover { opacity: 1; transform: scale(1.1); }

/* --- TOASTER DESIGN --- */
.toaster {
    position: fixed;
    top: 90px; 
    right: 20px;
    background: #2ed573;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 9999; 
    animation: slideInRight 0.5s ease-out forwards;
}

.toaster.success { background: #2ed573 !important; }

.toaster.info {
    background: #ef7e14 !important; 
    box-shadow: 0 10px 20px rgba(239, 126, 20, 0.3);
}

.toaster-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.toaster-text { font-weight: 600; font-size: 0.95rem; }

.toaster-close {
    cursor: pointer;
    font-size: 1.4rem;
    margin-left: 10px;
    opacity: 0.7;
    line-height: 1;
}
.toaster-close:hover { opacity: 1; }

/* --- UTILITIES --- */
.hidden { display: none; }

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.toaster.fade-out { animation: fadeOut 0.5s ease-in forwards; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 500px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-link {
        font-size: 0.75rem;
        padding: 0px 2px;
    }
    .btn-icon-svg {
        width: 22px;
        height: 22px;
    }
}