body {
    background: #181f2c !important;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    color: #fff;
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: #232d47;
    box-shadow: 0 4px 12px #000a;
}
.navbar-brand, .nav-link {
    color: #ffca2c !important;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #fff !important;
}

/* Carduri și filtre */
.filter-box, .card, .ad-details-box, .ad-contact-box, .seller-box {
    background: rgba(24,31,44,0.97);
    border: 1.5px solid #ffca2c33;
    border-radius: 14px;
    box-shadow: 0 2px 16px #0006;
    color: #fff;
}
.card-title, .footer-title, .section-title {
    color: #ffca2c;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.card-text, .footer-description, .footer-link, .footer-subtitle, .description, .ad-meta {
    color: #e0e0e0;
}
.btn-primary {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #181f2c;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}
.btn-primary:hover {
    background-color: #ffe066;
    border-color: #ffe066;
    color: #181f2c;
}
.btn-warning {
    background-color: #ffe066;
    border-color: #ffe066;
    color: #181f2c;
    border-radius: 5px;
    font-weight: 600;
}
.btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #181f2c;
}
.pagination .page-link {
    border-radius: 5px;
    color: #ffca2c;
    background: #232d47;
    border: none;
}
.pagination .page-item.active .page-link {
    background-color: #ffca2c;
    color: #181f2c;
}

/* Stiluri pentru footer */
footer {
    background-color: #232d47;
    color: #fff;
    padding: 40px 0 0;
    margin-top: 0;
}
.footer-title {
    color: #ffca2c;
}
.footer-link {
    color: #ffe066;
}
.footer-link:hover {
    color: #ffca2c;
}
.copyright-section {
    background-color: #181f2c;
    color: #ffe066;
}

.ad-title, .section-title {
    color: #ffca2c;
}
.ad-price, .random-ad-content .price {
    color: #ffca2c;
    font-weight: 700;
}
.ad-details-box, .ad-contact-box, .seller-box, .section {
    background: rgba(24,31,44,0.97);
    border-radius: 14px;
    color: #fff;
    border: 1.5px solid #ffca2c33;
}
.spec-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ffca2c22;
    font-size: 1.08rem;
    color: #fff;
}
.spec-list li strong {
    color: #ffca2c;
    font-weight: 700;
}
.spec-list li:last-child {
    border-bottom: none;
}
.description {
    color: #fff;
}
.quick-specs, .quick-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 1.05rem;
    color: #fff;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 12px 16px;
}
.quick-specs span strong, .quick-detail i {
    color: #ffca2c;
}
.quick-detail {
    background: rgba(255,255,255,0.09);
    border-radius: 8px;
    padding: 12px 22px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 1.5px 8px #ffca2c22;
    letter-spacing: 0.5px;
}
.ad-gallery, .ad-page-container {
    background: transparent;
    border: none;
}
.main-image, .ad-image, .random-ad-image img {
    border-radius: 10px;
    background: #181f2c;
}
.thumbnails, .carousel-thumbs {
    gap: 14px;
    justify-content: center;
}
.thumbnail, .carousel-thumb {
    border: 2px solid #232d47;
    border-radius: 10px;
    background: #181f2c;
    opacity: 0.7;
    filter: grayscale(0.2) blur(0.5px);
    transition: border 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.thumbnail.active, .carousel-thumb.active, .thumbnail:hover, .carousel-thumb:hover {
    border: 2px solid #ffca2c;
    box-shadow: 0 4px 16px #ffca2c99;
    opacity: 1;
    filter: none;
}
.contact-label, .seller-title {
    color: #ffca2c;
}
.contact-value, .seller-contact a {
    color: #ffe066;
}
.contact-value:hover, .seller-contact a:hover {
    color: #ffca2c;
}
.status-badge {
    font-size: 1.05rem;
    padding: 5px 16px;
    border-radius: 14px;
    background: linear-gradient(90deg, #ffca2c 60%, #ffe066 100%);
    color: #181f2c;
    margin-left: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 1.5px 8px #ffca2c44;
}
.status-activ { background: linear-gradient(90deg, #d4edda 60%, #b7e4c7 100%); color: #155724; }
.status-vandut { background: linear-gradient(90deg, #cce5ff 60%, #b6ccfe 100%); color: #004085; }
.status-pending { background: linear-gradient(90deg, #fff3cd 60%, #ffe066 100%); color: #856404; }
.status-dezactivat { background: linear-gradient(90deg, #e2e3e5 60%, #adb5bd 100%); color: #383d41; }
.random-ad-card {
    background: rgba(24,31,44,0.97);
    border: 1.5px solid #ffca2c33;
    color: #fff;
}
.random-ad-content h6 {
    color: #ffca2c;
}
.random-ad-content p {
    color: #e0e0e0;
}
.view-more-btn {
    background: #ffca2c;
    color: #181f2c;
    border-radius: 8px;
    font-weight: 700;
    border: none;
}
.view-more-btn:hover {
    background: #ffe066;
    color: #181f2c;
}

/* Scrollbar modern pentru întregul site */
body, html {
    scrollbar-width: thin;
    scrollbar-color: #232d47 #181f2c;
}

/* Pentru browsere Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 10px;
    background: #181f2c;
}
::-webkit-scrollbar-thumb {
    background: #232d47;
    border-radius: 8px;
    border: 2px solid #181f2c;
    transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
    background: #ffca2c;
}
::-webkit-scrollbar-track {
    background: #181f2c;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    .random-ad-card {
        flex: 1 1 100%;
    }
}