/**
 * SP-Heavy Machinery Frontend Styles
 * Industrial Light Theme with Orange, Red, Yellow
 * RTL Support for Hebrew
 *
 * @package SP_Heavy_Machinery
 */

/* ============================
   CSS Variables - Industrial Theme
   ============================ */
:root {
    /* Brand Colors - Industrial */
    --primary-color: #FF7A00;      /* Orange */
    --secondary-color: #E53935;    /* Red */
    --accent-color: #FFCA28;       /* Yellow */
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --border-color: #BDC3C7;
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --error-color: #E74C3C;
    --text-color: #34495E;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    
    /* Spacing */
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    
    /* Backgrounds */
    --bg-primary: #F8F8F8;
    --bg-card: #FFFFFF;
    --bg-divider: #E0E0E0;
}

/* RTL Support */
body {
    direction: rtl;
    text-align: right;
}

/* Plugin Container */
.sp-hm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Forms */
.sp-hm-form,
.sp-hm-profile-edit,
.sp-hm-vehicle-form,
.sp-hm-registration-form,
.sp-hm-login-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 20px auto;
    border-right: 4px solid var(--primary-color);
}

.sp-hm-form h2,
.sp-hm-profile-edit h2,
.sp-hm-vehicle-form h2 {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    color: var(--dark-color);
}

.sp-hm-form-section {
    background: var(--bg-primary);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    border: 1px solid var(--bg-divider);
}

.sp-hm-section-title {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.sp-hm-form-group {
    margin-bottom: 20px;
}

.sp-hm-form-group:last-child {
    margin-bottom: 0;
}

.sp-hm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.sp-hm-required {
    color: var(--error-color);
    margin-right: 3px;
}

.sp-hm-input,
.sp-hm-select,
.sp-hm-textarea,
.sp-hm-form-group input[type="text"],
.sp-hm-form-group input[type="email"],
.sp-hm-form-group input[type="tel"],
.sp-hm-form-group input[type="number"],
.sp-hm-form-group input[type="date"],
.sp-hm-form-group input[type="url"],
.sp-hm-form-group input[type="password"],
.sp-hm-form-group select,
.sp-hm-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.sp-hm-input:focus,
.sp-hm-select:focus,
.sp-hm-textarea:focus,
.sp-hm-form-group input:focus,
.sp-hm-form-group select:focus,
.sp-hm-form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.sp-hm-textarea {
    min-height: 100px;
    resize: vertical;
}

.sp-hm-field-description {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.sp-hm-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-hm-checkbox-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: normal;
    margin: 0;
}

.sp-hm-checkbox-label:hover {
    background: #FFF3E6;
    border-color: var(--primary-color);
}

.sp-hm-checkbox-label input[type="checkbox"] {
    margin-left: 8px;
    margin-right: 0;
    width: auto;
}

.sp-hm-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.sp-hm-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.sp-hm-btn:hover {
    background: #E66D00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.sp-hm-btn-primary {
    background: var(--primary-color);
    padding: 14px 40px;
    font-size: 16px;
}

.sp-hm-btn-primary:hover {
    background: #E66D00;
}

.sp-hm-btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.sp-hm-btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Image Upload Styles */
.sp-hm-image-upload-wrapper {
    margin-bottom: 15px;
}

.sp-hm-main-image-preview {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.sp-hm-main-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-hm-upload-placeholder {
    text-align: center;
    color: var(--text-color);
    padding: 20px;
}

.sp-hm-upload-placeholder .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    opacity: 0.5;
}

.sp-hm-upload-placeholder p {
    margin: 10px 0 0 0;
    color: #999;
}

.sp-hm-uploading {
    text-align: center;
    padding: 40px;
    color: var(--primary-color);
    font-weight: 600;
}

.sp-hm-remove-image {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--error-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.sp-hm-remove-image:hover {
    background: #C0392B;
    transform: scale(1.1);
}

/* Gallery Images */
.sp-hm-gallery-wrapper {
    margin-top: 15px;
}

.sp-hm-gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    min-height: 50px;
}

.sp-hm-gallery-item {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
}

.sp-hm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-hm-remove-gallery-image {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--error-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.sp-hm-remove-gallery-image:hover {
    background: #C0392B;
    transform: scale(1.1);
}

/* Single Vehicle Gallery */
.sp-hm-vehicle-gallery {
    margin-bottom: 30px;
}

.sp-hm-main-vehicle-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.sp-hm-main-vehicle-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sp-hm-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.sp-hm-gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

.sp-hm-gallery-thumb:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.sp-hm-gallery-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* Vehicle Cards */
/* Vehicle Cards */
.sp-hm-vehicles-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.sp-hm-vehicle-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #E8E8E8;
    width: 100%;
}

.sp-hm-vehicle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.12);
    border-color: var(--primary-color);
}

