﻿:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --ai-color: #6a11cb;
}

body {
    font-family: Vazir, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}



.logo {
    font-weight: bold;
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
}

    .logo i {
        margin-left: 10px;
        font-size: 28px;
    }

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 15px !important;
    transition: all 0.3s;
    border-radius: 4px;
}

    .nav-link:hover {
        color: white !important;
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

.ad-form {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
}

.form-section-title {
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-right: 15px;
    font-size: 1.25rem;
}

    .form-section-title:after {
        content: '';
        position: absolute;
        right: 0;
        top: 5px;
        height: 25px;
        width: 5px;
        background-color: var(--primary-color);
        border-radius: 3px;
    }

.btn-primary {
    background: linear-gradient(to left, var(--primary-color), #2980b9);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    }

.image-upload, .video-upload {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

    .image-upload:hover, .video-upload:hover {
        border-color: var(--primary-color);
        background-color: #f0f8ff;
    }

.image-preview-container, .video-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.image-wrapper, .video-wrapper {
    position: relative;
    transition: all 0.3s;
}

.image-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.video-preview {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

    .image-preview:hover, .video-preview:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

.main-image {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.main-image-badge {
    position: absolute;
    top: 10px;
    left: 50px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.image-actions, .video-actions {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-wrapper:hover .image-actions,
.video-wrapper:hover .video-actions {
    opacity: 1;
}

.set-main-btn, .delete-btn, .play-btn {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

    .set-main-btn:hover {
        background-color: var(--primary-color);
    }

.delete-btn {
    background-color: rgba(0, 0, 0, 0.7);
}

    .delete-btn:hover {
        background-color: var(--accent-color);
    }

.play-btn:hover {
    background-color: #27ae60;
}

.video-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.video-modal .modal-header {
    background: linear-gradient(to left, var(--secondary-color), var(--primary-color));
    color: white;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: all 0.3s;
}

    .social-links a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

.feature-icon {
    background-color: var(--light-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.upload-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.fixed-image {
    width: 280px; /* عرض ثابت */
    height: 315px; /* ارتفاع ثابت */
    object-fit: cover;
}

@media (max-width: 768px) {
    .ad-form {
        padding: 20px;
    }

    .form-section-title {
        font-size: 1.1rem;
    }

    .image-preview {
        width: 120px;
        height: 120px;
    }

    .video-preview {
        width: 200px;
        height: 120px;
    }
}

.car-detail-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.car-title {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
}

.price-tag {
    background: linear-gradient(to left, var(--primary-color), #2980b9);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.car-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

    .car-image:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
}

    .thumbnail:hover, .thumbnail.active {
        opacity: 1;
        transform: scale(1.1);
        border: 2px solid var(--primary-color);
    }

.video-container {
    margin-top: 30px;
    position: relative;
}

.car-video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.play-btn-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

    .play-btn-details:hover {
        background-color: var(--primary-color);
        transform: translate(-50%, -50%) scale(1.1);
    }

.detail-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

    .detail-card h4 {
        color: var(--secondary-color);
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #ccc;
    }

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

    .detail-item:last-child {
        border-bottom: none;
    }

.contact-section {
    background: linear-gradient(to right, #f9f9f9, #fff);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-methods {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.contact-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.call-btn {
    background: linear-gradient(to left, #27ae60, #2ecc71);
    color: white;
}

.chat-btn {
    background: linear-gradient(to left, var(--primary-color), #2980b9);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.chat-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: none;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
}

.message {
    padding: 5px 5px;
    border-radius: 18px;
    margin-bottom: 10px;
    max-width: 80%;
}

.received {
    background-color: #e6e6e6;
    margin-right: auto;
}

.sent {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: black !important;
    margin-left: auto;
}

.chat-input {
    display: flex;
    gap: 10px;
}

    .chat-input input {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 30px;
        outline: none;
    }

.send-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .send-btn:hover {
        background-color: #2980b9;
        transform: scale(1.05);
    }

.angle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.angle-tag {
    background-color: #f1f1f1;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

    .angle-tag i {
        color: var(--primary-color);
    }



.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: all 0.3s;
}

    .social-links a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

.feature-icon {
    background-color: var(--light-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .car-detail-container {
        padding: 20px;
    }

    .car-image {
        height: 250px;
    }

    .contact-methods {
        flex-direction: column;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }
}


.dashboard-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}



.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(to right, #f9f9f9, #fff);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.published .stat-icon {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--success-color);
}

.pending .stat-icon {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.cancelled .stat-icon {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent-color);
}

.payment .stat-icon {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--primary-color);
}

.stat-info h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.stat-info p {
    margin: 5px 0 0;
    color: #666;
}

.ads-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

    .filter-btn.active, .filter-btn:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.ad-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #ddd;
    transition: all 0.3s;
}

    .ad-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .ad-item.published {
        border-left-color: var(--success-color);
    }

    .ad-item.pending {
        border-left-color: var(--warning-color);
    }

    .ad-item.cancelled {
        border-left-color: var(--accent-color);
    }

    .ad-item.payment {
        border-left-color: var(--primary-color);
    }

.ad-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ad-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0;
}

.ad-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-published {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--success-color);
}

.status-pending {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.status-cancelled {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent-color);
}

.status-payment {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--primary-color);
}

.ad-content {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.ad-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.ad-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ad-detail-item {
    display: flex;
    gap: 10px;
}

    .ad-detail-item i {
        color: var(--primary-color);
        width: 20px;
    }

.ad-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-btn {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
}

    .edit-btn:hover {
        background-color: var(--primary-color);
        color: white;
    }

.delete-btn {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
}

    .delete-btn:hover {
        background-color: var(--accent-color);
        color: white;
    }

.publish-btn {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

    .publish-btn:hover {
        background-color: var(--success-color);
        color: white;
    }

.message-indicator {
    position: relative;
    margin-left: 15px;
}

.message-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background-color: var(--accent-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.no-ads {
    text-align: center;
    padding: 40px;
    color: #666;
}

    .no-ads i {
        font-size: 48px;
        margin-bottom: 15px;
        color: #ddd;
    }

footer {
    background: linear-gradient(to right, var(--secondary-color), var(--dark-color));
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: all 0.3s;
}

    .social-links a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px;
    }

    .ad-content {
        grid-template-columns: 1fr;
    }

    .ad-header {
        flex-direction: column;
        gap: 10px;
    }

    .ad-actions {
        justify-content: flex-start;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }
}



.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}


.views .stat-icon {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--primary-color);
}

.contacts .stat-icon {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--success-color);
}

.favorites .stat-icon {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.conversion .stat-icon {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent-color);
}

.stat-info h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.stat-info p {
    margin: 5px 0 0;
    color: #666;
}

.chart-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

    .filter-btn.active, .filter-btn:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.chart-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 400px;
    position: relative;
}

.ad-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.ad-preview {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.comparison-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .comparison-card h3 {
        margin-top: 0;
        color: var(--secondary-color);
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

    .data-table th, .data-table td {
        padding: 12px;
        text-align: right;
        border-bottom: 1px solid #eee;
    }

    .data-table th {
        background-color: #f9f9f9;
        font-weight: bold;
        color: var(--secondary-color);
    }

    .data-table tr:hover {
        background-color: #f5f5f5;
    }

.percentage-up {
    color: var(--success-color);
    font-weight: bold;
}

.percentage-down {
    color: var(--accent-color);
    font-weight: bold;
}


.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: all 0.3s;
}

    .social-links a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .chart-container {
        height: 300px;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
    }
}

.dashboard-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.all-messages .stat-icon {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--primary-color);
}

.unread .stat-icon {
    background-color: rgba(231, 76, 60, 0.2);
    color: var(--accent-color);
}

.replied .stat-icon {
    background-color: rgba(39, 174, 96, 0.2);
    color: var(--success-color);
}

.archived .stat-icon {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--warning-color);
}

.stat-info h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.stat-info p {
    margin: 5px 0 0;
    color: #666;
}

.messages-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

    .filter-btn.active, .filter-btn:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.ad-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.ad-preview {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.messages-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.messages-list {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-height: 600px;
    overflow-y: auto;
}

.message-item {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border-right: 3px solid transparent;
}

    .message-item:hover {
        background-color: #f5f5f5;
    }

    .message-item.active {
        background-color: #e8f4fd;
        border-right-color: var(--primary-color);
    }

    .message-item.unread {
        background-color: #fee;
        border-right-color: var(--accent-color);
    }

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sender-name {
    font-weight: bold;
    color: var(--secondary-color);
}

.message-time {
    font-size: 12px;
    color: #666;
}

.message-preview {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-ad {
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 5px;
}

.message-detail {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 600px;
}

.message-detail-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.message-detail-sender {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sender-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.message-detail-ad {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.message-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 15px 0;
}

.message-reply {
    margin-top: auto;
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reply-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 100px;
    font-family: Vazir, sans-serif;
}

.reply-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reply-templates {
    position: relative;
}

.template-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    cursor: pointer;
}

.template-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 200px;
    display: none;
    z-index: 100;
}

.template-item {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}

    .template-item:hover {
        background-color: #f0f0f0;
    }

.reply-templates:hover .template-menu {
    display: block;
}

.send-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

    .send-btn:hover {
        background-color: #2980b9;
    }

.no-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
}

    .no-message i {
        font-size: 48px;
        margin-bottom: 15px;
    }


.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: all 0.3s;
}

    .social-links a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

@media (max-width: 992px) {
    .messages-container {
        grid-template-columns: 1fr;
    }

    .messages-list {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .ad-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .reply-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

.register-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 500px;*/
    margin: 20px 0;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

    .step-indicator::before {
        content: '';
        position: absolute;
        top: 20px;
        right: 0;
        left: 0;
        height: 2px;
        background-color: #e0e0e0;
        z-index: 1;
    }

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

    .step.active {
        background-color: var(--primary-color);
        color: white;
    }

    .step.completed {
        background-color: var(--success-color);
        color: white;
    }

.step-title {
    position: absolute;
    top: 45px;
    font-size: 12px;
    width: 100px;
    right: -30px;
    text-align: center;
}

.form-step {
    display: none;
}

    .form-step.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

.form-title-Ad {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.form-group-Ad {
    margin-bottom: 20px;
}

.form-label-Ad {
    display: block;
    margin-bottom: 8px;
    margin-right: 5px;
    font-weight: 500;
    color: var(--secondary-color);
    text-align: start;
}

.form-control-Ad {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Vazir, sans-serif;
    transition: all 0.3s;
}

    .form-control-Ad:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        outline: none;
    }

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

.btn-Ad {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-family: Vazir, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-primary-Ad {
    background-color: var(--primary-color);
    color: white;
}

    .btn-primary-Ad:hover {
        background-color: #2980b9;
    }

.btn-secondary-Ad {
    background-color: #95a5a6;
    color: white;
}

    .btn-secondary-Ad:hover {
        background-color: #7f8c8d;
    }

.btn-success-Ad {
    background-color: var(--success-color);
    color: white;
}

    .btn-success-Ad:hover {
        background-color: #219d55;
    }

.verification-code {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

    .verification-code input {
        width: 50px;
        height: 50px;
        text-align: center;
        font-size: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-family: Vazir, sans-serif;
    }

        .verification-code input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
            outline: none;
        }

.countdown {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.resend-code {
    text-align: center;
    margin-bottom: 20px;
}

.resend-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
}

    .resend-link:hover {
        text-decoration: underline;
    }

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.alert-danger {
    background-color: #fee;
    color: var(--accent-color);
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: var(--success-color);
    border: 1px solid #cfc;
}

.terms {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
}

    .terms-link:hover {
        text-decoration: underline;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .register-container {
        padding: 20px;
        margin: 5px,0;
    }

    .verification-code input {
        width: 40px;
        height: 40px;
    }

    .step-title {
        font-size: 10px;
        right: -20px;
        width: 80px;
    }
}

.favorites-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.page-title-Fav {
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

    .empty-state i {
        font-size: 64px;
        color: #ddd;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        margin-bottom: 15px;
        color: #888;
    }

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

    .filter-btn.active, .filter-btn:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}

    .favorite-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.favorite-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

    .favorite-badge:hover {
        transform: scale(1.1);
    }

.car-details {
    padding: 20px;
}

.car-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0 0 10px;
}

.car-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
    margin: 10px 0;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

    .spec-item i {
        color: var(--primary-color);
    }

.car-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.action-btn-green {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--success-color);
    color: white;
}

.contact-btn {
    background-color: #ff5757;
    color: white;
}

    .contact-btn:hover {
        background-color: var(--primary-color);
        color: white;
    }

.remove-btn {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
}

    .remove-btn:hover {
        background-color: var(--accent-color);
        color: white;
    }

.view-btn {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

    .view-btn:hover {
        background-color: var(--success-color);
        color: white;
    }

.comparison-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comparison-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .favorites-container {
        padding: 20px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .car-actions {
        flex-direction: column;
    }
}

.comparison-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ai-badge {
    background: linear-gradient(to right, var(--ai-color), #2575fc);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

.car-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.car-selector {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .car-selector h3 {
        margin-top: 0;
        color: var(--secondary-color);
        display: flex;
        align-items: center;
        gap: 10px;
    }

.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Vazir, sans-serif;
    padding-left: 45px;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.car-suggestions {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 5px;
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

    .suggestion-item:hover {
        background-color: #f0f0f0;
    }

.selected-car {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: none;
}

.selected-car-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.compare-button {
    text-align: center;
    margin: 30px 0;
}

.btn-compare {
    background: linear-gradient(to right, var(--ai-color), #2575fc);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: Vazir, sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

    .btn-compare:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(106, 17, 203, 0.4);
    }

    .btn-compare:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.comparison-result {
    display: none;
    margin-top: 30px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ai-thinking {
    text-align: center;
    padding: 40px;
    display: none;
}

    .ai-thinking i {
        font-size: 48px;
        color: var(--ai-color);
        margin-bottom: 15px;
    }

.loader {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 20px 0;
}

    .loader:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: 6px solid var(--ai-color);
        border-color: var(--ai-color) transparent var(--ai-color) transparent;
        animation: loader 1.2s linear infinite;
    }

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .comparison-table th, .comparison-table td {
        padding: 15px;
        text-align: right;
        border-bottom: 1px solid #eee;
    }

    .comparison-table th {
        background-color: #f9f9f9;
        font-weight: bold;
        color: var(--secondary-color);
    }

    .comparison-table tr:last-child td {
        border-bottom: none;
    }

.car-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.car-thumbnail {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
}

.ai-insight {
    background: linear-gradient(to right, #fef5e7, #fff);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    border-right: 4px solid var(--warning-color);
}

    .ai-insight h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--secondary-color);
        margin-top: 0;
    }

.pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pros, .cons {
    padding: 15px;
    border-radius: 8px;
}

.pros {
    background-color: #effff0;
    border-right: 3px solid var(--success-color);
}

.cons {
    background-color: #ffeaea;
    border-right: 3px solid var(--accent-color);
}

    .pros h5, .cons h5 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 0;
    }

    .pros ul, .cons ul {
        padding-right: 20px;
        margin-bottom: 0;
    }

    .pros li, .cons li {
        margin-bottom: 8px;
    }

.recommendation {
    background: linear-gradient(to right, #e8f4fd, #fff);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    border-right: 4px solid var(--primary-color);
}

    .recommendation h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--secondary-color);
        margin-top: 0;
    }

@media (max-width: 768px) {
    .comparison-container {
        padding: 20px;
    }

    .car-selection {
        grid-template-columns: 1fr;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }
}
/*createAd*/
.searchable-select {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.options-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border-radius: 0 0 5px 5px;
}

.option {
    padding: 8px 16px;
    cursor: pointer;
}

    .option:hover {
        background-color: #f8f9fa;
    }

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 50px;
    border: none;
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

/*.btn-primary {
    background: linear-gradient(to left, #3498db, #2c3e50);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
}*/

.form-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.section-title {
    border-right: 4px solid #3498db;
    padding-right: 10px;
    margin: 20px 0 15px;
    color: #2c3e50;
}

.slider-container {
    padding: 20px 0;
}


.required-field::after {
    content: " *";
    color: red;
}

.car-origin-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.upload-container {
    border: 2px dashed #3498db;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .upload-container:hover {
        background-color: #e9f7fe;
        border-color: #2c3e50;
    }

.upload-icon {
    font-size: 50px;
    color: #3498db;
    margin-bottom: 15px;
}

.upload-text {
    font-weight: 500;
    margin-bottom: 10px;
}

.upload-subtext {
    color: #6c757d;
    font-size: 0.9rem;
}

.preview-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.preview-item {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .preview-item img, .preview-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.preview-item-remove {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dc3545;
    font-size: 14px;
}

.preview-item-main {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #28a745;
    font-size: 14px;
}

.preview-item-set-main {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.file-input {
    display: none;
}

.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

.upload-btn {
    margin-top: 15px;
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

    .upload-btn:hover {
        background: #2c3e50;
    }

/*.main-image-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #28a745;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}
*/
.preview-item.selected {
    border: 3px solid #28a745;
    transform: scale(1.05);
}

/*order*/
.order-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    position: relative;
}

    .form-header:after {
        content: '';
        position: absolute;
        bottom: -3px;
        right: 0;
        width: 100px;
        height: 3px;
        background-color: var(--accent-color);
    }

.form-section {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

    .form-section:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

.form-section-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #495057;
    font-size: 1.1em;
}

    .form-section-title i {
        margin-left: 10px;
        color: var(--primary-color);
    }

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 20px;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
    }

.price-range, .year-range, .mileage-range {
    padding: 0 15px;
    margin-top: 10px;
}

.noUi-connect {
    background: var(--primary-color);
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: bold;
}

.ui-slider {
    margin: 10px 0;
}

.ui-slider-handle {
    background: #007bff !important;
    border: 2px solid #fff !important;
}

.ui-slider-range {
    background: #007bff !important;
}

.search-field {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .suggestion-item:hover,
    .suggestion-item.active {
        background-color: #f8f9fa;
    }

.has-error .form-control {
    border-color: #dc3545;
}


.notification-type {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.notification-card {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .notification-card:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

    .notification-card.selected {
        border-color: var(--primary-color);
        background-color: #eef2ff;
    }

    .notification-card i {
        font-size: 24px;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

.datetime-inputs {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .datetime-inputs .form-group {
        flex: 1;
    }

.info-badge {
    background-color: #eef2ff;
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

    .info-badge i {
        margin-left: 10px;
    }

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.logo-order-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-order {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

    .logo-order i {
        margin-left: 10px;
    }
/*managerOrder*/
.management-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-manage-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-left: 4px solid;
    transition: transform 0.3s ease;
}

    .stat-manage-card:hover {
        transform: translateY(-5px);
    }

    .stat-manage-card.total {
        border-left-color: #007bff;
    }

    .stat-manage-card.active {
        border-left-color: #28a745;
    }

    .stat-manage-card.pending {
        border-left-color: #ffc107;
    }

    .stat-manage-card.expired {
        border-left-color: #dc3545;
    }

    .stat-manage-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .stat-manage-card h3 {
        margin: 0.5rem 0;
        font-weight: bold;
    }

.search-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-badge {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-badge.active,
    .filter-badge:hover {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

.order-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f7;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .order-card:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

/* هدر کارت */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #eef2f7;
}

.order-title-section {
    flex: 1;
}

.car-info h4.car-name {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
}

.car-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

    .car-location i {
        color: #ef4444;
    }

.order-meta {
    margin-top: 12px;
}

.create-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* وضعیت سفارش */
.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.status-active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-expired {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-inactive {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.status-icon {
    font-size: 0.8rem;
}

/* محتوای اصلی */
.order-content {
    padding: 0 24px;
}

/* شبکه مشخصات */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .spec-item:hover {
        background: #f1f5f9;
        transform: translateY(-1px);
    }

    .spec-item.primary {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border: 1px solid #dbeafe;
    }

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    color: #3b82f6;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spec-info {
    display: flex;
    flex-direction: column;
}

    .spec-info label {
        font-size: 0.8rem;
        color: #64748b;
        margin-bottom: 4px;
    }

.spec-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

    .spec-value.highlight {
        color: #3b82f6;
        font-size: 1rem;
    }

/* بخش وضعیت فنی */
.technical-section {
    margin: 16px 0;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .section-header:hover {
        background: #f1f5f9;
    }

    .section-header h5 {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #475569;
        font-size: 1rem;
    }

.toggle-icon {
    transition: transform 0.3s ease;
    color: #94a3b8;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 20px;
    background: white;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.tech-label {
    font-size: 0.85rem;
    color: #64748b;
}

.tech-value {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.condition-عالی {
    background: #dcfce7;
    color: #166534;
}

.condition-خوب {
    background: #fef3c7;
    color: #92400e;
}

.condition-متوسط {
    background: #fef3c7;
    color: #92400e;
}

.condition-نیاز_به_تعمیر {
    background: #fee2e2;
    color: #991b1b;
}

/* بخش انقضا */
.expiry-section {
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
}

.expiry-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
}

    .expiry-info.expired {
        background: #fef2f2;
        border: 1px solid #fecaca;
    }

    .expiry-info i {
        color: #64748b;
        font-size: 1.1rem;
    }

.expiry-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expiry-label {
    font-size: 0.9rem;
    color: #64748b;
}

.expiry-date {
    font-weight: 600;
    color: #1e293b;
}

.expiry-badge {
    background: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* هشدار پرداخت */
.payment-alert {
    margin: 16px 0;
    border: none;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .alert-content i {
        color: #f59e0b;
        margin-top: 2px;
    }

    .alert-content strong {
        color: #92400e;
    }

    .alert-content p {
        margin: 4px 0 0 0;
        color: #92400e;
        font-size: 0.9rem;
    }

/* بخش اقدامات */
.action-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
    gap: 16px;
}

.action-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.order-btn-icon {
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
}

    .order-btn-icon:hover {
        background: #f8fafc;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.order-btn-outline {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

    .order-btn-outline:hover {
        background: #f1f5f9;
        color: #475569;
    }

.order-btn-primary {
    background: #3b82f6;
    color: white;
}

    .order-btn-primary:hover {
        background: #2563eb;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

.order-btn-danger {
    background: #ef4444;
    color: white;
}

    .order-btn-danger:hover {
        background: #dc2626;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

/* ریسپانسیو */
@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .technical-grid {
        grid-template-columns: 1fr;
    }

    .action-section {
        flex-direction: column;
        align-items: stretch;
    }

    .action-group {
        justify-content: center;
    }

    .expiry-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
/*Login*/

.login-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    /*max-width: 450px;*/
    overflow: hidden;
    transition: all 0.3s ease;
}

    .login-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

.login-header {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 30px 20px;
}

    .login-header h2 {
        margin: 0;
        font-weight: 700;
        font-size: 24px;
    }

    .login-header p {
        margin: 10px 0 0;
        opacity: 0.9;
    }

.login-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.input-login-group {
    position: relative;
    width: 100%;
}

/*.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    }*/

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 18px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-login-check {
    display: flex;
    align-items: center;
}

.form-login-check-input {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    -webkit-appearance: button !important;
}

    .form-login-check-input:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

    .forgot-link:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

.btn-login {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(74, 108, 247, 0.6);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #a0aec0;
}

    .separator::before,
    .separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }

    .separator::before {
        margin-left: 10px;
    }

    .separator::after {
        margin-right: 10px;
    }

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

.google {
    background-color: #DB4437;
}

.facebook {
    background-color: #4267B2;
}

.twitter {
    background-color: #1DA1F2;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: #718096;
}

    .signup-link a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }

        .signup-link a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* واکنش‌گرایی */
@media (max-width: 576px) {
    .login-container {
        border-radius: 15px;
    }

    .login-body {
        padding: 20px;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/*ForgetLogin*/
.recovery-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .recovery-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

.recovery-header {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 30px 20px;
}

    .recovery-header h2 {
        margin: 0;
        font-weight: 700;
        font-size: 24px;
    }

    .recovery-header p {
        margin: 10px 0 0;
        opacity: 0.9;
        font-size: 14px;
    }

.recovery-body {
    padding: 30px;
}

.recovery-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

    .recovery-steps::before {
        content: '';
        position: absolute;
        top: 20px;
        right: 0;
        left: 0;
        height: 2px;
        background-color: #e2e8f0;
        z-index: 1;
    }

.step-recovery {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

    .step-recovery.active {
        background-color: var(--primary-color);
        color: white;
    }

    .step-recovery.completed {
        background-color: var(--accent-color);
        color: white;
    }

.step-recovery-label {
    position: absolute;
    top: 45px;
    font-size: 12px;
    color: #718096;
    width: 80px;
    text-align: center;
    right: -20px;
}

.step-recovery.active .step-recovery-label {
    color: var(--primary-color);
    font-weight: 500;
}

.form-group-forget {
    margin-bottom: 20px;
    position: relative;
}

.form-label-forget {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.input-group-forget {
    position: relative;
}
/*
.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    }*/

.input-icon-forget {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 18px;
}

.btn-recovery {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.4);
}

    .btn-recovery:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(74, 108, 247, 0.6);
    }

    .btn-recovery:active {
        transform: translateY(0);
    }

.countdown {
    text-align: center;
    margin-top: 15px;
    color: #718096;
    font-size: 14px;
}

.resend-link {
    text-align: center;
    margin-top: 20px;
}

    .resend-link a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
        cursor: pointer;
    }

        .resend-link a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

.login-link_forget {
    text-align: center;
    margin-top: 20px;
    color: #718096;
}

    .login-link_forget a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }

        .login-link_forget a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* واکنش‌گرایی */
@media (max-width: 576px) {
    .recovery-container {
        border-radius: 15px;
    }

    .recovery-body {
        padding: 20px;
    }

    .step-recovery-label {
        font-size: 10px;
        right: -15px;
        width: 70px;
    }
}
/*Home*/
/* دکمه مقایسه */
.compare-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    display: none;
}

/*PWA*/
.pwa-install-item {
    position: relative;
}

#installBtn {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

    #installBtn:hover {
        background: linear-gradient(45deg, #218838, #1e9e8a);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }

    #installBtn:active {
        transform: translateY(0);
    }

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.6);
    }

    100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
}

/* استایل برای موبایل */
@media (max-width: 768px) {
    #installBtn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 20px;
    }

    .pwa-install-item {
        order: -1; /* نمایش دکمه در اولویت بالاتر در موبایل */
    }
}

/* استایل بخش اشتراک‌گذاری */
.share-section .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .share-btn.whatsapp {
        background: linear-gradient(135deg, #25D366, #128C7E);
    }

    .share-btn.telegram {
        background: linear-gradient(135deg, #0088cc, #005580);
    }

    .share-btn.eitaa {
        background: linear-gradient(135deg, #00A0E3, #0088CC);
    }

    .share-btn.bale {
        background: linear-gradient(135deg, #24D366, #00B894);
    }

    .share-btn.twitter {
        background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    }

    .share-btn.copy-link {
        background: linear-gradient(135deg, #6c757d, #495057);
    }

    .share-btn.email {
        background: linear-gradient(135deg, #EA4335, #D14836);
    }

    .share-btn i {
        font-size: 16px;
    }

/* رسپانسیو برای دکمه‌های اشتراک‌گذاری */
@media (max-width: 768px) {
    .share-btn {
        min-width: calc(33.333% - 10px);
    }
}

@media (max-width: 576px) {
    .share-btn {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .share-btn {
        min-width: 100%;
    }
}
/* استایل برای پاپ‌آپ‌های اشتراک‌گذاری */
.share-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.share-popup {
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

    .share-popup h4 {
        margin-bottom: 15px;
        color: #333;
    }

    .share-popup p {
        margin-bottom: 20px;
        color: #666;
        line-height: 1.6;
    }