﻿* {
    box-sizing: border-box;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../Fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background-color: #f4f6f9;
    color: #172a46;
}
.kartino-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */

.kartino-header {
    background-color: #102f73;
    
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 7%;
}

.header-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.header-title {
    color: white;
    font-size: 22px;
    font-weight: bold;
    font-family:inherit;
}

/* Main */

.register-container {
    width: 100%;
    max-width: 650px;
    margin: 45px auto;
    padding: 0 20px;
}

.register-box {
    background-color: white;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.main-logo {
    width: 160px;
    max-width: 70%;
    height: auto;
}

.page-title {
    text-align: center;
    color: #102f73;
    font-size: 25px;
    margin: 10px 0 5px;
}

.page-description {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Form */

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: bold;
    color: #243b5a;
}

.required {
    color: #e53935;
}

.form-control {
    width: 100%;
    height: 46px;
    padding: 8px 13px;
    border: 1px solid #d5dce5;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    direction: rtl;
    transition: 0.2s;
}

.form-control:focus {
    border-color: #f5a900;
    box-shadow: 0 0 0 2px rgba(245,169,0,0.12);
}

textarea.form-control {
    height: 90px;
    resize: vertical;
}

/* Button */

.btn-register {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background-color: #f5a900;
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-register:hover {
    background-color: #e59b00;
}

/* Messages */

.message {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.message-error {
    color: #d32f2f;
}

.message-success {
    color: #2e7d32;
}

/* Login link */

.login-link {
    text-align: center;
    margin-top: 22px;
}

.login-link a {
    color: #102f73;
    text-decoration: none;
    font-size: 14px;
}

.login-link a:hover {
    color: #f5a900;
}

/* Footer */

.kartino-footer {
    margin-top: auto;
    background-color: #172a46;
    color: #ddd;
    text-align: center;
    padding: 18px;
    font-size: 12px;
}

/* Mobile */

@media (max-width: 600px) {

    .kartino-header {
        padding: 10px 20px;
    }

    .header-logo {
        height: 48px;
    }

    .header-title {
        font-size: 17px;
    }

    .register-container {
        margin: 25px auto;
        padding: 0 12px;
    }

    .register-box {
        padding: 22px 17px;
        border-radius: 10px;
    }

    .main-logo {
        width: 135px;
    }

    .page-title {
        font-size: 21px;
    }

    .form-control {
        height: 45px;
    }
}
.login-help {
    margin-top: 25px;
    padding: 15px;
    background-color: #f8f9fb;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    text-align: center;
}

.help-title {
    color: #102f73;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.help-text {
    color: #666;
    font-size: 12px;
    line-height: 2;
}
/* ============================= */
/* Expert Dashboard              */
/* ============================= */

.dashboard-container {
    width: 100%;
    max-width: 850px;
    margin: 35px auto;
    padding: 0 20px;
}

.dashboard-box {
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.welcome-text {
    text-align: center;
    color: #555;
    font-size: 15px;
    margin: 10px 0 25px;
}

.dashboard-stats {
    display: flex;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-card:first-child {
    margin-left: 7px;
}

.stat-card:last-child {
    margin-right: 7px;
}

.stat-card {
    flex: 1;
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-title {
    color: #243b5a;
    font-size: 14px;
    font-weight: bold;
}

.stat-number {
    color: #102f73;
    font-size: 32px;
    font-weight: bold;
    margin: 8px 0;
}

.stat-description {
    color: #777;
    font-size: 12px;
}

.dashboard-button {
    display: block;
    width: 100%;
    text-decoration: none;
    border: 1px solid #e0e4ea;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 12px;
    background-color: white;
    color: #172a46;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
}

.dashboard-button:hover {
    border-color: #f5a900;
}

.dashboard-primary {
    background-color: #102f73;
    color: white;
    border-color: #102f73;
}

.dashboard-primary:hover {
    background-color: #0c265e;
    color: white;
}

.button-title {
    display: block;
    font-size: 15px;
    font-weight: bold;
}

.button-description {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.75;
}

.dashboard-info-box {
    background-color: #f8f9fb;
    border-radius: 10px;
    padding: 17px;
    margin-top: 15px;
    border-right: 4px solid #f5a900;
}

.info-title {
    color: #102f73;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 7px;
}

.info-text {
    color: #666;
    font-size: 12px;
    line-height: 2;
}

.dashboard-footer-info {
    text-align: center;
    margin-top: 25px;
    color: #777;
    font-size: 12px;
}
@media (max-width: 600px) {

    .dashboard-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .dashboard-box {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .dashboard-stats {
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 15px 8px;
    }

    .stat-card:first-child {
        margin-left: 5px;
    }

    .stat-card:last-child {
        margin-right: 5px;
    }

    .stat-number {
        font-size: 27px;
    }

    .dashboard-button {
        padding: 15px;
    }
}
.logout-button {
    margin-top: 25px;
    text-align: center;
}

.logout-button .button-title {
    color: #b3261e;
}

.logout-button:hover {
    border-color: #b3261e;
}
/* ============================= */
/* View Card                     */
/* ============================= */


.card-container {
    width: 100%;
    max-width: 850px;
    margin: 35px auto;
    padding: 0 20px;
}

.card-box {
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ============================= */
/* Card Top                      */
/* ============================= */

.card-top {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 2px solid #edf0f4;
}

.card-logo-area {
    text-align: center;
    margin-bottom: 12px;
}

.card-logo {
    width: 145px;
    height: auto;
}

.card-main-title {
    color: #102f73;
    font-size: 25px;
    margin: 8px 0;
}

.card-main-subtitle {
    color: #777;
    font-size: 13px;
    margin-bottom: 22px;
}

.card-number-date {
    width: 100%;
    display: flex;
    justify-content: space-between;
    text-align: right;
}

.card-number-box {
    width: 48%;
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 9px;
    padding: 12px 15px;
}

.small-label {
    display: block;
    color: #777;
    font-size: 11px;
    margin-bottom: 5px;
}

.card-number-box strong {
    color: #102f73;
    font-size: 15px;
}


/* ============================= */
/* Sections                      */
/* ============================= */

.card-section {
    margin-top: 22px;
    border: 1px solid #e1e5eb;
    border-radius: 11px;
    overflow: hidden;
}

.card-section-title {
    background-color: #f8f9fb;
    border-bottom: 1px solid #e1e5eb;
    padding: 14px 17px;
    color: #102f73;
    font-size: 15px;
    font-weight: bold;
    text-align: right;
}

.section-icon {
    margin-left: 7px;
}


/* ============================= */
/* Vehicle Information           */
/* ============================= */

.vehicle-info-grid {
    width: 100%;
    overflow: hidden;
}

.vehicle-field {
    width: 50%;
    float: right;
    padding: 15px 17px;
    border-bottom: 1px solid #edf0f4;
    min-height: 72px;
}

.vehicle-field-full {
    width: 100%;
}

.field-title {
    color: #777;
    font-size: 11px;
    margin-bottom: 6px;
}

.field-value {
    color: #243b5a;
    font-size: 14px;
    font-weight: bold;
   /*/ word-break: break-word;*/
}

.vehicle-code {
    direction: ltr;
    text-align: right;
}


/* ============================= */
/* Customer                      */
/* ============================= */

.customer-info {
    width: 100%;
    overflow: hidden;
}

.customer-field {
    width: 50%;
    float: right;
    padding: 16px 17px;
    min-height: 75px;
}

.customer-field:first-child {
    border-left: 1px solid #edf0f4;
}


/* ============================= */
/* Checklist                     */
/* ============================= */

.checklist-container {
    width: 100%;
}

.checklist-card {
    padding: 16px 17px;
    border-bottom: 1px solid #edf0f4;
}

.checklist-card:last-child {
    border-bottom: none;
}

.checklist-card-header {
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

.checklist-category {
    float: right;
    color: #243b5a;
    font-size: 14px;
    font-weight: bold;
    padding-top: 5px;
}

.checklist-status {
    float: left;
    background-color: #f5a900;
    color: white;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: bold;
}

.checklist-description-title {
    color: #999;
    font-size: 11px;
    margin-bottom: 4px;
}

.checklist-description {
    color: #555;
    font-size: 12px;
    line-height: 2;
    min-height: 20px;
}


/* ============================= */
/* Expert Description             */
/* ============================= */

.expert-description-box {
    padding: 17px;
    color: #555;
    font-size: 13px;
    line-height: 2.1;
    min-height: 60px;
    text-align: right;
}


/* ============================= */
/* Expert                        */
/* ============================= */

.expert-card-info {
    margin-top: 22px;
    padding: 15px 18px;
    background-color: #f8f9fb;
    border-right: 4px solid #f5a900;
    border-radius: 9px;
    text-align: right;
}

.expert-card-label {
    color: #777;
    font-size: 11px;
    margin-bottom: 5px;
}

.expert-card-name {
    color: #102f73;
    font-size: 15px;
    font-weight: bold;
}


/* ============================= */
/* Warning                       */
/* ============================= */

.card-warning {
    margin-top: 18px;
    padding: 15px 17px;
    background-color: #fff8e6;
    border: 1px solid #f5d88a;
    border-radius: 9px;
    text-align: center;
}

.warning-title {
    color: #8a6900;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

.warning-text {
    color: #6b5600;
    font-size: 11px;
    line-height: 2;
}


/* ============================= */
/* Buttons                       */
/* ============================= */

.card-actions {
    width: 100%;
    margin-top: 25px;
    text-align: center;
}

.card-action-button {
    display: inline-block;
    width: 48%;
    height: 48px;
    line-height: 48px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
}

.card-print-button {
    border: none;
    background-color: #102f73;
    color: white;
}

.card-print-button:hover {
    background-color: #0c265e;
}

.card-back-button {
    border: 1px solid #dce1e8;
    background-color: white;
    color: #243b5a;
}

.card-back-button:hover {
    border-color: #f5a900;
    color: #102f73;
}


/* ============================= */
/* Mobile                        */
/* ============================= */

@media (max-width: 600px) {

    .card-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .card-box {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .card-logo {
        width: 125px;
    }

    .card-main-title {
        font-size: 21px;
    }

    .card-number-date {
        display: block;
    }

    .card-number-box {
        width: 100%;
        margin-bottom: 8px;
    }

    .vehicle-field {
        width: 100%;
        float: none;
    }

    .vehicle-field-full {
        width: 100%;
    }

    .customer-field {
        width: 100%;
        float: none;
    }

    .customer-field:first-child {
        border-left: none;
        border-bottom: 1px solid #edf0f4;
    }

    .checklist-category {
        float: none;
        display: block;
        margin-bottom: 8px;
    }

    .checklist-status {
        float: none;
        display: inline-block;
    }

    .card-action-button {
        width: 100%;
        margin-bottom: 10px;
    }

}


/* ============================= */
/* Print                         */
/* ============================= */
/* ========================================================= */
/* PRINT - کارت کارشناسی                                    */
/* ========================================================= */

@media print {

    /* اندازه کاغذ */
    @page {
        size: A4 portrait;
        margin: 8mm;
    }

    /* تنظیمات پایه */
    html,
    body {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        background: white !important;
        font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    }

    body {
        direction: rtl;
    }

    /* ===================================================== */
    /* مخفی کردن قسمت‌های سایت که نباید چاپ شوند             */
    /* ===================================================== */

    .kartino-header,
    .kartino-footer,
    .card-actions,
    .card-action-button,
    .card-print-button,
    .card-back-button {
        display: none !important;
    }

    /* ===================================================== */
    /* صفحه اصلی کارت                                         */
    /* ===================================================== */

    .kartino-page {
        display: block;
        width: 100%;
        min-height: auto;
        margin: 0;
        padding: 0;
    }

    .card-container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    /* ===================================================== */
    /* خود کارت                                                */
    /* ===================================================== */

    .card-box {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 6mm;
        background: white;
        border: 1px solid #999;
        border-radius: 0;
        box-shadow: none;

        /* جلوگیری از شکستن کلی کارت */
        page-break-inside: auto;
        break-inside: auto;
    }

    /* ===================================================== */
    /* سربرگ کارت                                              */
    /* ===================================================== */

    .card-top {
        padding-bottom: 6px;
        margin-bottom: 8px;
    }

    .card-logo-area {
        margin-bottom: 3px;
    }

    .card-logo {
        width: 75px;
        height: auto;
    }

    .card-main-title {
        font-size: 19px;
        margin: 3px 0;
    }

    .card-main-subtitle {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .card-number-date {
        display: flex;
        gap: 8px;
        margin-top: 5px;
    }

    .card-number-box {
        padding: 5px 8px;
    }

    .small-label {
        font-size: 8px;
    }

    .card-number-box strong {
        font-size: 10px;
    }

    /* ===================================================== */
    /* بخش‌های مختلف کارت                                     */
    /* ===================================================== */

    .card-section {
        margin-bottom: 7px;
        padding: 7px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .card-section-title {
        font-size: 11px;
        padding: 4px 9px;
        margin-bottom: 6px;
    }

    .section-icon {
        font-size: 11px;
    }

    /* ===================================================== */
    /* اطلاعات خودرو                                          */
    /* ===================================================== */

    .vehicle-info-grid {
        gap: 5px;
    }

    .vehicle-field {
        padding: 5px 7px;
        min-height: 32px;
    }

    .field-title {
        font-size: 8px;
        margin-bottom: 2px;
    }

    .field-value {
        font-size: 9px;
        line-height: 1.4;
    }

    .vehicle-code {
        direction: ltr;
        text-align: right;
    }

    /* ===================================================== */
    /* اطلاعات مراجعه کننده                                  */
    /* ===================================================== */

    .customer-info {
        gap: 5px;
    }

    .customer-field {
        padding: 5px 7px;
        min-height: 32px;
    }

    /* ===================================================== */
    /* چک لیست                                                */
    /* ===================================================== */

    .checklist-container {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .checklist-card {
        margin-bottom: 5px;
        padding: 5px 7px;

        page-break-inside: avoid;
        break-inside: avoid;
    }

    .checklist-card-header {
        padding: 3px 5px;
    }

    .checklist-category {
        font-size: 8px;
    }

    .checklist-status {
        font-size: 8px;
        padding: 2px 5px;
    }

    .checklist-description-title {
        font-size: 7px;
        margin-top: 3px;
        margin-bottom: 2px;
    }

    .checklist-description {
        font-size: 8px;
        line-height: 1.4;
        padding: 3px 5px;
    }

    /* ===================================================== */
    /* توضیحات کارشناس                                       */
    /* ===================================================== */

    .expert-description-box {
        min-height: 30px;
        padding: 6px;
        font-size: 8px;
        line-height: 1.5;
    }

    /* ===================================================== */
    /* اطلاعات کارشناس                                       */
    /* ===================================================== */

    .expert-card-info {
        padding: 6px;
        margin-top: 5px;
    }

    .expert-card-label {
        font-size: 8px;
    }

    .expert-card-name {
        font-size: 10px;
        margin-top: 2px;
    }

    /* ===================================================== */
    /* هشدار                                                  */
    /* ===================================================== */

    .card-warning {
        margin-top: 6px;
        padding: 5px 7px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .warning-title {
        font-size: 8px;
        margin-bottom: 2px;
    }

    .warning-text {
        font-size: 7px;
        line-height: 1.5;
    }

    /* ===================================================== */
    /* پیام‌ها چاپ نشوند                                      */
    /* ===================================================== */

    .message {
        display: none !important;
    }
}
.copy-link-button {
    background: #102f73;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 10px 25px;
    margin-right: 8px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.copy-link-button:hover {
    background: #0c265e;
}

.copy-message {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin-top: 0;
    color: #2e7d32;
    font-size: 13px;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

.copy-message.show {
    visibility: visible;
    opacity: 1;
    height: auto;
    margin-top: 10px;
}
@media (max-width: 600px) {

    .print-button-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .print-button,
    .copy-link-button {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }

}
/* ================================= */
/* Admin Dashboard                   */
/* ================================= */

.admin-container {
    width: 100%;
    max-width: 850px;
    margin: 35px auto;
    padding: 0 20px;
}

.admin-box {
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.admin-welcome {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin: 10px 0 30px;
}


/* Sections */

.admin-section {
    margin-bottom: 25px;
}

.admin-section-title {
    color: #102f73;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 12px;
}

.admin-icon {
    margin-left: 7px;
}


/* Menu buttons */

.admin-menu-button {
    display: block;
    width: 100%;
    text-decoration: none;

    background-color: white;

    border: 1px solid #e0e4ea;
    border-radius: 10px;

    padding: 16px 18px;

    margin-top: 10px;

    color: #172a46;

    text-align: right;

    transition: 0.2s;
}

.admin-menu-button:hover {
    border-color: #f5a900;
    background-color: #fffdf7;
}

.admin-primary {
    background-color: #102f73;
    border-color: #102f73;
    color: white;
}

.admin-primary:hover {
    background-color: #0c265e;
    border-color: #0c265e;
    color: white;
}


.admin-menu-title {
    display: block;

    font-size: 15px;
    font-weight: bold;
}

.admin-menu-description {
    display: block;

    font-size: 12px;

    margin-top: 6px;

    color: #777;

    line-height: 1.8;
}

.admin-primary .admin-menu-description {
    color: #e5eaf4;
}


/* Info */

.admin-info-box {
    background-color: #f8f9fb;

    border-radius: 10px;

    padding: 15px;

    margin-top: 12px;

    border-right: 4px solid #f5a900;
}

.admin-info-title {
    color: #102f73;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 7px;
}

.admin-info-text {
    color: #666;

    font-size: 12px;

    line-height: 2;
}


/* Statistics */

.admin-stat-container {
    display: flex;

    width: 100%;
}

.admin-stat-card {
    flex: 1;

    background-color: #f8f9fb;

    border: 1px solid #e2e6ec;

    border-radius: 12px;

    padding: 20px;

    text-align: center;
}

.admin-stat-card:first-child {
    margin-left: 7px;
}

.admin-stat-card:last-child {
    margin-right: 7px;
}

.admin-stat-title {
    color: #243b5a;

    font-size: 14px;

    font-weight: bold;
}

.admin-stat-number {
    color: #102f73;

    font-size: 30px;

    font-weight: bold;

    margin: 8px 0;
}

.admin-stat-description {
    color: #777;

    font-size: 12px;
}


/* Logout */

.admin-logout {
    margin-top: 20px;

    border-color: #ead5d5;
}

.admin-logout .admin-menu-title {
    color: #b3261e;
}

.admin-logout:hover {
    border-color: #b3261e;

    background-color: #fff8f8;
}


/* Mobile */

@media (max-width: 600px) {

    .admin-container {
        margin: 20px auto;

        padding: 0 12px;
    }

    .admin-box {
        padding: 20px 15px;

        border-radius: 10px;
    }

    .admin-welcome {
        font-size: 13px;

        margin-bottom: 22px;
    }

    .admin-section {
        margin-bottom: 22px;
    }

    .admin-section-title {
        font-size: 15px;
    }

    .admin-menu-button {
        padding: 14px 15px;
    }

    .admin-menu-title {
        font-size: 14px;
    }

    .admin-menu-description {
        font-size: 11px;
    }

    .admin-stat-card {
        padding: 15px 8px;
    }

    .admin-stat-card:first-child {
        margin-left: 5px;
    }

    .admin-stat-card:last-child {
        margin-right: 5px;
    }

    .admin-stat-number {
        font-size: 26px;
    }
}
/* ========================================= */
/* Admin Card Price                          */
/* ========================================= */

.admin-price-container {
    width: 100%;
    max-width: 650px;
    margin: 45px auto;
    padding: 0 20px;
}

.admin-price-box {
    background-color: white;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.admin-current-price {
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.admin-price-label {
    color: #243b5a;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.admin-price-number {
    color: #102f73;
    font-size: 30px;
    font-weight: bold;
}

.price-unit {
    font-size: 14px;
    color: #777;
    margin-right: 5px;
}


/* Mobile */

@media (max-width: 600px) {

    .admin-price-container {
        margin: 25px auto;
        padding: 0 12px;
    }

    .admin-price-box {
        padding: 22px 17px;
        border-radius: 10px;
    }

    .admin-price-number {
        font-size: 25px;
    }
}
/* ========================================= */
/* Admin Users - Expert Management           */
/* ========================================= */

.admin-users-container {
    width: 100%;
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
}

.admin-users-box {
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ========================================= */
/* Sections                                  */
/* ========================================= */

.admin-users-section {
    margin-bottom: 25px;
}


/* ========================================= */
/* Search                                    */
/* ========================================= */

.expert-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
}

.expert-search-input {
    flex: 1;
}

.expert-search-input .form-control {
    margin: 0;
}

.expert-search-buttons {
    display: flex;
    gap: 8px;
}

.expert-search-button,
.expert-show-all-button {
    height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.expert-search-button {
    border: none;
    background-color: #102f73;
    color: white;
}

.expert-search-button:hover {
    background-color: #0c265e;
}

.expert-show-all-button {
    border: 1px solid #d8dee7;
    background-color: white;
    color: #243b5a;
}

.expert-show-all-button:hover {
    border-color: #f5a900;
}


/* ========================================= */
/* Grid Wrapper                              */
/* ========================================= */

.expert-grid-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 15px;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08)
}


/* ========================================= */
/* GridView                                  */
/* ========================================= */

.expert-grid {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    background-color: white;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

.expert-grid th {
    padding: 14px 10px;
    background-color: #102f73;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.expert-grid td {
    padding: 13px 10px;
    border-bottom: 1px solid #edf0f4;
    color: #243b5a;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

.expert-grid tr:last-child td {
    border-bottom: none;
}

.expert-grid tr:hover td {
    background-color: #fffdf7;
}

.expert-id-column {
    color: #777 !important;
}


/* ========================================= */
/* Status                                    */
/* ========================================= */

.expert-status {
    display: inline-block;
    min-width: 55px;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
}

.expert-status-active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.expert-status-inactive {
    background-color: #ffebee;
    color: #c62828;
}


/* ========================================= */
/* Edit / Delete Buttons                     */
/* ========================================= */

.expert-edit-button,
.expert-delete-button {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.expert-edit-button {
    background-color: #f5a900;
    color: white;
}

.expert-edit-button:hover {
    background-color: #e59b00;
}

.expert-delete-button {
    background-color: #fff;
    border: 1px solid #e0a0a0;
    color: #b3261e;
}

.expert-delete-button:hover {
    background-color: #fff5f5;
    border-color: #b3261e;
}


/* ========================================= */
/* Paging                                    */
/* ========================================= */

.expert-grid a {
    color: #102f73;
    text-decoration: none;
}

.expert-grid a:hover {
    color: #f5a900;
}

.expert-grid tr:last-child td {
    border-bottom: none;
}


/* ========================================= */
/* Page Actions                              */
/* ========================================= */

.expert-page-actions {
    margin-top: 25px;
    text-align: center;
}

.expert-back-button {
    display: inline-block;
    width: 100%;
    padding: 13px;
    border: 1px solid #dce1e8;
    border-radius: 8px;
    background-color: white;
    color: #243b5a;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    box-sizing: border-box;
}

.expert-back-button:hover {
    border-color: #f5a900;
    color: #102f73;
}


/* ========================================= */
/* Admin Edit Page                           */
/* ========================================= */

.admin-edit-container {
    width: 100%;
    max-width: 750px;
    margin: 35px auto;
    padding: 0 20px;
}

.admin-edit-box {
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.admin-edit-section {
    margin-bottom: 25px;
}

.edit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
}

.edit-full-width {
    grid-column: 1 / -1;
}

.edit-form-grid .form-group {
    margin-bottom: 18px;
}

.edit-form-grid textarea.form-control {
    min-height: 100px;
}


/* ========================================= */
/* Password Help                             */
/* ========================================= */

.password-help {
    background-color: #f8f9fb;
    border: 1px solid #e1e5eb;
    border-right: 4px solid #f5a900;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 18px;
    color: #666;
    font-size: 12px;
    line-height: 2;
}


/* ========================================= */
/* Status Checkbox                           */
/* ========================================= */

.edit-status-box {
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #d5dce5;
    border-radius: 8px;
    background-color: #fff;
}

.edit-status-box input {
    margin-left: 7px;
}

.edit-status-box label {
    color: #243b5a;
    font-size: 13px;
}


/* ========================================= */
/* Edit Buttons                              */
/* ========================================= */

.edit-action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.edit-save-button,
.edit-cancel-button {
    flex: 1;
    height: 48px;
    line-height: 48px;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.edit-save-button {
    border: none;
    background-color: #102f73;
    color: white;
}

.edit-save-button:hover {
    background-color: #0c265e;
}

.edit-cancel-button {
    border: 1px solid #dce1e8;
    background-color: white;
    color: #243b5a;
    text-decoration: none;
}

.edit-cancel-button:hover {
    border-color: #f5a900;
    color: #102f73;
}


/* ========================================= */
/* Mobile                                   */
/* ========================================= */

@media (max-width: 700px) {

    .admin-users-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .admin-users-box {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .expert-search-box {
        display: block;
        padding: 12px;
    }

    .expert-search-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .expert-search-buttons {
        display: flex;
    }

    .expert-search-button,
    .expert-show-all-button {
        flex: 1;
        padding: 0 10px;
    }

    .expert-grid-wrapper {
        border-radius: 8px;
    }

    .expert-grid {
        min-width: 800px;
    }


    /* Edit */

    .admin-edit-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .admin-edit-box {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .edit-form-grid {
        display: block;
    }

    .edit-full-width {
        width: 100%;
    }

    .edit-action-buttons {
        display: block;
    }

    .edit-save-button,
    .edit-cancel-button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

}


/* ========================================= */
/* Very Small Mobile                         */
/* ========================================= */

@media (max-width: 400px) {

    .expert-search-buttons {
        display: block;
    }

    .expert-search-button,
    .expert-show-all-button {
        display: block;
        width: 100%;
        margin-bottom: 7px;
    }

}
/* ========================================================= */
/* ADMIN EXPERTS - مدیریت کاربران کارشناسان                  */
/* ========================================================= */


/* ========================================================= */
/* صفحه مدیریت کاربران                                       */
/* ========================================================= */

.admin-experts-container {
    width: 100%;
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.admin-experts-box {
    width: 100%;
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ========================================================= */
/* بخش جستجو                                                  */
/* ========================================================= */

.experts-search-box {
    width: 100%;
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 11px;
    padding: 18px;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.experts-search-title {
    color: #102f73;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    margin-bottom: 12px;
}

.experts-search-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}


/* TextBox جستجو */

.experts-search-row .form-control {
    flex: 1;
    width: auto !important;
    margin: 0;
    box-sizing: border-box;
}


/* دکمه جستجو */

.experts-search-button {
    display: block;
    width: 120px !important;
    min-width: 120px;
    height: 46px;

    padding: 0 15px;

    border: none !important;
    border-radius: 8px;

    background-color: #102f73 !important;
    color: white !important;

    font-family: inherit;
    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
    box-sizing: border-box;
}

.experts-search-button:hover {
    background-color: #0c265e !important;
}


/* نمایش همه کاربران */

.experts-show-all {
    display: inline-block;

    margin-top: 10px;
    padding: 7px 12px;

    border: none !important;
    background-color: transparent !important;

    color: #102f73 !important;

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;
}

.experts-show-all:hover {
    color: #f5a900 !important;
}


/* ========================================================= */
/* عنوان بخش فهرست                                            */
/* ========================================================= */

.experts-list-section {
    width: 100%;
    margin-top: 25px;
}

.experts-list-section .admin-section-title {
    width: 100%;
    box-sizing: border-box;
}


/* ========================================================= */
/* جدول                                                       */
/* ========================================================= */

.experts-grid-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;

    border: 1px solid #e1e5eb;
    border-radius: 11px;

    box-sizing: border-box;
    direction: rtl;
}


/* خود GridView */

.experts-grid {
    width: 100% !important;
    min-width: 850px;

    border-collapse: collapse;

    background-color: white;

    font-family: inherit;
    font-size: 13px;

    direction: rtl;
}


/* سرستون‌ها */

.experts-grid th {
    background-color: #f8f9fb;

    color: #102f73;

    font-size: 12px;
    font-weight: bold;

    padding: 13px 10px;

    border-bottom: 1px solid #e1e5eb;

    text-align: center;

    white-space: nowrap;
}


/* سلول‌ها */

.experts-grid td {
    padding: 13px 10px;

    color: #444;

    border-bottom: 1px solid #edf0f4;

    text-align: center;

    vertical-align: middle;

    white-space: nowrap;
}


/* آخرین ردیف */

.experts-grid tr:last-child td {
    border-bottom: none;
}


/* حالت Hover */

.experts-grid tr:hover td {
    background-color: #fffdf7;
}


/* ========================================================= */
/* وضعیت کاربر                                               */
/* ========================================================= */

.expert-status {
    display: inline-block;

    min-width: 55px;

    padding: 5px 9px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: bold;

    text-align: center;
}

.expert-status.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.expert-status.inactive {
    background-color: #ffebee;
    color: #c62828;
}


/* ========================================================= */
/* دکمه‌های عملیات                                            */
/* ========================================================= */

.expert-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 7px;

    white-space: nowrap;
}


/* دکمه ویرایش */

.expert-edit-button {
    display: inline-block;

    padding: 7px 12px;

    border-radius: 6px;

    background-color: #102f73 !important;
    color: white !important;

    border: none;

    text-decoration: none;

    font-family: inherit;
    font-size: 11px;
    font-weight: bold;

    cursor: pointer;
}

.expert-edit-button:hover {
    background-color: #0c265e !important;
    color: white !important;
}


/* دکمه حذف */

.expert-delete-button {
    display: inline-block;

    padding: 7px 12px;

    border-radius: 6px;

    background-color: white !important;
    color: #b3261e !important;

    border: 1px solid #e0d4d4 !important;

    text-decoration: none;

    font-family: inherit;
    font-size: 11px;
    font-weight: bold;

    cursor: pointer;
}

.expert-delete-button:hover {
    background-color: #fff5f5 !important;
    border-color: #b3261e !important;
}


/* ========================================================= */
/* پیام موفقیت و خطا                                         */
/* ========================================================= */

.message-success {
    display: block;

    background-color: #e8f5e9;
    color: #2e7d32;

    border: 1px solid #c8e6c9;

    border-radius: 8px;

    padding: 10px 12px;

    margin-bottom: 15px;

    text-align: center;
}

.message-error {
    display: block;

    background-color: #ffebee;
    color: #c62828;

    border: 1px solid #ffcdd2;

    border-radius: 8px;

    padding: 10px 12px;

    margin-bottom: 15px;

    text-align: center;
}


/* ========================================================= */
/* صفحه‌بندی GridView                                        */
/* ========================================================= */

.experts-grid tr:last-child td a {
    text-decoration: none;
}


/* ========================================================= */
/* بازگشت به پنل مدیریت                                      */
/* ========================================================= */

.admin-back-area {
    width: 100%;
    margin-top: 25px;
}


/* ========================================================= */
/* موبایل                                                     */
/* ========================================================= */

@media (max-width: 700px) {

    .admin-experts-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .admin-experts-box {
        padding: 20px 15px;
        border-radius: 10px;
    }


    /* جستجو در موبایل */

    .experts-search-row {
        display: block;
    }

    .experts-search-row .form-control {
        width: 100% !important;
        margin-bottom: 8px;
    }

    .experts-search-button {
        width: 100% !important;
        min-width: 0;
    }


    /* جدول */

    .experts-grid-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .experts-grid {
        min-width: 850px;
    }


    /* عملیات */

    .expert-actions {
        flex-direction: column;
        gap: 5px;
    }

    .expert-edit-button,
    .expert-delete-button {
        width: 75px;
        box-sizing: border-box;
        text-align: center;
    }

}
/* ========================================================= */
/* ADMIN CARD EDIT                                           */
/* ========================================================= */

.admin-card-edit-container {
    width: 100%;
    max-width: 1100px;

    margin: 35px auto;

    padding: 0 20px;

    box-sizing: border-box;
}


.admin-card-edit-box {
    width: 100%;

    background-color: white;

    border-radius: 14px;

    padding: 30px;

    box-sizing: border-box;

    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ========================================================= */
/* عنوان بخش                                                   */
/* ========================================================= */

.edit-card-section,
.edit-checklist-section {
    width: 100%;

    margin-top: 25px;
}


.edit-section-title {
    width: 100%;

    background-color: #102f73;

    color: white;

    padding: 13px 16px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: bold;

    box-sizing: border-box;
}


/* ========================================================= */
/* اطلاعات کارت                                                */
/* ========================================================= */

.card-info-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 15px;
}


.card-info-item {
    background-color: #f8f9fb;

    border: 1px solid #e3e7ed;

    border-radius: 9px;

    padding: 12px 14px;

    box-sizing: border-box;
}


.card-info-label {
    display: block;

    color: #777;

    font-size: 11px;

    margin-bottom: 5px;
}


.card-info-value {
    display: block;

    color: #102f73;

    font-size: 13px;

    font-weight: bold;

    word-break: break-word;
}


.edit-count-value {
    color: #f5a900;
}


/* ========================================================= */
/* توضیح بالای چک لیست                                         */
/* ========================================================= */

.edit-checklist-description {
    background-color: #fffaf0;

    border: 1px solid #f3dfad;

    border-radius: 9px;

    padding: 12px 15px;

    margin-top: 12px;

    color: #66551f;

    font-size: 12px;

    line-height: 1.8;
}


/* ========================================================= */
/* هر آیتم چک لیست                                             */
/* ========================================================= */

.edit-checklist-item {
    width: 100%;

    margin-top: 18px;

    padding: 20px;

    background-color: #ffffff;

    border: 1px solid #e0e4e9;

    border-radius: 12px;

    box-sizing: border-box;

    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}


.checklist-category {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}


.checklist-number {
    width: 32px;

    height: 32px;

    min-width: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #102f73;

    color: white;

    border-radius: 50%;

    font-size: 12px;

    font-weight: bold;
}


.checklist-category-title {
    color: #102f73;

    font-size: 14px;

    font-weight: bold;
}


/* ========================================================= */
/* عنوان فیلد                                                  */
/* ========================================================= */

.checklist-field-title {
    color: #555;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 8px;
}


/* ========================================================= */
/* وضعیت چک لیست                                               */
/* ========================================================= */

.checklist-status-area {
    margin-bottom: 18px;
}


.checklist-status-list {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    line-height: normal;
}


.checklist-status-list label {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 7px 10px;

    background-color: #f7f8fa;

    border: 1px solid #e1e4e8;

    border-radius: 7px;

    color: #444;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;
}


.checklist-status-list input {
    margin: 0;
}


/* ========================================================= */
/* توضیحات                                                     */
/* ========================================================= */

.checklist-description-area {
    width: 100%;
}


.checklist-description-input {
    width: 100% !important;

    min-height: 75px;

    resize: vertical;

    box-sizing: border-box;

    border: 1px solid #dfe3e8;

    border-radius: 8px;

    padding: 10px;

    font-family: inherit;

    font-size: 12px;

    line-height: 1.8;

    color: #444;

    background-color: white;
}


.checklist-description-input:focus {
    outline: none;

    border-color: #102f73;

    box-shadow: 0 0 0 2px rgba(16,47,115,0.08);
}


/* ========================================================= */
/* دکمه‌ها                                                     */
/* ========================================================= */

.edit-actions {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 28px;
}


.edit-save-button {
    width: 180px;

    height: 46px;

    border: none;

    border-radius: 8px;

    background-color: #102f73;

    color: white;

    font-family: inherit;

    font-size: 13px;

    font-weight: bold;

    cursor: pointer;
}


.edit-save-button:hover {
    background-color: #0c265e;
}


.edit-cancel-button {
    width: 180px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border-radius: 8px;

    background-color: #f5f6f8;

    border: 1px solid #dfe3e8;

    color: #555;

    text-decoration: none;

    font-family: inherit;

    font-size: 12px;

    font-weight: bold;
}


.edit-cancel-button:hover {
    background-color: #eceef1;

    color: #333;
}


/* ========================================================= */
/* هشدار                                                       */
/* ========================================================= */

.edit-warning {
    width: 100%;

    margin-top: 18px;

    padding: 12px 15px;

    box-sizing: border-box;

    background-color: #fff8e6;

    border: 1px solid #f1dda7;

    border-radius: 8px;

    color: #6c591c;

    font-size: 11px;

    line-height: 1.9;

    text-align: center;
}


/* ========================================================= */
/* موبایل                                                       */
/* ========================================================= */

@media (max-width: 700px) {

    .admin-card-edit-container {
        margin: 20px auto;

        padding: 0 12px;
    }


    .admin-card-edit-box {
        padding: 20px 15px;

        border-radius: 10px;
    }


    .card-info-grid {
        grid-template-columns: 1fr;

        gap: 9px;
    }


    .edit-checklist-item {
        padding: 15px;
    }


    .checklist-status-list {
        display: block;
    }


    .checklist-status-list label {
        margin: 4px 3px;
    }


    .edit-actions {
        display: block;
    }


    .edit-save-button,
    .edit-cancel-button {
        width: 100%;

        margin-bottom: 8px;
    }

}
/* ========================================================= */
/* ADMIN CARDS - مدیریت کارت‌ها                              */
/* ========================================================= */

.admin-cards-container {
    width: 100%;
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.admin-cards-box {
    width: 100%;
    background-color: white;
    border-radius: 14px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ========================================================= */
/* جستجوی کارت‌ها                                             */
/* ========================================================= */

.cards-search-box {
    width: 100%;
    background-color: #f8f9fb;
    border: 1px solid #e2e6ec;
    border-radius: 11px;
    padding: 18px;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.cards-search-title {
    color: #102f73;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    margin-bottom: 12px;
}

.cards-search-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.cards-search-row .form-control {
    flex: 1;
    width: auto !important;
    margin: 0;
    box-sizing: border-box;
}

.cards-search-button {
    width: 120px;
    min-width: 120px;
    height: 46px;
    padding: 0 15px;
    border: none;
    border-radius: 8px;
    background-color: #102f73;
    color: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.cards-search-button:hover {
    background-color: #0c265e;
}

.cards-show-all {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 12px;
    border: none;
    background-color: transparent;
    color: #102f73;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.cards-show-all:hover {
    color: #f5a900;
}


/* ========================================================= */
/* فهرست کارت‌ها                                              */
/* ========================================================= */

.cards-list-section {
    width: 100%;
    margin-top: 25px;
}

.cards-grid-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #e1e5eb;
    border-radius: 11px;
    box-sizing: border-box;
    direction: rtl;
}

.cards-grid {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
    background-color: white;
    font-family: inherit;
    font-size: 13px;
    direction: rtl;
}

.cards-grid th {
    background-color: #f8f9fb;
    color: #102f73;
    font-size: 12px;
    font-weight: bold;
    padding: 13px 10px;
    border-bottom: 1px solid #e1e5eb;
    text-align: center;
    white-space: nowrap;
}

.cards-grid td {
    padding: 13px 10px;
    color: #444;
    border-bottom: 1px solid #edf0f4;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.cards-grid tr:last-child td {
    border-bottom: none;
}

.cards-grid tr:hover td {
    background-color: #fffdf7;
}


/* ========================================================= */
/* دکمه ویرایش کارت                                           */
/* ========================================================= */

.card-edit-button {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 6px;
    background-color: #102f73;
    color: white !important;
    border: none;
    text-decoration: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.card-edit-button:hover {
    background-color: #0c265e;
    color: white !important;
}


/* ========================================================= */
/* موبایل                                                      */
/* ========================================================= */

@media (max-width: 700px) {

    .admin-cards-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    .admin-cards-box {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .cards-search-row {
        display: block;
    }

    .cards-search-row .form-control {
        width: 100% !important;
        margin-bottom: 8px;
    }

    .cards-search-button {
        width: 100%;
        min-width: 0;
    }

    .cards-grid-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cards-grid {
        min-width: 850px;
    }

}
/* ========================================================= */
/* ADMIN CREDIT - افزایش اعتبار کارشناسان                   */
/* ========================================================= */

.admin-credit-container {
    width: 100%;
    max-width: 650px;

    margin: 35px auto;

    padding: 0 20px;

    box-sizing: border-box;
}


.admin-credit-box {
    width: 100%;

    background-color: white;

    border-radius: 14px;

    padding: 35px;

    box-sizing: border-box;

    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ========================================================= */
/* توضیح صفحه                                                 */
/* ========================================================= */

.admin-credit-description {
    text-align: center;

    color: #777;

    font-size: 13px;

    margin-top: 8px;

    margin-bottom: 28px;

    line-height: 1.9;
}


/* ========================================================= */
/* فرم                                                        */
/* ========================================================= */

.credit-form {
    width: 100%;
}


.credit-form .form-group {
    margin-bottom: 18px;
}


/* ========================================================= */
/* راهنمای فیلد                                               */
/* ========================================================= */

.field-help {
    color: #888;

    font-size: 11px;

    margin-top: 6px;

    line-height: 1.8;
}


/* ========================================================= */
/* بخش محاسبه مالی                                            */
/* ========================================================= */

.credit-calculation-box {
    width: 100%;

    margin-top: 8px;

    margin-bottom: 20px;

    padding: 15px;

    box-sizing: border-box;

    background-color: #fffaf0;

    border: 1px solid #f1dda7;

    border-right: 4px solid #f5a900;

    border-radius: 9px;
}


.credit-calculation-title {
    color: #102f73;

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 7px;
}


.credit-calculation-text {
    color: #66551f;

    font-size: 11px;

    line-height: 2;
}


.credit-calculation-text strong {
    color: #102f73;
}


/* ========================================================= */
/* دکمه ثبت                                                   */
/* ========================================================= */

.credit-submit-button {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 8px;

    background-color: #f5a900;

    color: white;

    font-family: inherit;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    margin-top: 5px;
}


.credit-submit-button:hover {
    background-color: #e59b00;
}


/* ========================================================= */
/* دکمه بازگشت                                                */
/* ========================================================= */

.credit-back-button {
    display: block;

    width: 100%;

    height: 44px;

    line-height: 44px;

    box-sizing: border-box;

    text-align: center;

    text-decoration: none;

    border: 1px solid #dfe3e8;

    border-radius: 8px;

    background-color: #f8f9fb;

    color: #555;

    font-family: inherit;

    font-size: 13px;

    font-weight: bold;

    margin-top: 10px;
}


.credit-back-button:hover {
    border-color: #f5a900;

    color: #102f73;

    background-color: white;
}


/* ========================================================= */
/* پیام‌ها                                                    */
/* ========================================================= */

.admin-credit-box .message {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 10px 12px;

    margin-bottom: 18px;

    border-radius: 8px;

    text-align: center;

    font-size: 13px;
}


.admin-credit-box .message-error {
    background-color: #ffebee;

    color: #c62828;

    border: 1px solid #ffcdd2;
}


.admin-credit-box .message-success {
    background-color: #e8f5e9;

    color: #2e7d32;

    border: 1px solid #c8e6c9;
}


/* ========================================================= */
/* موبایل                                                     */
/* ========================================================= */

@media (max-width: 700px) {

    .admin-credit-container {
        margin: 20px auto;

        padding: 0 12px;
    }


    .admin-credit-box {
        padding: 22px 17px;

        border-radius: 10px;
    }


    .admin-credit-description {
        font-size: 12px;

        margin-bottom: 22px;
    }


    .credit-submit-button {
        height: 47px;

        font-size: 14px;
    }


    .credit-back-button {
        height: 44px;

        line-height: 44px;
    }

}


/* ========================================================= */
/* موبایل خیلی کوچک                                           */
/* ========================================================= */

@media (max-width: 400px) {

    .admin-credit-box {
        padding: 20px 14px;
    }


    .credit-calculation-box {
        padding: 12px;
    }


    .credit-calculation-text {
        font-size: 10px;
    }

}
/* ========================================================= */
/* ADMIN TRANSACTIONS                                        */
/* ========================================================= */

.admin-transactions-container {
    width: 100%;
    max-width: 1200px;

    margin: 35px auto;

    padding: 0 20px;

    box-sizing: border-box;
}


.admin-transactions-box {
    width: 100%;

    background-color: #ffffff;

    border-radius: 14px;

    padding: 30px;

    box-sizing: border-box;

    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* ========================================================= */
/* توضیحات بالای صفحه                                        */
/* ========================================================= */

.admin-transactions-description {
    width: 100%;

    text-align: center;

    color: #68758a;

    font-size: 14px;

    margin-bottom: 25px;
}


/* ========================================================= */
/* بخش جستجو                                                  */
/* ========================================================= */

.transactions-search-section {
    width: 100%;

    background-color: #f7f9fc;

    border: 1px solid #e2e7ef;

    border-radius: 12px;

    padding: 20px;

    box-sizing: border-box;

    margin-top: 25px;
}


.transactions-section-title {
    width: 100%;

    background-color: #102f73;

    color: #ffffff;

    padding: 13px 16px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: bold;

    box-sizing: border-box;

    margin-bottom: 20px;
}


/* ========================================================= */
/* فرم جستجو                                                  */
/* ========================================================= */

.transactions-search-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    box-sizing: border-box;
}


.transaction-field {
    width: 100%;
}


.transaction-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: bold;

    color: #172a46;
}


.transaction-field .form-control {
    width: 100%;

    box-sizing: border-box;
}


/* ========================================================= */
/* دکمه های جستجو                                             */
/* ========================================================= */

.transactions-search-buttons {
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


.transactions-search-button,
.transactions-show-all-button {
    border: none;

    border-radius: 8px;

    padding: 11px 20px;

    font-family: inherit;

    font-size: 13px;

    font-weight: bold;

    cursor: pointer;

    box-sizing: border-box;
}


.transactions-search-button {
    background-color: #f5a900;

    color: #172a46;
}


.transactions-search-button:hover {
    opacity: 0.9;
}


.transactions-show-all-button {
    background-color: #e8edf5;

    color: #172a46;

    border: 1px solid #d5dce7;
}


.transactions-show-all-button:hover {
    background-color: #dfe5ef;
}


/* ========================================================= */
/* پیام                                                        */
/* ========================================================= */

.transactions-search-section + .message-error {
    margin-top: 15px;
}


/* ========================================================= */
/* خلاصه آماری                                                 */
/* ========================================================= */

.transactions-summary-section {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    margin-top: 25px;
}


.transaction-summary-card {
    background-color: #f7f9fc;

    border: 1px solid #e0e6ef;

    border-radius: 11px;

    padding: 18px;

    text-align: center;

    box-sizing: border-box;
}


.transaction-summary-title {
    color: #68758a;

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 8px;
}


.transaction-summary-number {
    color: #102f73;

    font-size: 22px;

    font-weight: bold;
}


.transaction-currency {
    font-size: 12px;

    color: #68758a;

    margin-right: 4px;
}


/* ========================================================= */
/* کارت مبلغ                                                   */
/* ========================================================= */

.transaction-money-card {
    border-top: 4px solid #f5a900;
}


/* ========================================================= */
/* لیست تراکنش‌ها                                              */
/* ========================================================= */

.transactions-list-section {
    width: 100%;

    margin-top: 30px;
}


.transactions-grid-wrapper {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    border: 1px solid #e0e5ec;

    border-radius: 10px;

    box-sizing: border-box;
}


.transactions-grid {
    width: 100%;

    min-width: 950px;

    border-collapse: collapse;

    background-color: #ffffff;

    font-size: 13px;
}


.transactions-grid th {
    background-color: #102f73;

    color: #ffffff;

    padding: 13px 10px;

    text-align: center;

    font-weight: bold;

    white-space: nowrap;
}


.transactions-grid td {
    padding: 12px 10px;

    border-bottom: 1px solid #e7ebf1;

    color: #172a46;

    text-align: center;

    vertical-align: middle;

    white-space: nowrap;
}


.transactions-grid tr:hover td {
    background-color: #f7f9fc;
}


.transactions-grid tr:last-child td {
    border-bottom: none;
}


/* ========================================================= */
/* بازگشت                                                      */
/* ========================================================= */

.transactions-back-button {
    display: inline-block;

    background-color: #e8edf5;

    color: #172a46;

    text-decoration: none;

    padding: 10px 18px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: bold;

    border: 1px solid #d5dce7;

    box-sizing: border-box;
}


.transactions-back-button:hover {
    background-color: #dfe5ef;

    text-decoration: none;
}


/* ========================================================= */
/* موبایل                                                      */
/* ========================================================= */

@media (max-width: 700px) {

    .admin-transactions-container {
        margin: 20px auto;

        padding: 0 12px;
    }


    .admin-transactions-box {
        padding: 20px 15px;

        border-radius: 10px;
    }


    /* فرم جستجو */

    .transactions-search-grid {
        display: block;
    }


    .transaction-field {
        margin-bottom: 12px;
    }


    .transaction-field:last-child {
        margin-bottom: 0;
    }


    /* دکمه ها */

    .transactions-search-buttons {
        display: block;
    }


    .transactions-search-button,
    .transactions-show-all-button {
        width: 100%;

        display: block;

        margin-bottom: 8px;
    }


    /* آمار */

    .transactions-summary-section {
        display: block;
    }


    .transaction-summary-card {
        margin-bottom: 10px;
    }


    /* جدول */

    .transactions-grid-wrapper {
        overflow-x: auto;
    }


    .transactions-grid {
        min-width: 950px;
    }

}
.escard-edit-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background-color: #f5a900;
    color: white;
    border-radius: 8px;
    padding: 11px;
    font-size: 13px;
    font-weight: bold;
}

.escard-edit-button:hover {
    background-color: #e59b00;
    color: white;
}
.validation-error {
    display: block;
    color: #c62828;
    font-size: 13px;
    margin-top: 6px;
}/* ============================= */
/* License Plate                 */
/* ============================= */

.plate-input-container {
    display: flex;
    gap: 8px;
    direction: ltr;
    align-items: center;
}

.plate-part {
    text-align: center;
    font-weight: bold;
}

.plate-number {
    flex: 1;
}

.plate-letter {
    flex: 1;
    cursor: pointer;
}

@media (max-width: 600px) {

    .plate-input-container {
        gap: 5px;
    }

    .plate-part {
        font-size: 14px;
        padding-left: 5px;
        padding-right: 5px;
    }

}
.header-logo-link {
    display: inline-block;
    line-height: 0;
}

.header-logo {
    cursor: pointer;
}

/* ============================= */
/* Admin Expert Search - Car-C   */
/* ============================= */
.expert-search-container {
    width: 100%;
    max-width: 1050px;
    margin: 35px auto;
    padding: 0 20px;
}
.expert-search-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}
.expert-search-description {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin: 8px 0 28px;
    line-height: 1.9;
}
.expert-search-panel,
.expert-results-section {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 20px;
    margin-top: 18px;
}
.expert-search-section-title {
    color: #102f73;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 18px;
}
.expert-search-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
}
.expert-search-field label {
    display: block;
    margin-bottom: 7px;
    color: #243b5a;
    font-size: 14px;
    font-weight: bold;
}
.expert-search-buttons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.expert-search-button,
.expert-show-all-button {
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 8px;
    border: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.expert-search-button {
    background: #f5a900;
    color: #fff;
}
.expert-search-button:hover { background: #e59b00; }
.expert-show-all-button {
    background: #102f73;
    color: #fff;
}
.expert-show-all-button:hover { background: #0c265e; }
.expert-search-message {
    display: block;
    text-align: center;
    color: #243b5a;
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.9;
}
.expert-grid-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e6ec;
    border-radius: 8px;
}
.expert-results-grid {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    text-align: right;
    font-size: 13px;
}
.expert-results-grid th {
    background: #102f73;
    color: #fff;
    font-weight: bold;
    padding: 13px 12px;
    white-space: nowrap;
}
.expert-results-grid td {
    padding: 12px;
    border-bottom: 1px solid #e8ebf0;
    color: #243b5a;
    vertical-align: top;
    line-height: 1.8;
}
.expert-results-grid tr:nth-child(even) td { background: #f8f9fb; }
.expert-results-grid tr:last-child td { border-bottom: 0; }
.expert-search-back-area {
    text-align: center;
    margin-top: 24px;
}
.expert-search-back-button {
    display: inline-block;
    text-decoration: none;
    background: #102f73;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
}
.expert-search-back-button:hover { background: #0c265e; color: #fff; }

@media (max-width: 600px) {
    .expert-search-container { margin: 20px auto; padding: 0 12px; }
    .expert-search-box { padding: 20px 14px; border-radius: 10px; }
    .expert-search-panel, .expert-results-section { padding: 15px 12px; }
    .expert-search-buttons { flex-direction: column; }
    .expert-search-button, .expert-show-all-button { width: 100%; }
    .expert-search-description { font-size: 13px; }
    .expert-results-grid { font-size: 12px; }
    .expert-results-grid th, .expert-results-grid td { padding: 10px 8px; }
}