.sp-hm-vehicle-card * {
    text-decoration: none !important;
}

.sp-hm-vehicle-card a,
.sp-hm-vehicle-card a:hover,
.sp-hm-vehicle-card a:focus,
.sp-hm-vehicle-card a:active {
    text-decoration: none !important;
}

.sp-hm-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    height: 100%;
    min-height: 110px;
}

.sp-hm-card-link:hover {
    text-decoration: none;
}

/* Image Section */
.sp-hm-vehicle-image-wrapper {
    position: relative;
    width: 180px;
    min-width: 180px;
    height: 100%;
    min-height: 110px;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F8F8 0%, #ECECEC 100%);
    border-left: 1px solid #E8E8E8;
}

.sp-hm-vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sp-hm-vehicle-card:hover .sp-hm-vehicle-image {
    transform: scale(1.08);
}

.sp-hm-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E8E8 100%);
    min-height: 110px;
}

.sp-hm-no-image .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #BEBEBE;
    opacity: 0.6;
}

/* Badges Overlay */
.sp-hm-card-badges-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    z-index: 2;
}

.sp-hm-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sp-hm-badge-sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: var(--white);
}

.sp-hm-badge-rent {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: var(--white);
}

.sp-hm-badge-both {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: var(--white);
}

.sp-hm-badge-condition {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Content Section */
.sp-hm-vehicle-content {
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    gap: 20px;
    align-items: center;
}

/* Left Column - Main Info */
.sp-hm-vehicle-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Card Header - Category & Condition Row */
.sp-hm-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sp-hm-vehicle-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0.08) 100%);
    border-radius: 6px;
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.sp-hm-badge-condition-inline {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #F5F5F5 0%, #ECECEC 100%);
    color: #555;
    border: 1px solid #DDD;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sp-hm-vehicle-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1A1A1A;
    line-height: 1.3;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
}

.sp-hm-vehicle-manufacturer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    color: #6D6D6D;
    margin: 0;
    font-weight: 500;
}

.sp-hm-vehicle-manufacturer .dashicons {
    font-size: 17px;
    width: 17px;
    height: 17px;
    color: var(--primary-color);
}

/* Meta Grid */
.sp-hm-vehicle-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-hm-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #6D6D6D;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #ECECEC;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.sp-hm-meta-item:hover {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D1 100%);
    border-color: rgba(255, 122, 0, 0.3);
}

.sp-hm-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* Right Column - Price & Action */
.sp-hm-vehicle-side-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    min-width: 180px;
}

/* Price Section */
.sp-hm-vehicle-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    text-align: right;
}

.sp-hm-vehicle-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-decoration: none;
}

.sp-hm-price-label {
    font-size: 11px;
    color: #6D6D6D;
    font-weight: 500;
    text-decoration: none;
}

.sp-hm-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    text-decoration: none;
    direction: rtl;
    text-shadow: 0 2px 4px rgba(255, 122, 0, 0.15);
}

.sp-hm-price-rent {
    margin-top: 6px;
}

.sp-hm-price-rent .sp-hm-price-value {
    font-size: 22px;
    color: #FF9800;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(255, 152, 0, 0.15);
}

/* Card Footer */
.sp-hm-card-footer {
    flex-shrink: 0;
}

.sp-hm-view-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(255, 122, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-hm-vehicle-card:hover .sp-hm-view-details {
    background: linear-gradient(135deg, #E86B00 0%, #D85F00 100%);
    gap: 9px;
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.35);
    transform: translateY(-1px);
}

.sp-hm-view-details .dashicons {
    font-size: 17px;
    width: 17px;
    height: 17px;
    transition: transform 0.3s ease;
}

.sp-hm-vehicle-card:hover .sp-hm-view-details .dashicons {
    transform: translateX(-3px);
}

/* Results Info */
.sp-hm-results-info {
    background: #F8F8F8;
    padding: 15px 20px;
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-hm-results-info .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.sp-hm-results-info p {
    margin: 0;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* ============================
   Dashboard - Modern Design
   ============================ */

.sp-hm-dashboard-wrapper {
    background: #F8F8F8;
    padding: 30px 0;
    min-height: 100vh;
}

.sp-hm-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dashboard Header */
.sp-hm-dashboard-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
}

.sp-hm-dashboard-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px 0;
}

.sp-hm-dashboard-title .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--primary-color);
}

.sp-hm-dashboard-subtitle {
    font-size: 16px;
    color: #6D6D6D;
    margin: 0;
}

