@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.0.0/dist/font-face.css');
/* فقط داخل .safarland-app کار می‌کنه */
.safarland-app * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* فونت فقط داخل افزونه */
.safarland-app {
    font-family: 'Vazir', sans-serif !important;
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
    isolation: isolate; /* ایزوله‌سازی کامل */
}

/* کارت اصلی */
.safarland-app .safarland-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.safarland-app .safarland-card:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* هدر */
.safarland-app .safarland-header {
    background: linear-gradient(135deg, #4e73df 0%, #1e3a8a 100%);
    padding: 32px 40px;
    text-align: center;
    color: white;
}

.safarland-app .safarland-header h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff !important;
}

.safarland-app .safarland-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    color: #e0e7ff !important;
}

/* فرم */
.safarland-app .safarland-form {
    padding: 40px;
}

.safarland-app .form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.safarland-app .form-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.safarland-app .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e293b !important;
    font-size: 0.95rem;
}

/* Input */
.safarland-app .input-wrapper {
    position: relative;
}

.safarland-app .input-wrapper input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    background: #ffffff;
    color: #1e293b !important;
    transition: all 0.3s ease;
    font-family: 'Vazir', sans-serif !important;
}

.safarland-app .input-wrapper input:focus {
    outline: none;
    border-color: #4e73df;
    box-shadow: 0 0 0 4px rgba(78, 115, 223, 0.2);
    background: #fafbff;
}

.safarland-app .input-wrapper input::placeholder {
    color: #94a3b8 !important;
    font-family: 'Vazir', sans-serif !important;
}

/* تاریخ */
.safarland-app #travel_date {
    direction: ltr;
    text-align: center;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 2px;
    font-weight: bold;
    color: #1e293b !important;
}

/* Dropdown - خفن و با فاصله */
.safarland-app .dropdown {
    position: absolute;
    top: calc(100% + 8px); /* فاصله 8px از input */
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #4e73df;
    border-radius: 16px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInDrop 0.25s ease-out;
    margin-top: 4px;
}

@keyframes fadeInDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.safarland-app .dropdown-item {
    padding: 14px 20px;
    cursor: pointer;
    color: #1e293b !important;
    font-size: 0.98rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.safarland-app .dropdown-item:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af !important;
    padding-left: 28px;
    font-weight: 600;
    border-radius: 12px;
    margin: 4px 8px;
}

.safarland-app .dropdown-item:first-child {
    border-radius: 14px 14px 0 0;
    margin-top: 8px;
}

.safarland-app .dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 14px 14px;
    margin-bottom: 8px;
}

/* دکمه */
.safarland-app .btn-group {
    display: flex;
    align-items: flex-end;
}

.safarland-app .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4e73df 0%, #1e3a8a 100%);
    color: white !important;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    box-shadow: 0 8px 25px rgba(78, 115, 223, 0.3);
}

.safarland-app .search-btn:hover {
    background: linear-gradient(135deg, #3b5bc7 0%, #1e3a8a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(78, 115, 223, 0.4);
}

.safarland-app .search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.safarland-app .btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.safarland-app .search-btn:hover .btn-icon {
    transform: translateX(6px);
}

/* نتیجه */
.safarland-app .result-container {
    margin-top: 30px;
    padding: 0 10px;
}

.safarland-app .drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.safarland-app .driver-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.safarland-app .driver-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.safarland-app .driver-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.safarland-app .driver-card:hover img {
    transform: scale(1.05);
}

.safarland-app .driver-info {
    padding: 20px;
    text-align: center;
}

.safarland-app .driver-info h4 {
    margin: 0 0 8px;
    color: #1e293b !important;
    font-size: 1.15rem;
    font-weight: 700;
}

.safarland-app .driver-info p {
    margin: 0;
    color: #64748b !important;
    font-size: 0.95rem;
}

.safarland-app .no-driver {
    text-align: center;
    padding: 30px;
    background: #fef2f2;
    border: 2px dashed #fca5a5;
    border-radius: 18px;
    color: #dc2626 !important;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .safarland-app .form-row { 
        flex-direction: column; 
    }
    .safarland-app .btn-group { 
        margin-top: 10px; 
    }
    .safarland-app .search-btn { 
        width: 100%; 
    }
}

