/**
 * DeMV Platform - Cyberpunk Vehicles Styling
 * Cyberpunk-inspired styling for the vehicles page
 */

:root {
    --primary-color: #00ffcc;
    --secondary-color: #6c63ff;
    --bg-color: #0d0d16;
    --card-bg: #1a1a25;
    --text-color: #ffffff;
    --border-color: rgba(108, 99, 255, 0.2);
    --success-color: #00cc88;
    --warning-color: #ffcc00;
    --danger-color: #ff3366;
    --info-color: #33ccff;
}

/* Hide content until JavaScript is ready */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: var(--bg-color);
    color: var(--text-color);
}

body.js-ready {
    opacity: 1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(108, 99, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Main Content */
.vehicles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(90deg, #6c63ff, #00ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.gradient-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: transparent;
    text-shadow: none;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: transparent;
    text-shadow: none;
}

.page-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Login Prompt */
.login-prompt {
    background: linear-gradient(135deg, rgba(26, 26, 37, 0.8) 0%, rgba(13, 13, 22, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.login-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.login-prompt h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.4rem;
}

.login-prompt p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.demo-notice {
    background: rgba(108, 99, 255, 0.1);
    border-radius: 4px;
    padding: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
}

.demo-notice i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Vehicle Dashboard */
.vehicle-dashboard {
    margin-bottom: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.dashboard-actions {
    display: flex;
    gap: 15px;
}

/* Rental Integration Banner */
.rental-integration-banner {
    background: linear-gradient(135deg, rgba(26, 26, 37, 0.9) 0%, rgba(13, 13, 22, 0.95) 100%);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 255, 204, 0.1);
}

.rental-integration-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    z-index: 1;
    animation: glow 3s infinite alternate;
}

.rental-integration-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

@keyframes glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.rental-banner-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.rental-banner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 255, 204, 0.1);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.rental-banner-icon i {
    font-size: 24px;
    color: var(--primary-color);
    /* animation removed to reduce CPU usage */
    animation: none;
}

/* Animation disabled to reduce CPU usage */
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.rental-banner-text {
    flex: 1;
}

.rental-banner-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.rental-banner-text p {
    margin-top: 0;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.rental-benefits {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    flex-wrap: wrap;
}

.rental-benefits li {
    margin-right: 20px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.rental-benefits li i {
    color: var(--success-color);
    margin-right: 5px;
}

.rental-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 20px;
}

.btn-help {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-help i {
    margin-right: 5px;
}

.btn-help:hover {
    background: rgba(108, 99, 255, 0.1);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
}

/* Vehicle Count Display */
.vehicle-count-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vehicle-count {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.vehicle-count i {
    color: var(--primary-color);
    margin-right: 5px;
}

.filter-actions {
display: flex;
gap: 10px;
}

/* Filters */
.filter-container {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 30px;
padding: 15px;
background: rgba(26, 26, 37, 0.5);
border-radius: 8px;
border: 1px solid var(--border-color);
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.cyberpunk-select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(13, 13, 22, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ffcc' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    transition: all 0.2s ease;
}

.cyberpunk-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.2);
}

.cyberpunk-filter-dropdown {
    position: relative;
}

.cyberpunk-filter-dropdown::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cyberpunk-filter-dropdown:hover::after {
    opacity: 1;
}

/* Vehicle Grid */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.vehicle-card {
    background: linear-gradient(145deg, rgba(26, 26, 37, 0.9), rgba(20, 20, 30, 0.95));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vehicle-card:hover {
    /* transform removed to reduce CPU usage */
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(108, 99, 255, 0.3);
}

.vehicle-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    /* transition removed to reduce CPU usage */
    transition: none;
}

.vehicle-card:hover::after {
    opacity: 1;
}

/* Blockchain Badge Container Styles */
.blockchain-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockchain-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 204, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.badge-icon {
    color: #00ccff;
    font-size: 14px;
    z-index: 2;
}

.badge-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.2) 0%, rgba(0, 204, 255, 0) 70%);
    border-radius: 50%;
    /* animation removed to reduce CPU usage */
    animation: none;
}

.blockchain-badge-container.verified .badge-pulse {
    background: radial-gradient(circle, rgba(0, 204, 255, 0.3) 0%, rgba(0, 204, 255, 0) 70%);
}

.blockchain-badge-container.pending .badge-pulse {
    background: radial-gradient(circle, rgba(255, 204, 0, 0.3) 0%, rgba(255, 204, 0, 0) 70%);
}

.blockchain-badge-container.failed .badge-pulse {
    background: radial-gradient(circle, rgba(255, 51, 51, 0.3) 0%, rgba(255, 51, 51, 0) 70%);
}

.blockchain-badge-container.pending .badge-icon {
    color: #ffcc00;
}

.blockchain-badge-container.failed .badge-icon {
    color: #ff3333;
}

/* Animation disabled to reduce CPU usage */
@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

/* Blockchain Verification Badge Styles */
.blockchain-verified {
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
    border: 1px solid rgba(0, 204, 255, 0.4);
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
    display: inline-block;
}

/* Vehicle Card Blockchain Verification Indicator */
.vehicle-card.blockchain-verified::before,
.car-card.blockchain-verified::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background-color: #00ccff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.7);
    z-index: 10;
}

/* Vehicle Card Blockchain Verification Status */
.verification-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #00ccff;
    border: 1px solid rgba(0, 204, 255, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verification-status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00ccff;
    border-radius: 50%;
    margin-right: 4px;
}

.verification-status.pending {
    color: #ffcc00;
    border-color: rgba(255, 204, 0, 0.4);
}

.verification-status.pending::before {
    background-color: #ffcc00;
}