.sp-hm-btn-create-listing {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.sp-hm-btn-create-listing:hover {
    background: linear-gradient(135deg, #E86B00 0%, #D85F00 100%);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

.sp-hm-btn-create-listing .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Statistics Cards */
.sp-hm-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sp-hm-stat-card {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    direction: rtl;
}

.sp-hm-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.sp-hm-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-hm-stat-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.sp-hm-stat-active .sp-hm-stat-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.sp-hm-stat-active .sp-hm-stat-icon .dashicons {
    color: #FFFFFF;
}

.sp-hm-stat-total .sp-hm-stat-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.sp-hm-stat-total .sp-hm-stat-icon .dashicons {
    color: #FFFFFF;
}

.sp-hm-stat-inquiries .sp-hm-stat-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.sp-hm-stat-inquiries .sp-hm-stat-icon .dashicons {
    color: #FFFFFF;
}

.sp-hm-stat-new .sp-hm-stat-icon {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

.sp-hm-stat-new .sp-hm-stat-icon .dashicons {
    color: #FFFFFF;
}

.sp-hm-stat-content {
    flex: 1;
}

.sp-hm-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1;
    margin-bottom: 6px;
}

.sp-hm-stat-label {
    font-size: 14px;
    color: #6D6D6D;
    font-weight: 500;
}

/* Dashboard Tabs */
.sp-hm-dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #FFFFFF;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    direction: rtl;
}

.sp-hm-dashboard-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    color: #6D6D6D;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sp-hm-dashboard-tab:hover {
    background: #F8F8F8;
    color: var(--primary-color);
}

.sp-hm-dashboard-tab.sp-hm-tab-active {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.3);
}

.sp-hm-dashboard-tab .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Dashboard Content */
.sp-hm-dashboard-content {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    min-height: 400px;
}

/* Welcome Card */
.sp-hm-welcome-card {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D1 100%);
    border-radius: 12px;
    border: 2px solid rgba(255, 122, 0, 0.2);
}

.sp-hm-welcome-card .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sp-hm-welcome-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 15px 0;
}

.sp-hm-welcome-card p {
    font-size: 16px;
    color: #6D6D6D;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .sp-hm-dashboard-wrapper {
        padding: 20px 0;
    }
    
    .sp-hm-dashboard-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .sp-hm-dashboard-title {
        font-size: 24px;
    }
    
    .sp-hm-dashboard-title .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }
    
    .sp-hm-btn-create-listing {
        width: 100%;
        justify-content: center;
    }
    
    .sp-hm-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .sp-hm-dashboard-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .sp-hm-dashboard-tab {
        justify-content: flex-start;
        padding: 12px 18px;
    }
    
    .sp-hm-dashboard-content {
        padding: 20px;
    }
    
    .sp-hm-welcome-card {
        padding: 40px 20px;
    }
    
    .sp-hm-welcome-card h3 {
        font-size: 22px;
    }
}

/* ============================
   My Listings Page
   ============================ */

.sp-hm-my-listings-wrapper {
    direction: rtl;
}

.sp-hm-my-listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F0F0F0;
}

.sp-hm-my-listings-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.sp-hm-my-listings-title .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.sp-hm-btn-add-listing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.3);
}

.sp-hm-btn-add-listing:hover {
    background: linear-gradient(135deg, #E86B00 0%, #D85F00 100%);
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

.sp-hm-btn-add-listing .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Listings Grid */
.sp-hm-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Listing Card */
.sp-hm-listing-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sp-hm-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

/* Card Image */
.sp-hm-listing-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #F5F5F5;
}

.sp-hm-listing-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sp-hm-listing-card:hover .sp-hm-listing-card-image img {
    transform: scale(1.05);
}

.sp-hm-no-listing-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E8E8 100%);
}

.sp-hm-no-listing-image .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #BEBEBE;
    opacity: 0.5;
}

/* Card Badges */
.sp-hm-listing-card-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.sp-hm-listing-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sp-hm-listing-badge.sp-hm-badge-sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.sp-hm-listing-badge.sp-hm-badge-rent {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
}

/* Status Badge */
.sp-hm-listing-status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sp-hm-status-active {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.sp-hm-status-sold {
    background: linear-gradient(135deg, #9E9E9E 0%, #616161 100%);
    color: #FFFFFF;
}

.sp-hm-status-rented {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #FFFFFF;
}

.sp-hm-status-reserved {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: #FFFFFF;
}

.sp-hm-status-inactive {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
    color: #FFFFFF;
}

/* Card Content */
.sp-hm-listing-card-content {
    padding: 18px;
    flex: 1;
}

.sp-hm-listing-card-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.sp-hm-listing-card-title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sp-hm-listing-card-title a:hover {
    color: var(--primary-color);
}

.sp-hm-listing-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.sp-hm-listing-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6D6D6D;
    background: #F8F8F8;
    padding: 5px 10px;
    border-radius: 6px;
}

.sp-hm-listing-meta-item .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

.sp-hm-listing-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 12px;
    border-top: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
}

