/* Main Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom ShegerCars navbar background */
.navbar-custom {
    background-color: #0d2235 !important;
}

/* Enhanced ShegerCars brand text */
.brand-text {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
}

/* Car Listing Cards */
.car-card {
    position: relative;
}

.car-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

/* Image Gallery */
.carousel-item img {
    object-fit: contain;
    background-color: #f8f9fa;
}

/* Forms */
.form-control, .form-select {
    border-radius: 0.375rem;
}

.btn {
    border-radius: 0.375rem;
}

/* Admin Dashboard */
.card-stats {
    border-left: 0.25rem solid;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        width: 100%;
    }
}

/* Feature Tags */
.feature-tag {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Verification Badge */
.verified-badge {
    font-size: 0.75rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.seller-phone {
    display: none;
    font-weight: bold;
    color: #0d6efd;
}

#sellerPhoneContainer.seller-phone {
    display: none;
    font-weight: bold;
    color: #0d6efd;
}

.card-img-top.car-listing-img {
    height: 200px;
    object-fit: cover;
}

.car-listing-video {
    width: 100%;
    height: auto;
    border-radius: 0.5rem 0.5rem 0 0;
    background: #222;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.video-play-overlay i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 8px #000;
    opacity: 0.85;
}

.car-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6c757d;
    color: #fff;
}

.carousel-item img.car-detail-img {
    height: 500px;
    object-fit: contain;
    background-color: #f8f9fa;
}

.car-detail-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6c757d;
    color: #fff;
}

.rounded-circle.seller-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #6c757d;
    color: #fff;
}

#reviewFormContainer {
    display: none;
}

/* Logo and brand enhancements for navbar */
.navbar-brand {
    padding: 0 !important;
    gap: 0.5rem;
}

.navbar-brand img {
    max-height: 36px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.navbar-brand .brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* ShegerCars custom button color to match navbar */
.btn-shegercars {
    background-color: #0d2235;
    color: #fff;
    border: none;
}
.btn-shegercars:hover, .btn-shegercars:focus {
    background-color: #1976d2;
    color: #fff;
}

/* Notification Popup */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #222;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 9999;
    font-size: 1.1em;
    opacity: 0.95;
    animation: fadeIn 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.notification-popup img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
    background: #fff;
    margin-right: 10px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 0.95; transform: translateY(0); }
}

body.no-scroll {
    overflow: hidden !important;
}

#uploadProgressBar {
    min-width: 3em;
}