.verification-status.failed {
    color: #ff3366;
    border-color: rgba(255, 51, 102, 0.4);
}

.verification-status.failed::before {
    background-color: #ff3366;
}

/* Rental status indicators */
.vehicle-card[data-rental-status="listed"]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, transparent 50%, rgba(108, 99, 255, 0.8) 50%);
    z-index: 2;
    pointer-events: none;
}

.vehicle-card[data-rental-status="rented"]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 124, 0, 0.8) 50%);
    z-index: 2;
    pointer-events: none;
}

.vehicle-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.08);
}

.vehicle-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(26, 26, 37, 1), transparent);
    z-index: 1;
}

.vehicle-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.vehicle-badge {
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(13, 13, 22, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.vehicle-badge i {
    font-size: 0.8rem;
}

.vehicle-badge.status-verified {
    background: rgba(0, 204, 136, 0.25);
    color: var(--success-color);
    border: 1px solid rgba(0, 204, 136, 0.4);
}

.vehicle-badge.status-pending {
    background: rgba(255, 204, 0, 0.25);
    color: var(--warning-color);
    border: 1px solid rgba(255, 204, 0, 0.4);
}

.vehicle-badge.blockchain-badge {
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
    border: 1px solid rgba(0, 204, 255, 0.4);
}

.vehicle-badge.rental-badge {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.25) 0%, rgba(0, 255, 204, 0.25) 100%);
    color: var(--primary-color);
    border: 1px solid rgba(108, 99, 255, 0.4);
}

.vehicle-content {
    padding: 20px;
    position: relative;
}

.vehicle-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.vehicle-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.vehicle-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.vehicle-meta span {
    display: flex;
    align-items: center;
}

.vehicle-meta i {
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.vehicle-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.rental-action {
    margin-top: 15px;
    position: relative;
}

.rental-action::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
}

.vehicle-btn {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.vehicle-btn i {
    margin-right: 8px;
    font-size: 1rem;
}

.vehicle-btn.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 255, 204, 0.8));
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.2);
}

.vehicle-btn.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.4);
    transform: translateY(-2px);
}

.vehicle-btn.btn-secondary {
    background: rgba(108, 99, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.vehicle-btn.btn-secondary:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: rgba(108, 99, 255, 0.5);
    transform: translateY(-2px);
}

.vehicle-btn.btn-rental {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.9), rgba(0, 255, 204, 0.9));
    color: var(--bg-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    width: 100%;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.vehicle-btn.btn-rental::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;
}

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

.vehicle-btn.btn-rental:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5);
}

.vehicle-btn.btn-rental.is-rental {
    background: linear-gradient(135deg, rgba(255, 124, 0, 0.9), rgba(255, 204, 0, 0.9));
}

.vehicle-btn.compare-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(13, 13, 22, 0.8);
    backdrop-filter: blur(5px);
    color: var(--text-color);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.vehicle-btn.compare-btn i {
    margin: 0;
    font-size: 1rem;
}

.vehicle-btn.compare-btn:hover {
    background: rgba(108, 99, 255, 0.2);
    color: var(--secondary-color);
    transform: rotate(180deg);
}

/* Highlight animation for rental button */
@keyframes pulse-rental {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.highlight-action {
    animation: pulse-rental 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vehicle-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .vehicle-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .vehicle-actions {
        grid-template-columns: 1fr;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .vehicle-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .dashboard-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .rental-integration-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .rental-banner-content {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .rental-banner-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .rental-benefits {
        justify-content: center;
    }
    
    .rental-banner-actions {
        margin-left: 0;
        flex-direction: row;
        justify-content: center;
    }
    
    .filter-container {
        flex-direction: column;
    }
    
    .vehicle-count-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .vehicle-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .vehicle-btn {
        width: 100%;
    }
    
    .rental-banner-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* Image placeholder styling */
.image-placeholder {
    position: relative;
    overflow: hidden;
}

.image-placeholder .blockchain-verified {
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
    border: 1px solid rgba(0, 204, 255, 0.4);
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder .blockchain-verified::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00ccff;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px rgba(0, 204, 255, 0.8);
    animation: pulse-blockchain 2s infinite;
}

@keyframes pulse-blockchain {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 204, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 204, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 204, 255, 0);
    }
}

/* No Vehicles Message */
.no-vehicles {
    text-align: center;
    padding: 40px 20px;
    background: rgba(26, 26, 37, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.no-vehicles i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-vehicles h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.no-vehicles p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.pagination-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Flexbox layout for vehicle specs */
.vehicle-card .vehicle-specs,
.vehicle-specs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  flex-direction: row !important;
}

/* Style for all spec items */
.vehicle-card .vehicle-specs span,
.vehicle-specs span,
div.vehicle-specs span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  background: rgba(20, 20, 30, 0.4) !important;
  font-size: 13px !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

/* Special styling for price element at the top of the vehicle card */
.vehicle-card .vehicle-price,
.vehicle-details .vehicle-price {
  background-color: rgba(108, 99, 255, 0.2) !important;
  font-weight: bold !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  width: auto !important;
  align-self: flex-start !important;
}

/* Style for icons */
.vehicle-card .vehicle-specs span i,
.vehicle-specs span i {
  color: #6c63ff !important;
}

/* Price container between specs and actions */
.vehicle-price-container {
  /* Basic layout */
  display: block;
  width: 100%;
  text-align: left;
  
  /* Spacing */
  margin-top: 15px;
  margin-bottom: 15px;
  
  /* Positioning */
  position: relative;
  z-index: 5;
}

/* Price element styling */
.vehicle-price {
  background: rgba(108, 99, 255, 0.2) !important;
  font-weight: bold !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  color: #ffffff !important;
}