.sp-hm-listing-post-status,
.sp-hm-listing-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #6D6D6D;
}

.sp-hm-listing-post-status .dashicons,
.sp-hm-listing-date .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.sp-hm-listing-card-price {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sp-hm-listing-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    direction: rtl;
}

.sp-hm-listing-price-rent {
    font-size: 16px;
    font-weight: 600;
    color: #FF9800;
    direction: rtl;
}

/* Card Actions */
.sp-hm-listing-card-actions {
    display: flex;
    gap: 8px;
    padding: 12px 18px;
    background: #F8F8F8;
    border-top: 1px solid #E8E8E8;
}

.sp-hm-listing-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sp-hm-listing-action .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sp-hm-action-view {
    background: #2196F3;
    color: #FFFFFF;
}

.sp-hm-action-view:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

.sp-hm-action-edit {
    background: #FF9800;
    color: #FFFFFF;
}

.sp-hm-action-edit:hover {
    background: #F57C00;
    transform: translateY(-1px);
}

.sp-hm-action-delete {
    background: #F44336;
    color: #FFFFFF;
}

.sp-hm-action-delete:hover {
    background: #D32F2F;
    transform: translateY(-1px);
}

/* No Listings State */
.sp-hm-no-listings {
    text-align: center;
    padding: 80px 30px;
    background: linear-gradient(135deg, #F8F8F8 0%, #ECECEC 100%);
    border-radius: 12px;
    border: 2px dashed #BEBEBE;
}

.sp-hm-no-listings .dashicons {
    font-size: 72px;
    width: 72px;
    height: 72px;
    color: #BEBEBE;
    margin-bottom: 20px;
}

.sp-hm-no-listings h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 12px 0;
}

.sp-hm-no-listings p {
    font-size: 16px;
    color: #6D6D6D;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.sp-hm-btn-create-first {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.sp-hm-btn-create-first:hover {
    background: linear-gradient(135deg, #E86B00 0%, #D85F00 100%);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

.sp-hm-btn-create-first .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Responsive My Listings */
@media (max-width: 768px) {
    .sp-hm-my-listings-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sp-hm-btn-add-listing {
        width: 100%;
        justify-content: center;
    }
    
    .sp-hm-listings-grid {
        grid-template-columns: 1fr;
    }
    
    .sp-hm-listing-card-actions {
        flex-direction: column;
    }
    
    .sp-hm-no-listings {
        padding: 50px 20px;
    }
}

/* ============================
   Inquiries Page
   ============================ */

.sp-hm-inquiries-wrapper {
    direction: rtl;
}

.sp-hm-inquiries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F0F0F0;
    flex-wrap: wrap;
    gap: 15px;
}

.sp-hm-inquiries-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}

.sp-hm-inquiries-title .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.sp-hm-inquiries-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-hm-filter-select {
    padding: 10px 16px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    background: #FFFFFF;
    color: #1A1A1A;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.sp-hm-filter-select:hover {
    border-color: var(--primary-color);
}

.sp-hm-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

/* Inquiries Grid */
.sp-hm-inquiries-grid {
    display: grid;
    gap: 20px;
}

/* Inquiry Card */
.sp-hm-inquiry-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #E8E8E8;
    transition: all 0.3s ease;
    position: relative;
}

.sp-hm-inquiry-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #D0D0D0;
}

.sp-hm-inquiry-card.sp-hm-inquiry-unread {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(to left, #FFFFFF 99%, #FFF5EB 100%);
}

/* Card Header */
.sp-hm-inquiry-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F0F0F0;
}

