/* Premium Vendor Page Styles */
.premium-vendor-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px 0;
}

/* Vendor Header Section */
.premium-vendor-header {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    position: relative;
    overflow: hidden;
}

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

.premium-vendor-profile {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.premium-vendor-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(72, 187, 82, 0.3);
    box-shadow: 0 8px 25px rgba(72, 187, 82, 0.2);
    transition: all 0.3s ease;
}

.premium-vendor-avatar:hover {
    transform: scale(1.05);
    border-color: #48bb52;
    box-shadow: 0 12px 35px rgba(72, 187, 82, 0.3);
}

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

.premium-vendor-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0D0C1B;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-vendor-subtitle {
    font-size: 1.1rem;
    color: #48bb52;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.premium-vendor-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.premium-stat-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(72, 187, 82, 0.15);
    border-radius: 10px;
    padding: 12px 18px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 120px;
}

.premium-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 187, 82, 0.2);
    border-color: rgba(72, 187, 82, 0.3);
}

.premium-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #48bb52;
    margin: 0;
}

.premium-stat-label {
    font-size: 0.85rem;
    color: #7A7575;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px 0 0 0;
}

/* Vendor Info Grid */
.premium-vendor-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.premium-info-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(72, 187, 82, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(72, 187, 82, 0.05), transparent);
    transition: left 0.5s ease;
}

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

.premium-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(72, 187, 82, 0.15);
    border-color: rgba(72, 187, 82, 0.3);
}

.premium-info-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0D0C1B;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-info-card .icon {
    width: 20px;
    height: 20px;
    color: #48bb52;
}

/* Cars Section */
.premium-cars-section {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(72, 187, 82, 0.08);
}

.premium-section-header {
    display: flex;
    align-items: center;
    justify-content: between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(72, 187, 82, 0.1);
}

.premium-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0D0C1B;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-section-title .icon {
    width: 28px;
    height: 28px;
    color: #48bb52;
}

/* Premium Tabs */
.premium-tabs {
    margin-bottom: 30px;
}

.premium-tabs .nav-tabs {
    border: none;
    gap: 10px;
    flex-wrap: wrap;
}

.premium-tabs .nav-link {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 25px;
    padding: 12px 24px;
    color: #7A7575;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(72, 187, 82, 0.1), transparent);
    transition: left 0.5s ease;
}

.premium-tabs .nav-link:hover::before {
    left: 100%;
}

.premium-tabs .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 82, 0.15);
    border-color: rgba(72, 187, 82, 0.3);
    color: #48bb52;
}

.premium-tabs .nav-link.active {
    background: linear-gradient(135deg, #48bb52, rgba(72, 187, 82, 0.8));
    border-color: #48bb52;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 82, 0.3);
}

/* Premium Car Grid */
.premium-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.premium-car-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 187, 82, 0.15);
    border-radius: 16px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    -webkit-box-shadow: 0 4px 20px rgba(72, 187, 82, 0.08);
    box-shadow: 0 4px 20px rgba(72, 187, 82, 0.08);
}

.premium-car-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb52, rgba(72, 187, 82, 0.6), #48bb52);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.premium-car-card:hover::before {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}

.premium-car-card:hover {
    -webkit-transform: translateY(-8px);
    -moz-transform: translateY(-8px);
    -ms-transform: translateY(-8px);
    -o-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-box-shadow: 0 16px 40px rgba(72, 187, 82, 0.2);
    box-shadow: 0 16px 40px rgba(72, 187, 82, 0.2);
    border-color: rgba(72, 187, 82, 0.3);
}

.premium-car-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.premium-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.premium-car-card:hover .premium-car-image img {
    transform: scale(1.05);
}

.premium-car-details {
    padding: 20px;
}

.premium-car-brand {
    font-size: 0.85rem;
    color: #48bb52;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

.premium-car-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0D0C1B;
    margin: 0 0 15px 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.premium-car-title a:hover {
    color: #48bb52;
}

.premium-car-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.premium-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    background: rgba(72, 187, 82, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.premium-spec-item:hover {
    background: rgba(72, 187, 82, 0.1);
    transform: translateY(-2px);
}

.premium-spec-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(72, 187, 82, 0.3));
}

