/* ── Panel typography (shared across admin & vendor) ───────────────── */
body {
    font-size: 14px !important;
}

.menu-title {
    font-size: 13.5px !important;
}

.table th,
.table td {
    font-size: 13.5px !important;
}

.card-title,
.card-label {
    font-size: 16px !important;
}

.form-label,
label {
    font-size: 13.5px !important;
}

.form-control,
.form-select {
    font-size: 14px !important;
}

.btn {
    font-size: 13.5px !important;
}

/* ── DataTables ────────────────────────────────────────────────────── */
#kt_table_1_filter {
    float: right;
}

#kt_table_1_paginate {
    float: right;
}

#kt_table_1 thead tr th {
    padding: 10px !important;
}

#kt_table_1 thead tr th {
    border-bottom: 1px solid #130101;
}

/* Decrease from calc(1.5em + 1.65rem + 2px) down to, say, calc(1.25em + 1.2rem + 2px) */
.form-control-lg {
    min-height: calc(1em + 1rem + 2px) !important;
}

/* Place this *after* Bootstrap’s CSS */
.form-control-sm.custom-sm {
    font-size: 1rem;
    /* smaller text */
    line-height: 2.50;
    /* tighter line-height */
    padding: 0.25rem 0.4rem;
    /* less vertical & horizontal padding */
    min-height: auto;
    /* let height be driven by content + padding */
    height: auto;
    /* allow it to shrink to content */
}

th:first-child {
    padding-left: 0px !important;
}

/*start: datatables sorting css*/
/* table.dataTable thead .sorting,
            table.dataTable thead .sorting_asc,
            table.dataTable thead .sorting_desc,
            table.dataTable thead .sorting_asc_disabled,
            table.dataTable thead .sorting_desc_disabled {
                cursor: pointer;
                position: unset;
            } */

table.dataTable thead th {
    background: transparent !important;
    white-space: nowrap;
}

table.dataTable thead span.sort-icon {
    display: inline-block;
    padding-left: 5px;
    width: 16px;
    height: 16px;
}

table.dataTable thead .sorting span {
    background: url('http://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/images/sort_both.png') no-repeat center right;
}

table.dataTable thead .sorting_asc span {
    background: url('http://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/images/sort_asc.png') no-repeat center right;
}

table.dataTable thead .sorting_desc span {
    background: url('http://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/images/sort_desc.png') no-repeat center right;
}

table.dataTable thead .sorting_asc_disabled span {
    background: url('http://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/images/sort_asc_disabled.png') no-repeat center right;
}

table.dataTable thead .sorting_desc_disabled span {
    background: url('http://cdn.datatables.net/plug-ins/3cfcc339e89/integration/bootstrap/images/sort_desc_disabled.png') no-repeat center right;
}

table.dataTable thead .sorting::before,
table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_desc::before,
table.dataTable thead .sorting_asc_disabled::before,
table.dataTable thead .sorting_desc_disabled::before {
    content: "";
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after,
table.dataTable thead .sorting_asc_disabled::after,
table.dataTable thead .sorting_desc_disabled::after {
    content: "";
}

table.dataTable>thead .sorting_desc:after {
    opacity: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-image: none;
    display: inline-block;
    padding-left: 5px;
    width: 16px;
    height: 16px;
}

table.dataTable>thead .sorting_asc:after {
    opacity: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-image: none;
    display: inline-block;
    padding-left: 5px;
    width: 16px;
    height: 16px;
}

/*end: datatables sorting css*/

.iti__flag {
    background-image: url("../tel-input/img/flags.png");
}

.dashboard-tight .card-body {
    padding: 12px 14px !important;
}

.dashboard-tight .card-header {
    padding: 10px 14px !important;
    min-height: unset !important;
}

.dashboard-tight table th,
.dashboard-tight table td {
    padding: 8px 10px !important;
}

.dashboard-tight .badge {
    font-size: 11px;
    font-weight: 500;
}

/*../../admin/dist/*/

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("../tel-input/img/flags@2x.png");
    }

    /*../../admin/dist/*/
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
    outline: none;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: transparent;
}

.w-60 {
    width: 60%;
}

.iti {
    width: 100%;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type="text"],
.iti--allow-dropdown input[type="tel"],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="text"],
.iti--separate-dial-code input[type="tel"] {
    width: 100%;
}

/* style for data table drop down icon  */

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 5% top 43%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
    padding: 0.5em;
    background-size: 35%;
    padding-right: 2em;
}

/* password input fielid icon css */

.password-input input {
    margin-bottom: 40px;
}

.password-input {
    display: flex;
    align-items: center;
    position: relative;
}

.password-input span {
    top: 27% !important;
    left: 87% !important;
}

.password-input {
    display: flex;
    align-items: center;
    position: relative;
}

.password-input span {
    top: 27% !important;
    left: 87% !important;
}

/* .modal:nth-of-type(even) {
                z-index: 1058 !important;
            }

            .modal-backdrop.show:nth-of-type(even) {
                z-index: 1057 !important;
            } */

.noti-scroll {
    max-height: 230px;
}

/* ── Detail pages (customer / driver / shared) ─────────────────────── */
.detail-nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
}

.detail-nav-tabs .nav-link.active {
    color: #198754 !important;
    font-weight: 600;
    border-color: #198754 #198754 #fff !important;
}

/* also cover plain nav-tabs on detail pages */
.nav-tabs .nav-link.active {
    color: #198754 !important;
    font-weight: 600;
    border-color: #198754 #198754 #fff !important;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a1a5b7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #181c32;
}

.section-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: #a1a5b7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e4e6ef;
}

.stat-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 16px 20px;
}

.stat-card .stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #181c32;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: #a1a5b7;
    font-weight: 600;
    text-transform: uppercase;
}

.doc-card {
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: box-shadow 0.2s;
    height: 100%;
}

.doc-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.doc-card .doc-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5e6278;
    margin-bottom: 10px;
}

.doc-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}

.doc-card .doc-empty {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 6px;
    color: #b5b5c3;
    font-size: 0.8rem;
}

/* ── Order Details Page ─────────────────────────────────────────────── */

/* Status Stepper */
.order-stepper {
    padding: 0 20px;
}

.stepper-line {
    position: absolute;
    top: 22px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e4e6ef;
    z-index: 0;
}

.stepper-step {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.stepper-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid #e4e6ef;
    background: #fff;
    color: #b5b5c3;
}

.stepper-label {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: #b5b5c3;
    white-space: nowrap;
}

.stepper-step.done .stepper-icon {
    background: #e8fff3;
    border-color: #50cd89;
    color: #50cd89;
}

.stepper-step.done .stepper-label {
    color: #50cd89;
}

.stepper-step.active .stepper-icon {
    background: #009ef7;
    border-color: #009ef7;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,158,247,0.15);
}

.stepper-step.active .stepper-label {
    color: #009ef7;
    font-size: 12px;
}

/* Info Card Component */
.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid #f1f1f4;
}

.info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-title {
    font-weight: 700;
    font-size: 14px;
    color: #181c32;
    letter-spacing: 0.02em;
}

.info-card-body {
    padding: 16px 20px 18px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #f1f1f4;
}

.info-label {
    font-size: 12px;
    color: #a1a5b7;
    font-weight: 500;
}

.info-value {
    font-size: 13px;
    color: #3f4254;
    font-weight: 600;
}

/* Update Status Card Header */
.update-status-header {
    border-radius: 0.475rem 0.475rem 0 0;
}

/* Status Update Button Styles */
.status-update-btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.status-update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