.sp-hm-inquiry-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-hm-inquiry-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-hm-unread-indicator {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.sp-hm-inquiry-type-badge {
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #E3F2FD;
    color: #1976D2;
}

.sp-hm-inquiry-status-badge {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.sp-hm-inquiry-status-new {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #FFFFFF;
}

.sp-hm-inquiry-status-contacted {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: #FFFFFF;
}

.sp-hm-inquiry-status-completed {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.sp-hm-inquiry-status-archived {
    background: linear-gradient(135deg, #9E9E9E 0%, #616161 100%);
    color: #FFFFFF;
}

/* Card Meta */
.sp-hm-inquiry-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.sp-hm-inquiry-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6D6D6D;
}

.sp-hm-inquiry-meta-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.sp-hm-inquiry-meta-item a {
    color: #6D6D6D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sp-hm-inquiry-meta-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Vehicle Info */
.sp-hm-inquiry-vehicle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #F8F8F8;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.sp-hm-inquiry-vehicle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.sp-hm-inquiry-vehicle a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sp-hm-inquiry-vehicle a:hover {
    text-decoration: underline;
}

/* Message */
.sp-hm-inquiry-message {
    margin-bottom: 15px;
}

.sp-hm-inquiry-message strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #1A1A1A;
}

.sp-hm-inquiry-message-text {
    padding: 15px;
    background: #F8F8F8;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    line-height: 1.6;
    color: #3A3A3A;
    font-size: 14px;
}

/* Notes */
.sp-hm-inquiry-notes {
    margin-bottom: 15px;
}

.sp-hm-inquiry-notes strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #1A1A1A;
}

.sp-hm-inquiry-notes-text {
    padding: 12px;
    background: #FFF9E6;
    border-radius: 8px;
    border-left: 3px solid #FFC107;
    line-height: 1.6;
    color: #3A3A3A;
    font-size: 14px;
}

/* Notes Editor */
.sp-hm-inquiry-notes-editor {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
}

.sp-hm-notes-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.sp-hm-notes-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.sp-hm-notes-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.sp-hm-save-notes,
.sp-hm-cancel-notes {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-hm-save-notes {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.sp-hm-save-notes:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    transform: translateY(-1px);
}

.sp-hm-cancel-notes {
    background: #F5F5F5;
    color: #6D6D6D;
}

.sp-hm-cancel-notes:hover {
    background: #E0E0E0;
}

/* Card Actions */
.sp-hm-inquiry-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
    flex-wrap: wrap;
}

.sp-hm-inquiry-status-controls {
    flex: 1;
    min-width: 200px;
}

.sp-hm-inquiry-status-select {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #D0D0D0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: #FFFFFF;
    color: #1A1A1A;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sp-hm-inquiry-status-select:hover {
    border-color: var(--primary-color);
}

.sp-hm-inquiry-status-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.sp-hm-inquiry-action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sp-hm-inquiry-action {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sp-hm-inquiry-action .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sp-hm-mark-read {
    background: #4CAF50;
    color: #FFFFFF;
}

.sp-hm-mark-read:hover {
    background: #388E3C;
    transform: translateY(-1px);
}

.sp-hm-toggle-notes {
    background: #2196F3;
    color: #FFFFFF;
}

.sp-hm-toggle-notes:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

.sp-hm-inquiry-action.sp-hm-action-delete {
    background: #F44336;
    color: #FFFFFF;
}

.sp-hm-inquiry-action.sp-hm-action-delete:hover {
    background: #D32F2F;
    transform: translateY(-1px);
}

/* No Inquiries State */
.sp-hm-no-inquiries {
    text-align: center;
    padding: 80px 30px;
    background: linear-gradient(135deg, #F8F8F8 0%, #ECECEC 100%);
    border-radius: 12px;
    border: 2px dashed #BEBEBE;
}

.sp-hm-no-inquiries .dashicons {
    font-size: 72px;
    width: 72px;
    height: 72px;
    color: #BEBEBE;
    margin-bottom: 20px;
}

.sp-hm-no-inquiries h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 12px 0;
}

.sp-hm-no-inquiries p {
    font-size: 16px;
    color: #6D6D6D;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Inquiries */
@media (max-width: 768px) {
    .sp-hm-inquiries-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sp-hm-inquiries-filters {
        width: 100%;
    }
    
    .sp-hm-filter-select {
        width: 100%;
    }
    
    .sp-hm-inquiry-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .sp-hm-inquiry-card-meta {
        grid-template-columns: 1fr;
    }
    
    .sp-hm-inquiry-card-actions {
        flex-direction: column;
    }
    
    .sp-hm-inquiry-status-controls {
        width: 100%;
    }
    
    .sp-hm-inquiry-action-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .sp-hm-inquiry-action {
        flex: 1;
        justify-content: center;
    }
    
    .sp-hm-no-inquiries {
        padding: 50px 20px;
    }
}

/* ============================
   Authentication Pages (Login & Registration)
   ============================ */

.sp-hm-auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E8E8 100%);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.sp-hm-auth-container {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
    padding: 40px;
    border: 1px solid #E8E8E8;
}

.sp-hm-auth-container-wide {
    max-width: 800px;
}

/* Auth Header */
.sp-hm-auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.sp-hm-auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.3);
}

.sp-hm-auth-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #FFFFFF;
}

.sp-hm-auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 10px 0;
}

.sp-hm-auth-subtitle {
    font-size: 15px;
    color: #6D6D6D;
    margin: 0;
    line-height: 1.6;
}

/* Auth Form */
.sp-hm-auth-form {
    margin-bottom: 25px;
}