@media (max-width: 576px) {
    .safarland-app { 
        padding: 20px 15px; 
    }
    .safarland-app .safarland-header { 
        padding: 24px 20px; 
    }
    .safarland-app .safarland-form { 
        padding: 30px 20px; 
    }
}
/* ... بقیه کد همان قبلی ... */

/* تاریخ - بک‌گراند سفید + فونت قوی */
.safarland-app #travel_date {
    direction: ltr;
    text-align: center;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 2px;
    font-weight: bold;
    color: #1e293b !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    width: 100% !important;
    font-size: 1rem !important;
}

.safarland-app #travel_date:focus {
    border-color: #4e73df !important;
    box-shadow: 0 0 0 4px rgba(78, 115, 223, 0.2) !important;
    background: #fafbff !important;
}

/* ... بقیه کد ... */
/* ... تمام کدهای قبلی تا آخر ... */

/* کارت راننده */
.safarland-app .driver-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.safarland-app .driver-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.safarland-app .driver-info {
    padding: 18px;
    text-align: center;
}

.safarland-app .driver-info h4 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.safarland-app .driver-info p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 0.95rem;
}

/* دکمه باز کردن فرم */
.safarland-app .reserve-toggle-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.safarland-app .reserve-toggle-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16,185,129,0.3);
}

.safarland-app .reserve-toggle-btn .arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

/* فرم دارپ‌داون */
.safarland-app .reserve-form-container {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 20px;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

.safarland-app .driver-summary {
    background: #ecfdf5;
    color: #166534;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid #bbf7d0;
}

.safarland-app .safarland-reserve-form .form-group {
    margin-bottom: 16px;
}

.safarland-app .safarland-reserve-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.safarland-app .safarland-reserve-form input,
.safarland-app .safarland-reserve-form select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #1e293b;
}

.safarland-app .safarland-reserve-form input:focus,
.safarland-app .safarland-reserve-form select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.2);
}

.safarland-app .reserve-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.safarland-app .reserve-submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}
/* ---------- رنگ متن فیلدها: مشکی ---------- */
.safarland-app input,
.safarland-app select,
.safarland-app textarea {
    color: #000000 !important; /* مشکی */
    font-weight: 500 !important;
}

/* مخصوص فیلد تاریخ سفر */
.safarland-app #travel_date {
    color: #000000 !important;
}

/* وقتی کاربر در حال تایپ است */
.safarland-app input:focus,
.safarland-app select:focus {
    color: #000000 !important;
}

/* placeholder هم مشکی (در صورت نیاز) */
.safarland-app input::placeholder,
.safarland-app select::placeholder {
    color: #4b5563 !important; /* خاکستری تیره */
    opacity: 1;
}

/* برای مرورگرهای قدیمی */
.safarland-app input::-webkit-input-placeholder { color: #4b5563 !important; }
.safarland-app input::-moz-placeholder { color: #4b5563 !important; }
.safarland-app input:-ms-input-placeholder { color: #4b5563 !important; }

/* فرم رزرو دارپ‌داون */
.safarland-app .safarland-reserve-form input,
.safarland-app .safarland-reserve-form select {
    color: #000000 !important;
    background-color: #ffffff !important;
}
/* ---------- رنگ متن فیلد تاریخ سفر: 100% مشکی ---------- */
.safarland-app #travel_date {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important; /* مخصوص Safari */
    caret-color: #000000 !important; /* رنگ نشانگر تایپ */
    font-weight: 500 !important;
}

/* وقتی کاربر تایپ می‌کنه */
.safarland-app #travel_date:focus {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    outline: none !important;
}

/* وقتی کاربر مقدار وارد کرده (حتی اگر صفحه رفرش بشه) */
.safarland-app #travel_date:not(:placeholder-shown) {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* placeholder خاکستری تیره (اختیاری) */
.safarland-app #travel_date::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}
.safarland-app #travel_date::-webkit-input-placeholder { color: #6b7280 !important; }
.safarland-app #travel_date::-moz-placeholder { color: #6b7280 !important; }
.safarland-app #travel_date:-ms-input-placeholder { color: #6b7280 !important; }

/* همه input و select داخل فرم رزرو */
.safarland-app .safarland-reserve-form input,
.safarland-app .safarland-reserve-form select {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    font-weight: 500 !important;
}
/* ---------- فیلد تاریخ سفر: متن + placeholder مشکی ---------- */
.safarland-app #travel_date,
.safarland-app #travel_date::placeholder,
.safarland-app #travel_date::-webkit-input-placeholder,
.safarland-app #travel_date::-moz-placeholder,
.safarland-app #travel_date:-ms-input-placeholder {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

/* وقتی کاربر تایپ می‌کنه */
.safarland-app #travel_date:focus,
.safarland-app #travel_date:focus::placeholder {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* وقتی مقدار وارد شده */
.safarland-app #travel_date:not(:placeholder-shown) {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* نشانگر تایپ (cursor) */
.safarland-app #travel_date {
    caret-color: #000000 !important;
}

