/* Premium Car Sidebar Styles */
.premium-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Price Section */
.premium-price-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.premium-price-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    border-radius: 12px 12px 0 0;
}

.premium-price-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7A7575;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.premium-price-main {
    margin-bottom: 15px;
    text-align: center;
}

.premium-old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
    display: block;
}

.premium-new-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #48bb52;
    margin: 0;
    text-shadow: 0 2px 4px rgba(72, 187, 82, 0.2);
}

.premium-price-info {
    padding: 12px 0;
    border-top: 1px solid rgba(72, 187, 82, 0.15);
    margin-top: 15px;
}

.premium-price-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-price-detail:last-child {
    margin-bottom: 0;
}

.premium-price-detail a {
    color: #48bb52;
    text-decoration: none;
    font-weight: 500;
}

.premium-price-detail a:hover {
    text-decoration: underline;
}

.premium-export-price {
    background: linear-gradient(135deg, rgba(72, 187, 82, 0.1), rgba(72, 187, 82, 0.05));
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-top: 10px;
}

.premium-export-price p {
    margin: 0 0 5px 0;
    font-size: 0.8rem;
    color: #666;
}

.premium-export-price h6 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #48bb52;
}

/* Widget Container Override */
.widget.widget-form.bg-light {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

/* Contact Widget */
.premium-contact-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.premium-contact-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    border-radius: 12px 12px 0 0;
}

.premium-contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7A7575;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.premium-vendor-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(72, 187, 82, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(72, 187, 82, 0.1);
}

.premium-vendor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 3px solid rgba(72, 187, 82, 0.2);
    box-shadow: 0 2px 10px rgba(72, 187, 82, 0.1);
}

.premium-vendor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-vendor-details h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.premium-vendor-details h5 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.premium-vendor-details h5 a:hover {
    color: #48bb52;
}

.premium-vendor-stats {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 4px;
    font-weight: 500;
}

.premium-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.premium-contact-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #48bb52;
    box-shadow: 0 2px 8px rgba(72, 187, 82, 0.1);
}

.premium-contact-item i {
    font-size: 16px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #7A7575;
}

.premium-contact-item a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.premium-contact-item a:hover {
    color: #48bb52;
}

/* Form Styles */
.premium-form-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.premium-form-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    border-radius: 12px 12px 0 0;
}

.premium-form-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7A7575;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.premium-form-group {
    margin-bottom: 15px;
}

.premium-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.premium-form-control:focus {
    outline: none;
    border-color: #48bb52;
    box-shadow: 0 0 0 3px rgba(72, 187, 82, 0.1);
    background: rgba(255, 255, 255, 1);
}

.premium-form-control::placeholder {
    color: #999;
}

.premium-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #48bb52, #3da842);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 82, 0.3);
}

/* Share Widget */
.premium-share-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.premium-share-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    border-radius: 12px 12px 0 0;
}

.premium-share-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0D0C1B;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-share-title::before {
    content: '🔗';
    font-size: 1.1rem;
}

.premium-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.premium-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(72, 187, 82, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.premium-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 187, 82, 0.2);
}

.premium-social-link.facebook {
    color: #1877f2;
}

.premium-social-link.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.premium-social-link.twitter {
    color: #1da1f2;
}

.premium-social-link.twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.premium-social-link.linkedin {
    color: #0077b5;
}

.premium-social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

/* Share Widget */
.premium-share-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.premium-widget-header {
  text-align: center;
  margin-bottom: 15px;
}

.premium-widget-title {
  font-size: 16px;
  font-weight: 600;
  color: #7A7575;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1;
}

.premium-widget-icon {
  font-size: 16px;
  color: #7A7575;
  line-height: 1;
  vertical-align: middle;
  margin-top: -5px;
}

.premium-widget-content {
  text-align: center;
}

.premium-social-links {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.premium-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  text-decoration: none;
  color: #495057;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 70px;
  text-align: center;
}

.premium-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.premium-social-link i {
  font-size: 18px;
  margin-bottom: 4px;
}

.premium-social-link.facebook {
  color: #1877f2;
}

.premium-social-link.facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.premium-social-link.twitter {
  color: #1da1f2;
}

.premium-social-link.twitter:hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.premium-social-link.linkedin {
  color: #0077b5;
}

.premium-social-link.linkedin:hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.premium-social-link span {
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Latest Cars Widget */
.premium-cars-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure all sidebar widget titles are gray and centered */
.premium-sidebar h4,
.premium-sidebar h5,
.premium-sidebar .widget-title,
.sidebar-widget-area .widget h4.widget-title {
  color: #7A7575 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
}

/* Remove any icons from widget titles */
.premium-sidebar h4::before,
.premium-sidebar h5::before,
.premium-sidebar .widget-title::before,
.sidebar-widget-area .widget h4.widget-title::before,
.premium-sidebar h4::after,
.premium-sidebar h5::after,
.premium-sidebar .widget-title::after,
.sidebar-widget-area .widget h4.widget-title::after {
  display: none !important;
}

.premium-cars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premium-car-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.premium-car-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.premium-car-image {
  flex-shrink: 0;
  width: 70px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
}

.premium-car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-car-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}