.sp-hm-auth-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #F0F0F0;
}

.sp-hm-auth-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sp-hm-auth-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
}

.sp-hm-auth-section-title .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.sp-hm-auth-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.sp-hm-auth-row:last-child {
    margin-bottom: 0;
}

.sp-hm-auth-form-group {
    margin-bottom: 20px;
}

.sp-hm-auth-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.sp-hm-auth-label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.sp-hm-auth-input,
.sp-hm-auth-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #D0D0D0;
    border-radius: 10px;
    font-size: 15px;
    color: #1A1A1A;
    background: #FFFFFF;
    transition: all 0.3s ease;
    font-family: inherit;
}

.sp-hm-auth-input:focus,
.sp-hm-auth-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.sp-hm-auth-input::placeholder {
    color: #BEBEBE;
}

.sp-hm-auth-select {
    cursor: pointer;
}

.sp-hm-auth-remember {
    margin-bottom: 25px;
}

.sp-hm-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.sp-hm-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.sp-hm-checkbox-text {
    font-size: 14px;
    color: #3A3A3A;
}

/* Auth Button */
.sp-hm-auth-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.sp-hm-auth-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.sp-hm-auth-btn-primary {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.3);
}

.sp-hm-auth-btn-primary:hover {
    background: linear-gradient(135deg, #E86B00 0%, #D85F00 100%);
    box-shadow: 0 6px 24px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

.sp-hm-auth-btn-primary:active {
    transform: translateY(0);
}

/* Auth Footer */
.sp-hm-auth-footer {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.sp-hm-auth-link-text {
    font-size: 14px;
    color: #6D6D6D;
    margin: 0;
}

.sp-hm-auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.sp-hm-auth-link:hover {
    color: #D85F00;
    text-decoration: underline;
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .sp-hm-auth-wrapper {
        padding: 20px 15px;
    }
    
    .sp-hm-auth-container {
        padding: 30px 25px;
    }
    
    .sp-hm-auth-icon {
        width: 60px;
        height: 60px;
    }
    
    .sp-hm-auth-icon .dashicons {
        font-size: 32px;
        width: 32px;
        height: 32px;
    }
    
    .sp-hm-auth-title {
        font-size: 24px;
    }
    
    .sp-hm-auth-subtitle {
        font-size: 14px;
    }
    
    .sp-hm-auth-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sp-hm-auth-section-title {
        font-size: 16px;
    }
}

/* Messages */
.sp-hm-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.sp-hm-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-right: 4px solid var(--success-color);
}

.sp-hm-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-right: 4px solid var(--error-color);
}

/* Pagination */
.sp-hm-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.sp-hm-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sp-hm-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.sp-hm-pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.sp-hm-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.sp-hm-pagination .page-numbers.dots:hover {
    background: transparent;
    color: #333;
}

/* No Results */
.sp-hm-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #F8F8F8;
    border-radius: 12px;
    margin-top: 30px;
}