/* همه فیلدهای فرم رزرو (نام، تلفن، مسافر، بار) */
.safarland-app .safarland-reserve-form input,
.safarland-app .safarland-reserve-form select,
.safarland-app .safarland-reserve-form input::placeholder,
.safarland-app .safarland-reserve-form select option {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}
/* ---------- استایل حرفه‌ای پیشخوان رزرو ---------- */
.safarland-admin-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f9fafb;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin: 20px 0;
}

.safarland-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.safarland-subtitle {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}

.safarland-table {
    background: white;
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.safarland-table thead {
    background: linear-gradient(135deg, #4e73df 0%, #1e3a8a 100%);
    color: white;
}

.safarland-table th {
    padding: 16px 12px !important;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: none !important;
}

.safarland-table td {
    padding: 16px 12px !important;
    vertical-align: middle;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9 !important;
}

.safarland-table .col-id { width: 60px; }
.safarland-table .col-name { font-weight: 600; color: #1e293b; }
.safarland-table .col-phone a { color: #10b981; text-decoration: none; font-weight: 500; }
.safarland-table .col-phone a:hover { text-decoration: underline; }

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending { background: #fef3c7; color: #d97706; }
.status-badge.approved { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; }
.status-badge.rejected { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.button-success {
    background: #10b981 !important;
    border: none !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.button-success:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}

.button-danger {
    background: #ef4444 !important;
    border: none !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.button-danger:hover {
    background: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239,68,68,0.3);
}

.reservation-row.approved { background-color: #f0fdf4 !important; }
.reservation-row.rejected { background-color: #fef2f2 !important; }
.reservation-row.pending { background-color: #ffffff !important; }

.safarland-table tbody tr:hover {
    background-color: #f8fafc !important;
    transition: all 0.2s ease;
}
/* ---------- استایل حرفه‌ای پیشخوان رزرو — نسخه 1.4 ---------- */
.safarland-reservations-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f1f5f9;
    padding: 24px;
    border-radius: 16px;
    margin: 20px 0;
}

.safarland-page-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.safarland-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.safarland-table-container {
    overflow-x: auto;
}

.safarland-reservations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.safarland-reservations-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.safarland-reservations-table th {
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.safarland-reservations-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.safarland-reservations-table tbody tr:hover {
    background-color: #f8fafc !important;
    transition: background-color 0.2s ease;
}

.reservation-item.pending { background-color: #ffffff; }
.reservation-item.approved { background-color: #f0fdf4; }
.reservation-item.rejected { background-color: #fef2f2; }

.name-cell {
    position: relative;
}

.name-with-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.approve-btn, .reject-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
}

.approve-btn {
    background: #10b981;
    color: white;
}

.approve-btn:hover {
    background: #059669;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

.reject-btn {
    background: #ef4444;
    color: white;
}

.reject-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239,68,68,0.4);
}

.approve-btn.loading, .reject-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

.status-label {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-label.approved {
    background: #dcfce7;
    color: #166534;
}

.status-label.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.phone-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover {
    text-decoration: underline;
}

.no-data {
    padding: 60px 20px;
    color: #64748b;
    font-style: italic;
    text-align: center;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .name-with-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .action-buttons {
        margin-top: 8px;
    }
}
/* -------------------------------------------------
   ONLY MOBILE – centre the three input fields
   ------------------------------------------------- */
@media (max-width: 768px) {
    .safarland-app .form-row {
        flex-direction: column;
        align-items: center;          /* centres every child */
        gap: 20px;                    /* keeps the original spacing */
    }

    .safarland-app .form-group {
        width: 100%;
        max-width: 380px;             /* nice width on phones */
        margin: 0 auto;
    }

    .safarland-app .form-group.btn-group {
        margin-top: 0;                /* no extra top gap for the button */
    }

    .safarland-app .search-btn {
        width: 100%;
        max-width: 380px;
    }
}
/* ---------- تقویم شمسی: استایل حرفه‌ای ---------- */
.safarland-app .input-wrapper {
    position: relative;
}

.safarland-app .datepicker-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    pointer-events: none;
    color: #64748b;
    z-index: 1;
}

.safarland-app #travel_date {
    padding-left: 48px !important; /* فضای آیکون */
    direction: ltr;
    text-align: center;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 2px;
    font-weight: bold;
    color: #000000 !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    width: 100% !important;
    font-size: 1rem !important;
}

.safarland-app #travel_date:focus {
    border-color: #4e73df !important;
    box-shadow: 0 0 0 4px rgba(78, 115, 223, 0.2) !important;
    background: #fafbff !important;
}

/* موبایل: وسط چین */
@media (max-width: 768px) {
    .safarland-app .form-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .safarland-app .form-group {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    .safarland-app .form-group.btn-group {
        margin-top: 0;
    }
    .safarland-app .search-btn {
        width: 100%;
        max-width: 380px;
    }
    .safarland-app .datepicker-icon {
        left: 12px;
        font-size: 1.2rem;
    }
    .safarland-app #travel_date {
        padding-left: 44px !important;
    }
}
/* ---------- استایل حرفه‌ای صفحه شهرها (admin) ---------- */
.safarland-cities-manager {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.safarland-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}
.safarland-subtitle {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}
.safarland-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}
.safarland-card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.safarland-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.safarland-card-body {
    padding: 24px;
}
.safarland-add-city-form,
.safarland-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.input-group {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 280px;
}
.safarland-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}
.safarland-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.2);
}
.safarland-btn {
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}
.safarland-btn-primary {
    background: #10b981;
    color: white;
}
.safarland-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16,185,129,0.3);
}
.safarland-btn-secondary {
    background: #64748b;
    color: white;
}
.safarland-btn-secondary:hover {
    background: #475569;
}
.safarland-btn-danger {
    background: #ef4444;
    color: white;
    padding: 8px 12px;
    font-size: 13px;
}
.safarland-btn-danger:hover {
    background: #dc2626;
}
.safarland-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.safarland-city-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.safarland-city-card:hover {
    background: #f0f9ff;
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.15);
}
.city-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}
.no-cities {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 32px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}
@media (max-width: 768px) {
    .safarland-card-header {
        flex-direction: column;
        text-align: center;
    }
    .input-group {
        flex-direction: column;
    }
    .safarland-btn {
        width: 100%;
    }
    .safarland-cities-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- تعداد راننده کنار شهر ---------- */
.city-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.city-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 16px;
}
.city-driver-count {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.city-driver-count .dashicons {
    font-size: 15px;
    color: #10b981;
}
.safarland-cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.safarland-city-card {
    padding: 18px;
}
@media (max-width: 768px) {
    .safarland-cities-grid {
        grid-template-columns: 1fr;
    }
    .safarland-city-card {
        padding: 16px;
    }
}
/* ========================================================= */
/* ========== صفحه لیست خودرو و راننده — لوکس و حرفه‌ای ========== */
/* ========================================================= */

@media screen and (min-width: 783px) {
    /* مخفی کردن جدول پیش‌فرض */
    .edit-php.post-type-safarland_car #the-list,
    .edit-php.post-type-safarland_car .tablenav.top,
    .edit-php.post-type-safarland_car .tablenav.bottom .tablenav-pages {
        display: none !important;
    }

    /* هدر لوکس */
    .safarland-cars-header {
        background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
        padding: 32px;
        border-radius: 24px;
        margin: 20px 0 32px;
        box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .safarland-cars-header::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,25 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
        pointer-events: none;
    }

    .safarland-cars-header h1 {
        font-size: 2rem;
        font-weight: 800;
        margin: 0 0 8px;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        position: relative;
        z-index: 2;
    }

    .safarland-cars-header p {
        font-size: 1.1rem;
        opacity: 0.95;
        margin-bottom: 24px;
        color: #e0e7ff;
        position: relative;
        z-index: 2;
    }

    .safarland-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .safarland-search,
    .safarland-filter {
        flex: 1;
        min-width: 200px;
    }

    .safarland-input,
    .safarland-select {
        width: 100%;
        padding: 14px 20px;
        border: none;
        border-radius: 16px;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.25);
        color: white;
        backdrop-filter: blur(12px);
        transition: all 0.3s ease;
    }

    .safarland-input::placeholder {
        color: rgba(255, 255, 255, 0.8);
    }

    .safarland-input:focus,
    .safarland-select:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.35);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
    }

    .safarland-btn-primary {
        padding: 14px 28px;
        background: #10b981;
        color: white;
        border: none;
        border-radius: 16px;
        font-weight: 700;
        font-size: 15px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
        transition: all 0.3s ease;
    }

    .safarland-btn-primary:hover {
        background: #059669;
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
    }

    /* گرید کارت‌ها */
    #safarland-cars-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 28px;
        margin-bottom: 40px;
    }

    .safarland-car-card {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid #e2e8f0;
        position: relative;
    }

    .safarland-car-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 6px;
        background: linear-gradient(90deg, #3b82f6, #10b981);
        border-radius: 24px 24px 0 0;
    }

    .safarland-car-card:hover {
        transform: translateY(-14px) scale(1.03);
        box-shadow: 0 28px 55px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    .car-image {
        height: 210px;
        overflow: hidden;
        position: relative;
    }

    .car-image::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 70%;
        background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
    }

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

    .safarland-car-card:hover .car-image img {
        transform: scale(1.15);
    }

    .car-info {
        padding: 26px;
        text-align: center;
    }

    .driver-name {
        margin: 0 0 16px;
        font-size: 1.4rem;
        font-weight: 800;
        color: #1e293b;
        letter-spacing: -0.5px;
    }

    .car-details {
        margin: 10px 0;
        font-size: 1rem;
        color: #475569;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: 500;
    }

    .car-details .dashicons {
        font-size: 19px;
        color: #3b82f6;
        animation: pulse 2.2s infinite;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.18); }
    }

    .car-actions {
        padding: 0 26px 26px;
        display: flex;
        gap: 16px;
    }

    .edit-btn, .delete-btn {
        flex: 1;
        padding: 14px;
        border-radius: 16px;
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        text-align: center;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .edit-btn {
        background: linear-gradient(135deg, #64748b, #475569);
        color: white;
        box-shadow: 0 5px 18px rgba(100, 116, 139, 0.35);
    }

    .edit-btn:hover {
        background: linear-gradient(135deg, #475569, #334155);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(100, 116, 139, 0.45);
    }

    .delete-btn {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
        box-shadow: 0 5px 18px rgba(239, 68, 68, 0.35);
    }

    .delete-btn:hover {
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(239, 68, 68, 0.45);
    }

    /* صفحه‌بندی */
    .safarland-pagination {
        text-align: center;
        margin: 45px 0 20px;
    }

    .safarland-pagination a,
    .safarland-pagination span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 48px;
        height: 48px;
        padding: 0 18px;
        margin: 0 7px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.3s ease;
        background: #f8fafc;
        color: #64748b;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .safarland-pagination .current {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        color: white;
        transform: scale(1.12);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.45);
    }

    .safarland-pagination a:hover {
        background: #e0e7ff;
        color: #1d4ed8;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
    }

    /* حالت خالی */
    .no-cars-found {
        text-align: center;
        padding: 90px 20px;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-radius: 24px;
        border: 3px dashed #cbd5e1;
        color: #94a3b8;
        margin: 40px 0;
    }

    .no-cars-found .dashicons {
        font-size: 70px;
        color: #cbd5e1;
        margin-bottom: 24px;
        animation: float 3.5s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
    }
}

/* ریسپانسیو */
@media (max-width: 782px) {
    .safarland-controls { flex-direction: column; }
    #safarland-cars-grid { grid-template-columns: 1fr; }
    .car-actions { flex-direction: column; }
    .safarland-cars-header { padding: 24px; }
    .safarland-cars-header h1 { font-size: 1.6rem; }
}
/* قیمت در کارت راننده */
.driver-card .price-tag {
    margin: 12px 0;
    padding: 10px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.driver-card .price-tag small {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
    font-weight: 500;
}
.driver-card .price-tag {
    margin: 12px 0;
    padding: 10px 16px;
    background: #10b981;
    color: white;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
}
.driver-card .price-tag small {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}
/* قیمت — رنگ سفید + بدون "نامشخص" */
.driver-card .price-tag {
    margin: 12px 0;
    padding: 10px 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.driver-card .price-tag strong {
    color: white !important;
    font-size: 16px;
}

.driver-card .price-tag small {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
    color: #ecfdf5 !important;
}