.premium-car-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px 0;
  line-height: 1.3;
  text-align: left;
}

.premium-car-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.premium-car-title a:hover {
  color: #007bff;
}

.premium-car-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.premium-price-current {
  font-size: 14px;
  font-weight: 700;
  color: #48bb52;
}

.premium-price-old {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
}

/* Filter Widget Styles */
.premium-filter-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.premium-filter-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    border-radius: 12px 12px 0 0;
}

.premium-widget-header {
    text-align: center;
    margin-bottom: 15px;
}

.premium-widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7A7575;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.premium-widget-icon {
    font-size: 16px;
    color: #7A7575;
}

.premium-widget-content {
    margin-top: 15px;
}

.premium-filter-group {
    margin-bottom: 15px;
}

.premium-filter-group:last-child {
    margin-bottom: 0;
}

.premium-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #495057;
}

.premium-form-control:focus {
    outline: none;
    border-color: #48bb52;
    box-shadow: 0 0 0 3px rgba(72, 187, 82, 0.1);
    background: rgba(255, 255, 255, 1);
}

.premium-form-control::placeholder {
    color: #999;
}

/* Checkbox List Styles */
.premium-checkbox-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

.premium-checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(72, 187, 82, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.premium-checkbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(72, 187, 82, 0.05), rgba(72, 187, 82, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-checkbox-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(72, 187, 82, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 82, 0.1);
}

.premium-checkbox-item:hover::before {
    opacity: 1;
}

.premium-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #48bb52;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.premium-checkbox-label {
    margin: 0;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.premium-checkbox-item:hover .premium-checkbox-label {
    color: #48bb52;
}

.premium-checkbox:checked + .premium-checkbox-label {
    color: #48bb52;
    font-weight: 600;
}

/* Range Input Styles */
.premium-range-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.premium-range-input {
    flex: 1;
}

.premium-range-separator {
    color: #7A7575;
    font-weight: 500;
}

/* Button Styles */
.premium-filter-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #48bb52, #3da842);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.premium-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.premium-filter-btn:hover::before {
    left: 100%;
}

.premium-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 82, 0.3);
}

/* Reset Button */
.premium-reset-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.premium-reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* Price Slider Widget */
.premium-price-slider-widget {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.premium-price-slider-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    border-radius: 12px 12px 0 0;
}

.premium-price-slider {
    margin: 20px 0;
}

.premium-price-display {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(72, 187, 82, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(72, 187, 82, 0.2);
}

.premium-price-range {
    font-weight: 600;
    color: #48bb52;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-sidebar {
        gap: 15px;
    }
    
    .premium-price-widget,
    .premium-contact-widget,
    .premium-form-widget,
    .premium-share-widget,
    .premium-cars-widget,
    .premium-filter-widget,
    .premium-price-slider-widget {
        padding: 15px;
    }
    
    .premium-vendor-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .premium-vendor-avatar {
        width: 50px;
        height: 50px;
    }
    
    .premium-social-links {
        gap: 8px;
    }
    
    .premium-social-link {
        width: 35px;
        height: 35px;
    }
    
    .premium-checkbox-list {
        max-height: 150px;
    }
    
    .premium-range-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .premium-range-separator {
        display: none;
    }
}

/* Premium Price Slider Specific Styles */
.premium-price-item {
    margin-top: 15px;
}

.premium-price-slider {
    margin-bottom: 20px;
}

.premium-price-value {
    text-align: center;
    margin-top: 10px;
}

.premium-price-text {
    color: #666;
    font-weight: 500;
    font-size: 14px;
}

.premium-price-range {
    color: #48bb52;
    font-weight: 600;
    margin: 0 5px;
}

/* Update existing price slider styles to work with new classes */
.premium-price-slider .noUi-connect {
    background: linear-gradient(135deg, #48bb52, #3da842);
}

.premium-price-slider .noUi-handle {
    background: #fff;
    border: 2px solid #48bb52;
    box-shadow: 0 2px 8px rgba(72, 187, 82, 0.3);
}

.premium-price-slider .noUi-handle:before,
.premium-price-slider .noUi-handle:after {
    background: #48bb52;
}

/* Additional responsive styles for price slider */
@media (max-width: 768px) {
    .premium-price-text {
        font-size: 13px;
    }
    
    .premium-price-item {
        margin-top: 10px;
    }
}