.sp-hm-no-results p {
    font-size: 18px;
    color: #6D6D6D;
    margin: 0;
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
    .sp-hm-vehicle-image-wrapper {
        width: 200px;
        min-width: 200px;
    }
    
    .sp-hm-vehicle-content {
        padding: 15px;
        gap: 15px;
    }
    
    .sp-hm-vehicle-side-info {
        min-width: 160px;
    }
    
    .sp-hm-vehicle-title {
        font-size: 17px;
    }
    
    .sp-hm-price-value {
        font-size: 26px;
    }
    
    .sp-hm-price-rent .sp-hm-price-value {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .sp-hm-card-link {
        flex-direction: column;
        min-height: auto;
    }
    
    .sp-hm-vehicle-image-wrapper {
        width: 100%;
        min-width: 100%;
        height: 0;
        padding-bottom: 60%;
        position: relative;
        border-left: none;
        border-bottom: none;
    }
    
    .sp-hm-vehicle-image {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        background: #FAFAFA;
    }
    
    .sp-hm-no-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: auto;
        max-height: none;
    }
    
    .sp-hm-vehicle-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .sp-hm-vehicle-main-info {
        width: 100%;
    }
    
    .sp-hm-vehicle-side-info {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-width: auto;
    }
    
    .sp-hm-vehicle-price-section {
        align-items: flex-start;
    }
    
    .sp-hm-vehicle-title {
        font-size: 17px;
    }
    
    .sp-hm-vehicle-manufacturer {
        font-size: 14px;
    }
    
    .sp-hm-meta-item {
        font-size: 13px;
    }
    
    .sp-hm-price-value {
        font-size: 26px;
    }
    
    .sp-hm-price-rent .sp-hm-price-value {
        font-size: 20px;
    }
    
    .sp-hm-stats {
        grid-template-columns: 1fr;
    }
    
    .sp-hm-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .sp-hm-vehicles-grid {
        gap: 12px;
    }
    
    .sp-hm-vehicle-image-wrapper {
        padding-bottom: 56%;
    }
    
    .sp-hm-vehicle-content {
        padding: 12px;
        gap: 12px;
    }
    
    .sp-hm-card-header {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .sp-hm-vehicle-title {
        font-size: 16px;
    }
    
    .sp-hm-vehicle-manufacturer {
        font-size: 13px;
    }
    
    .sp-hm-meta-item {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .sp-hm-card-badges-overlay {
        top: 8px;
        right: 8px;
    }
    
    .sp-hm-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .sp-hm-vehicle-side-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sp-hm-vehicle-price-section {
        width: 100%;
        align-items: flex-start;
    }
    
    .sp-hm-vehicle-price {
        align-items: flex-start;
    }
    
    .sp-hm-card-footer {
        width: 100%;
    }
    
    .sp-hm-view-details {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .sp-hm-price-value {
        font-size: 24px;
    }
    
    .sp-hm-price-rent .sp-hm-price-value {
        font-size: 19px;
    }
}

/* ============================
   Search Form - Modern Design
   ============================ */

.sp-hm-search-wrapper {
    margin-bottom: 40px;
}

.sp-hm-search-form {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E8E8E8;
}

/* Search Fields Grid */
.sp-hm-search-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.sp-hm-search-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-hm-search-field-wide {
    grid-column: 1 / -1;
}

.sp-hm-search-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    direction: rtl;
}

.sp-hm-search-field label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

/* Search Input & Select Styling */
.sp-hm-search-field .sp-hm-input,
.sp-hm-search-field .sp-hm-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 15px;
    background: #FFFFFF;
    color: #333;
    transition: all 0.3s ease;
    direction: rtl;
    font-family: inherit;
}

.sp-hm-search-field .sp-hm-input:focus,
.sp-hm-search-field .sp-hm-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
    background: #FFFBF7;
}

.sp-hm-search-field .sp-hm-input::placeholder {
    color: #999;
}

.sp-hm-search-field .sp-hm-select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FF7A00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
    padding-left: 40px;
}

/* Search Actions */
.sp-hm-search-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    direction: rtl;
}

.sp-hm-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.sp-hm-btn-primary {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.sp-hm-btn-primary:hover {
    background: linear-gradient(135deg, #E86B00 0%, #D85F00 100%);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    transform: translateY(-2px);
}

.sp-hm-btn-primary .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.sp-hm-btn-reset {
    background: #F5F5F5;
    color: #6D6D6D;
    border: 2px solid #E0E0E0;
}

.sp-hm-btn-reset:hover {
    background: #FFFFFF;
    color: #333;
    border-color: #999;
    transform: translateY(-2px);
}

.sp-hm-btn-reset .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Responsive Search Form */
@media (max-width: 768px) {
    .sp-hm-search-form {
        padding: 25px 20px;
    }
    
    .sp-hm-search-fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .sp-hm-search-actions {
        flex-direction: column;
    }
    
    .sp-hm-search-btn {
        width: 100%;
        padding: 14px 25px;
    }
}

/* ============================
   Single Vehicle Page
   ============================ */

.sp-hm-single-vehicle-wrapper {
    background: #F8F8F8;
    padding: 30px 0;
    min-height: 100vh;
}

.sp-hm-single-vehicle-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.sp-hm-breadcrumb {
    margin-bottom: 25px;
}

.sp-hm-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6D6D6D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    direction: rtl;
}

.sp-hm-breadcrumb a:hover {
    color: var(--primary-color);
}

.sp-hm-breadcrumb .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Vehicle Header */
.sp-hm-vehicle-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    direction: rtl;
}

.sp-hm-vehicle-header-content {
    flex: 1;
}

.sp-hm-vehicle-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0.08) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.sp-hm-vehicle-category-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sp-hm-vehicle-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.sp-hm-vehicle-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #6D6D6D;
    margin: 0;
    font-weight: 500;
}

.sp-hm-vehicle-subtitle .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.sp-hm-vehicle-header-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.sp-hm-listing-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.sp-hm-listing-badge.sp-hm-badge-sale {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.sp-hm-listing-badge.sp-hm-badge-rent {
    background: linear-gradient(135deg, #FF7A00 0%, #E86B00 100%);
    color: #FFFFFF;
}

/* Main Grid Layout */
.sp-hm-vehicle-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

/* Left Column */
.sp-hm-vehicle-left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Vehicle Gallery */
.sp-hm-vehicle-gallery {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
}

.sp-hm-main-vehicle-image {
    position: relative;
    width: 100%;
    background: #F5F5F5;
    overflow: hidden;
}

.sp-hm-main-vehicle-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.sp-hm-main-vehicle-image:hover img {
    transform: scale(1.05);
}

.sp-hm-condition-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.sp-hm-condition-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Gallery Thumbnails */
.sp-hm-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 15px;
    background: #FAFAFA;
    border-top: 1px solid #E8E8E8;
}

.sp-hm-gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #FFF;
}