.premium-spec-label {
    font-size: 0.7rem;
    color: #7A7575;
    font-weight: 500;
    margin: 0;
	display: none;
}

.premium-spec-value {
    font-size: 0.8rem;
    color: #0D0C1B;
    font-weight: 600;
    margin: 2px 0 0 0;
}

.premium-car-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(72, 187, 82, 0.1);
}

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

.premium-price-old {
    font-size: 1rem;
    color: #7A7575;
    text-decoration: line-through;
    margin-left: 10px;
}

.premium-wishlist-btn {
    background: rgba(72, 187, 82, 0.1);
    border: 1px solid rgba(72, 187, 82, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #48bb52;
    transition: all 0.3s ease;
    text-decoration: none;
}

.premium-wishlist-btn:hover {
    background: #48bb52;
    color: white;
    transform: scale(1.1);
}

.premium-wishlist-btn.wishlist-active {
    background: #48bb52;
    color: white;
}

/* Sidebar Styles */
.widget-area {
  margin-top: 20px;
}

.widget {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.widget-title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding: 18px 20px;
  border-bottom: none;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
}

.widget-content {
  padding: 20px;
}

.vendor-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vendor-info-list .info-item {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.vendor-info-list .info-item:last-child {
  border-bottom: none;
}

.vendor-info-list .info-item:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.info-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.info-icon i {
  color: white;
  font-size: 14px;
}

.info-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(72, 187, 82, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(72, 187, 82, 0.08);
}

.info-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.info-row {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:hover {
  background: rgba(72, 187, 82, 0.05);
  border-radius: 6px;
  padding-left: 6px;
  padding-right: 6px;
}

.info-row > i {
  width: 20px;
  height: 20px;
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
  color: #48bb52;
  font-size: 14px;
  min-width: 20px;
}

.info-label {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 5px;
}

.info-value {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  flex: 1;
}

.info-value a {
  color: #48bb52;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-value a:hover {
  color: #2ecc71;
  text-decoration: underline;
}

.info-content strong {
  color: #333;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-content span {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.info-content a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.widget-contact {
  padding: 20px;
}

.widget-contact .btn {
  background: #48bb52;
  border-color: #48bb52;
  font-weight: 600;
}

.widget-contact .btn:hover {
  background: #2ecc71;
  border-color: #2ecc71;
}

/* Filter System Styles */
.filters-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.filters-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-title i {
  color: #ffd700;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label i {
  color: #ffd700;
  width: 16px;
}

.filter-input,
.filter-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 12px 15px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.filter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.filter-select option {
  background: #2c3e50;
  color: #fff;
}

.range-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.range-separator {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.clear-filters-btn {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.clear-filters-btn:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Results Header */
.cars-results-header {
  margin-bottom: 30px;
}

.results-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.results-title i {
  color: #ffd700;
}

/* No Results Styling */
.no-results {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 60px 30px;
  text-align: center;
  margin: 40px 0;
}

.no-results h4 {
  color: #fff;
  margin-bottom: 15px;
}

.no-results p {
  color: rgba(255, 255, 255, 0.7);
}

.no-results i {
  color: rgba(255, 255, 255, 0.5);
}

/* Animation for filtered cars */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .premium-vendor-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .premium-vendor-info h1 {
        font-size: 2rem;
    }
    
    .premium-car-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .premium-vendor-header {
        padding: 20px;
    }
    
    .premium-vendor-avatar {
        width: 100px;
        height: 100px;
    }
    
    .premium-vendor-info h1 {
        font-size: 1.8rem;
    }
    
    .premium-vendor-stats {
        justify-content: center;
    }
    
    .premium-car-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .premium-car-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .premium-tabs .nav-link {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filters-container {
        padding: 20px;
    }
    
    .range-inputs {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .range-separator {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .premium-vendor-header {
        padding: 15px;
    }
    
    .premium-vendor-avatar {
        width: 80px;
        height: 80px;
    }
    
    .premium-vendor-info h1 {
        font-size: 1.5rem;
    }
    
    .premium-stat-item {
        min-width: 100px;
        padding: 10px 15px;
    }
    
    .premium-car-specs {
        grid-template-columns: 1fr;
    }
    
    .premium-cars-section {
        padding: 20px;
    }
}