.sp-hm-gallery-thumb:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.sp-hm-gallery-thumb.sp-hm-thumb-active {
    border-color: var(--primary-color);
}

.sp-hm-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specs Card */
.sp-hm-vehicle-specs-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
}

.sp-hm-specs-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
    direction: rtl;
}

.sp-hm-specs-title .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.sp-hm-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sp-hm-spec-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-radius: 10px;
    border: 1px solid #ECECEC;
    transition: all 0.3s ease;
}

.sp-hm-spec-item:hover {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D1 100%);
    border-color: rgba(255, 122, 0, 0.3);
    transform: translateY(-2px);
}

.sp-hm-spec-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6D6D6D;
    font-weight: 600;
    direction: rtl;
}

.sp-hm-spec-label .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.sp-hm-spec-value {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    direction: rtl;
}

/* Description Card */
.sp-hm-vehicle-description-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
}

.sp-hm-description-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
    direction: rtl;
}

.sp-hm-description-title .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.sp-hm-description-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    direction: rtl;
}

/* Right Column */
.sp-hm-vehicle-right-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Price Card */
.sp-hm-price-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-color);
    position: sticky;
    top: 20px;
}

.sp-hm-price-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
    direction: rtl;
}

.sp-hm-price-card-title .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

.sp-hm-price-item {
    padding: 20px;
    background: #FFF5EB;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 122, 0, 0.2);
    direction: rtl;
}

.sp-hm-price-item:last-child {
    margin-bottom: 0;
}

.sp-hm-price-type {
    display: block;
    font-size: 14px;
    color: #6D6D6D;
    font-weight: 600;
    margin-bottom: 8px;
}

.sp-hm-price-amount {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    direction: rtl;
    text-shadow: 0 2px 4px rgba(255, 122, 0, 0.15);
}

.sp-hm-price-item-rent .sp-hm-price-amount {
    font-size: 28px;
    color: #FF9800;
}

/* Contact Card */
.sp-hm-contact-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E8E8;
    position: sticky;
    top: 20px;
}

.sp-hm-contact-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
    direction: rtl;
}

.sp-hm-contact-card-title .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sp-hm-vehicle-main-grid {
        grid-template-columns: 1fr;
    }
    
    .sp-hm-vehicle-right-column {
        order: -1;
    }
    
    .sp-hm-price-card,
    .sp-hm-contact-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .sp-hm-single-vehicle-wrapper {
        padding: 20px 0;
    }
    
    .sp-hm-vehicle-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .sp-hm-vehicle-header-badges {
        align-items: flex-start;
    }
    
    .sp-hm-vehicle-title {
        font-size: 22px;
    }
    
    .sp-hm-vehicle-subtitle {
        font-size: 16px;
    }
    
    .sp-hm-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .sp-hm-gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .sp-hm-price-amount {
        font-size: 28px;
    }
    
    .sp-hm-price-item-rent .sp-hm-price-amount {
        font-size: 24px;
    }
}

/* ============================
   Image Lightbox Modal
   ============================ */

.sp-hm-lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.sp-hm-lightbox-modal.sp-hm-modal-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-hm-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-hm-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.sp-hm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.sp-hm-lightbox-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* Navigation Arrows */
.sp-hm-lightbox-prev,
.sp-hm-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.sp-hm-lightbox-prev:hover,
.sp-hm-lightbox-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.sp-hm-lightbox-prev {
    left: 20px;
}

.sp-hm-lightbox-next {
    right: 20px;
}

/* Image Counter */
.sp-hm-lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 25px;
    border-radius: 25px;
    direction: ltr;
}

/* Cursor pointer for clickable main image */
.sp-hm-main-vehicle-image {
    cursor: pointer;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .sp-hm-lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 36px;
        width: 40px;
        height: 40px;
    }
    
    .sp-hm-lightbox-prev,
    .sp-hm-lightbox-next {
        font-size: 28px;
        width: 50px;
        height: 50px;
        padding: 15px;
    }
    
    .sp-hm-lightbox-prev {
        left: 10px;
    }
    
    .sp-hm-lightbox-next {
        right: 10px;
    }
    
    .sp-hm-lightbox-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 8px 20px;
    }
}
