/* ==========================================================================
   KGT TRANSFERS PLUGIN — Kemet Theme Override
   Styles the booking form to match the Kemet design system
   ========================================================================== */

/* Wrapper */
.kgt-transfer-booking {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--kt-ff);
}

/* Header */
.kgt-booking-header {
    text-align: center;
    margin-bottom: 2rem;
}
.kgt-booking-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    font-family: var(--kt-ff) !important;
    color: var(--kt-gray-900) !important;
    margin: 0 0 .4rem !important;
}
.kgt-booking-subtitle {
    font-size: 14px;
    color: var(--kt-gray-500);
    margin: 0;
}

/* Step header */
.kgt-step-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}
.kgt-step-number {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kt-primary);
    color: var(--kt-white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
.kgt-step-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--kt-gray-900);
}

/* Service cards (Transfer / Car Rental) */
.kgt-service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.kgt-service-card {
    background: var(--kt-white);
    border: 2px solid var(--kt-gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}
.kgt-service-card:hover {
    border-color: var(--kt-primary);
    box-shadow: 0 4px 16px rgba(22,95,166,.1);
}
.kgt-service-card--selected {
    border-color: var(--kt-primary) !important;
    background: var(--kt-blue-50, #eff6ff) !important;
    box-shadow: 0 4px 16px rgba(22,95,166,.12);
}
.kgt-service-card--selected::after {
    content: '✓';
    position: absolute;
    top: .6rem;
    right: .6rem;
    width: 22px;
    height: 22px;
    background: var(--kt-primary);
    color: var(--kt-white);
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.kgt-service-icon {
    font-size: 24px;
    color: var(--kt-primary);
    margin-bottom: .6rem;
}
.kgt-service-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-gray-900);
    margin: 0 0 .3rem;
    font-family: var(--kt-ff);
}
.kgt-service-card p {
    font-size: 12px;
    color: var(--kt-gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Buttons */
.kgt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem 1.5rem;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--kt-ff);
    border-radius: var(--kt-r-full);
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    line-height: 1.4;
}
.kgt-btn--primary {
    background: var(--kt-primary) !important;
    color: var(--kt-white) !important;
}
.kgt-btn--primary:hover {
    background: var(--kt-primary-dark, #124f8a) !important;
    transform: translateY(-1px);
}
.kgt-btn--outline {
    background: var(--kt-white) !important;
    color: var(--kt-gray-700) !important;
    border: 1px solid var(--kt-gray-300) !important;
}
.kgt-btn--outline:hover {
    border-color: var(--kt-primary) !important;
    color: var(--kt-primary) !important;
    background: var(--kt-blue-50, #eff6ff) !important;
}

/* Step actions */
.kgt-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--kt-gray-100);
}

/* Form grid */
.kgt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.kgt-form-group--full {
    grid-column: 1 / -1;
}
.kgt-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--kt-gray-700);
    margin-bottom: .3rem;
    font-family: var(--kt-ff);
}
.kgt-required {
    color: #ef4444;
}

/* Input with icon */
.kgt-input-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.kgt-input-icon i {
    position: absolute;
    left: .85rem;
    color: var(--kt-gray-400);
    font-size: 13px;
    z-index: 1;
    pointer-events: none;
}
.kgt-input-icon input,
.kgt-input-icon select {
    width: 100%;
    padding: .65rem .85rem .65rem 2.5rem;
    border: 1px solid var(--kt-gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--kt-ff);
    color: var(--kt-gray-800);
    background: var(--kt-white);
    transition: border-color .2s, box-shadow .2s;
    height: 42px;
}
.kgt-input-icon input:focus,
.kgt-input-icon select:focus {
    outline: none;
    border-color: var(--kt-primary);
    box-shadow: 0 0 0 3px rgba(22,95,166,.08);
}
.kgt-form-group textarea {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--kt-gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--kt-ff);
    color: var(--kt-gray-800);
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}
.kgt-form-group textarea:focus {
    outline: none;
    border-color: var(--kt-primary);
    box-shadow: 0 0 0 3px rgba(22,95,166,.08);
}

/* Vehicle grid */
.kgt-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.kgt-vehicle-card {
    background: var(--kt-white);
    border: 2px solid var(--kt-gray-200);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}
.kgt-vehicle-card:hover {
    border-color: var(--kt-primary);
    box-shadow: 0 4px 16px rgba(22,95,166,.1);
}
.kgt-vehicle-card--selected,
.kgt-vehicle-card:has(.kgt-vehicle-radio:checked) {
    border-color: var(--kt-primary) !important;
    background: var(--kt-blue-50, #eff6ff) !important;
}
.kgt-vehicle-image {
    height: 130px;
    overflow: hidden;
    background: var(--kt-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
}
.kgt-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kgt-vehicle-image--placeholder i {
    font-size: 2.5rem;
    color: var(--kt-gray-300);
}
.kgt-vehicle-info {
    padding: .85rem;
}
.kgt-vehicle-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--kt-gray-900);
    margin: 0 0 .4rem;
    font-family: var(--kt-ff);
}
.kgt-vehicle-meta {
    display: flex;
    gap: .75rem;
    font-size: 12px;
    color: var(--kt-gray-500);
    margin-bottom: .5rem;
}
.kgt-vehicle-meta i {
    margin-right: .2rem;
}
.kgt-vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: .5rem;
}
.kgt-feature-tag {
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: .15rem .4rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
}
.kgt-feature-tag i {
    font-size: 8px;
}
.kgt-vehicle-price {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    margin-top: .4rem;
}
.kgt-price-label {
    font-size: 10px;
    color: var(--kt-gray-400);
    text-transform: uppercase;
}
.kgt-price-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--kt-gray-900);
    font-family: var(--kt-ff);
}
.kgt-vehicle-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Progress indicator */
.kgt-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--kt-gray-100);
}
.kgt-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    cursor: pointer;
    min-width: 60px;
}
.kgt-progress-dot {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--kt-gray-100);
    color: var(--kt-gray-500);
    font-size: 12px;
    font-weight: 700;
    transition: all .2s;
    border: 2px solid var(--kt-gray-200);
}
.kgt-progress-step--active .kgt-progress-dot,
.kgt-progress-step--done .kgt-progress-dot {
    background: var(--kt-primary);
    color: var(--kt-white);
    border-color: var(--kt-primary);
}
.kgt-progress-text {
    font-size: 10px;
    font-weight: 600;
    color: var(--kt-gray-400);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.kgt-progress-step--active .kgt-progress-text {
    color: var(--kt-primary);
}
.kgt-progress-line {
    flex: 1;
    height: 2px;
    background: var(--kt-gray-200);
    margin: 0 .5rem;
    margin-bottom: 1.2rem;
}

/* Booking summary */
.kgt-booking-summary {
    background: var(--kt-gray-50);
    border: 1px solid var(--kt-gray-200);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}
.kgt-booking-summary h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-gray-900);
    margin: 0 0 1rem;
    font-family: var(--kt-ff);
}
.kgt-summary-grid {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.kgt-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: .35rem 0;
    border-bottom: 1px solid var(--kt-gray-100);
}
.kgt-summary-item:last-child {
    border-bottom: none;
}
.kgt-summary-label {
    color: var(--kt-gray-500);
    font-weight: 500;
}
.kgt-summary-value {
    color: var(--kt-gray-800);
    font-weight: 600;
}
.kgt-summary-item--total {
    padding-top: .75rem;
    border-top: 2px solid var(--kt-gray-200);
    border-bottom: none;
}
.kgt-summary-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--kt-primary) !important;
}

/* Success message */
.kgt-success-message {
    text-align: center;
    padding: 3rem 1.5rem;
}
.kgt-success-icon {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 1rem;
}
.kgt-success-message h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--kt-gray-900);
    margin: 0 0 .5rem;
    font-family: var(--kt-ff);
}
.kgt-success-text {
    font-size: 14px;
    color: var(--kt-gray-600);
    margin: 0 0 .5rem;
}
.kgt-booking-ref {
    font-size: 14px;
    color: var(--kt-gray-700);
    margin: 0 0 1.5rem;
}

/* Responsive */
@media (max-width: 640px) {
    .kgt-service-options {
        grid-template-columns: 1fr;
    }
    .kgt-form-grid {
        grid-template-columns: 1fr;
    }
    .kgt-vehicles-grid {
        grid-template-columns: 1fr;
    }
    .kgt-step-actions {
        flex-direction: column;
        gap: .75rem;
    }
    .kgt-step-actions .kgt-btn {
        width: 100%;
    }
}

/* ==========================================================================
   KGT DASHBOARD — Kemet Theme Override
   ========================================================================== */

.kgt-dash {
    font-family: var(--kt-ff);
}

/* Layout */
.kgt-dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 70vh;
    border: 1px solid var(--kt-gray-200);
    border-radius: 12px;
    overflow: hidden;
    background: var(--kt-white);
}

/* Sidebar */
.kgt-dash-sidebar {
    background: linear-gradient(180deg, #0c1222 0%, #1a3a5c 100%);
    color: var(--kt-white);
    display: flex;
    flex-direction: column;
    padding: 0;
}
.kgt-dash-brand {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.kgt-dash-brand i {
    font-size: 18px;
    color: var(--kt-accent);
}
.kgt-dash-nav {
    flex: 1;
    padding: .75rem 0;
}
.kgt-dash-nav-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1.25rem;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    transition: all .2s;
    border-left: 3px solid transparent;
}
.kgt-dash-nav-item:hover {
    color: var(--kt-white);
    background: rgba(255,255,255,.06);
}
.kgt-dash-nav-item--active {
    color: var(--kt-white) !important;
    background: rgba(255,255,255,.1) !important;
    border-left-color: var(--kt-accent) !important;
    font-weight: 600;
}
.kgt-dash-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 13px;
}
.kgt-dash-user {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Main content */
.kgt-dash-main {
    padding: 0;
    background: var(--kt-gray-50);
}
.kgt-dash-topbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.5rem;
    background: var(--kt-white);
    border-bottom: 1px solid var(--kt-gray-200);
}
.kgt-dash-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--kt-gray-200);
    border-radius: 6px;
    padding: .4rem .6rem;
    cursor: pointer;
    font-size: 14px;
    color: var(--kt-gray-600);
}
.kgt-dash-page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kt-gray-900);
    margin: 0;
    font-family: var(--kt-ff);
}
.kgt-dash-tab {
    padding: 1.5rem;
}

/* Stat cards */
.kgt-dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.kgt-stat-card {
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    transition: box-shadow .2s;
}
.kgt-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.kgt-stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
    background: #fef3c7;
    color: #d97706;
}
.kgt-stat-icon--blue { background: #eff6ff; color: #2563eb; }
.kgt-stat-icon--orange { background: #fff7ed; color: #ea580c; }
.kgt-stat-icon--green { background: #ecfdf5; color: #059669; }
.kgt-stat-icon--purple { background: #faf5ff; color: #7c3aed; }
.kgt-stat-info {
    display: flex;
    flex-direction: column;
}
.kgt-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--kt-gray-900);
    line-height: 1.1;
    font-family: var(--kt-ff);
}
.kgt-stat-label {
    font-size: 11px;
    color: var(--kt-gray-500);
    font-weight: 500;
}

/* Toolbar */
.kgt-dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.kgt-dash-filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.kgt-dash-input,
.kgt-dash-select {
    padding: .5rem .75rem;
    border: 1px solid var(--kt-gray-200);
    border-radius: 8px;
    font-size: 12px;
    font-family: var(--kt-ff);
    background: var(--kt-white);
    color: var(--kt-gray-800);
    height: 36px;
    transition: border-color .2s;
}
.kgt-dash-input:focus,
.kgt-dash-select:focus {
    outline: none;
    border-color: var(--kt-primary);
    box-shadow: 0 0 0 3px rgba(22,95,166,.08);
}
.kgt-btn--sm {
    padding: .4rem 1rem !important;
    font-size: 12px !important;
}

/* Tables */
.kgt-dash-table-wrap {
    overflow-x: auto;
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: 10px;
}
.kgt-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.kgt-dash-table th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--kt-gray-500);
    padding: .75rem 1rem;
    background: var(--kt-gray-50);
    border-bottom: 1px solid var(--kt-gray-200);
    white-space: nowrap;
}
.kgt-dash-table td {
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--kt-gray-100);
    color: var(--kt-gray-700);
    vertical-align: middle;
}
.kgt-dash-table tr:last-child td {
    border-bottom: none;
}
.kgt-dash-table tr:hover td {
    background: var(--kt-gray-50);
}

/* Dashboard cards (vehicles grid) */
.kgt-dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.kgt-dash-card {
    background: var(--kt-white);
    border: 1px solid var(--kt-gray-200);
    border-radius: 10px;
    padding: 1.25rem;
}
.kgt-dash-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--kt-gray-900);
    margin: 0 0 .75rem;
    font-family: var(--kt-ff);
}
.kgt-dash-card p {
    font-size: 13px;
    color: var(--kt-gray-600);
    margin: 0 0 .5rem;
}
.kgt-dash-card code {
    background: var(--kt-gray-50);
    border: 1px solid var(--kt-gray-200);
    border-radius: 4px;
    padding: .15rem .4rem;
    font-size: 12px;
    color: var(--kt-primary);
}

/* Pagination */
.kgt-dash-pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
}

/* Modal */
.kgt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
    backdrop-filter: blur(2px);
}
.kgt-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--kt-white);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    z-index: 9999;
    width: 90%;
    max-width: 640px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.kgt-modal-content--wide {
    max-width: 720px;
}
.kgt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--kt-gray-200);
}
.kgt-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    font-family: var(--kt-ff);
}
.kgt-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--kt-gray-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.kgt-modal-close:hover {
    color: var(--kt-gray-700);
}
.kgt-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.kgt-modal-body input,
.kgt-modal-body select,
.kgt-modal-body textarea {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--kt-gray-200);
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--kt-ff);
    color: var(--kt-gray-800);
    transition: border-color .2s;
}
.kgt-modal-body input:focus,
.kgt-modal-body select:focus,
.kgt-modal-body textarea:focus {
    outline: none;
    border-color: var(--kt-primary);
    box-shadow: 0 0 0 3px rgba(22,95,166,.08);
}
.kgt-modal-body label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--kt-gray-700);
    margin-bottom: .25rem;
}
.kgt-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--kt-gray-200);
}

/* Image preview */
.kgt-image-preview {
    margin-bottom: .5rem;
}
.kgt-image-preview img {
    max-width: 200px;
    border-radius: 8px;
    border: 1px solid var(--kt-gray-200);
}

/* Invoice */
.kgt-inv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.kgt-inv-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--kt-gray-900);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--kt-ff);
}
.kgt-inv-number {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--kt-gray-500);
}
.kgt-inv-table {
    width: 100%;
    font-size: 13px;
}
.kgt-inv-table th {
    text-align: left;
    font-weight: 600;
    color: var(--kt-gray-600);
    padding: .5rem 0;
    width: 35%;
}
.kgt-inv-table td {
    padding: .5rem 0;
    color: var(--kt-gray-800);
}
.kgt-inv-total-row th,
.kgt-inv-total-row td {
    font-size: 16px;
    font-weight: 800;
    color: var(--kt-primary);
    padding-top: 1rem;
}
.kgt-inv-footer {
    text-align: center;
    font-size: 11px;
    color: var(--kt-gray-400);
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--kt-gray-100);
}

/* Dashboard responsive */

/* Dashboard action buttons */
.kgt-dash-table .kgt-btn,
.kgt-dash-table button,
.kgt-dash-table a.kgt-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: .35rem .85rem !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    font-family: var(--kt-ff) !important;
    border-radius: 6px !important;
    border: 1px solid var(--kt-gray-200) !important;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    margin: 2px;
}
.kgt-dash-table .kgt-btn--edit,
.kgt-dash-table button[data-action="edit"],
.kgt-dash-table .kgt-action-edit {
    background: var(--kt-white) !important;
    color: var(--kt-primary) !important;
    border-color: var(--kt-primary) !important;
}
.kgt-dash-table .kgt-btn--edit:hover,
.kgt-dash-table button[data-action="edit"]:hover,
.kgt-dash-table .kgt-action-edit:hover {
    background: var(--kt-blue-50, #eff6ff) !important;
}
.kgt-dash-table .kgt-btn--delete,
.kgt-dash-table button[data-action="delete"],
.kgt-dash-table .kgt-action-delete {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}
.kgt-dash-table .kgt-btn--delete:hover,
.kgt-dash-table button[data-action="delete"]:hover,
.kgt-dash-table .kgt-action-delete:hover {
    background: #fee2e2 !important;
    border-color: #dc2626 !important;
}
.kgt-dash-table .kgt-btn--invoice,
.kgt-dash-table button[data-action="invoice"],
.kgt-dash-table .kgt-action-invoice {
    background: var(--kt-white) !important;
    color: var(--kt-gray-700) !important;
    border-color: var(--kt-gray-300) !important;
}
.kgt-dash-table .kgt-btn--invoice:hover,
.kgt-dash-table button[data-action="invoice"]:hover,
.kgt-dash-table .kgt-action-invoice:hover {
    background: var(--kt-gray-50) !important;
    color: var(--kt-gray-900) !important;
}

/* Status toggle switch styling */
.kgt-dash-table input[type="checkbox"],
.kgt-dash-table .kgt-status-toggle {
    accent-color: var(--kt-primary);
}

/* Status badges */
.kgt-status-badge,
.kgt-dash-table .kgt-badge {
    display: inline-block;
    padding: .2rem .6rem;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--kt-r-full);
    text-transform: capitalize;
}
.kgt-status-badge--pending,
.kgt-badge--pending {
    background: #fef3c7;
    color: #92400e;
}
.kgt-status-badge--confirmed,
.kgt-badge--confirmed {
    background: #dbeafe;
    color: #1e40af;
}
.kgt-status-badge--completed,
.kgt-badge--completed {
    background: #dcfce7;
    color: #166534;
}
.kgt-status-badge--cancelled,
.kgt-badge--cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Type badges */
.kgt-type-badge,
.kgt-dash-table .kgt-type {
    display: inline-block;
    padding: .2rem .6rem;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--kt-r-full);
    text-transform: capitalize;
}

/* Catch-all: ensure ALL buttons inside actions column are visible */
.kgt-dash-table td:last-child button,
.kgt-dash-table td:last-child a,
.kgt-dash-table td:last-child .btn,
.kgt-dash-table td button,
.kgt-dash-table td a.btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 11px !important;
    padding: .35rem .85rem !important;
    border-radius: 6px !important;
    font-family: var(--kt-ff) !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-decoration: none;
    margin: 2px;
    line-height: 1.4;
    border: 1px solid var(--kt-gray-200) !important;
    transition: all .2s;
}

/* Confirm / Success button */
.kgt-btn--success,
.kgt-bk-confirm {
    background: #059669 !important;
    color: #fff !important;
    border-color: #059669 !important;
}
.kgt-btn--success:hover,
.kgt-bk-confirm:hover {
    background: #047857 !important;
    border-color: #047857 !important;
}

/* Invoice / Info button */
.kgt-btn--info,
.kgt-bk-inv {
    background: var(--kt-white) !important;
    color: var(--kt-gray-600) !important;
    border-color: var(--kt-gray-300) !important;
}
.kgt-btn--info:hover,
.kgt-bk-inv:hover {
    background: var(--kt-gray-50) !important;
    color: var(--kt-gray-900) !important;
    border-color: var(--kt-gray-400) !important;
}

/* Extra small size used by dashboard */
.kgt-btn--xs {
    padding: .3rem .7rem !important;
    font-size: 11px !important;
}

/* Danger button */
.kgt-btn--danger,
.kgt-bk-del {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}
.kgt-btn--danger:hover,
.kgt-bk-del:hover {
    background: #fee2e2 !important;
    border-color: #dc2626 !important;
}

@media (max-width: 768px) {
    .kgt-dash-layout {
        grid-template-columns: 1fr;
    }
    .kgt-dash-sidebar {
        display: none;
    }
    .kgt-dash-sidebar.kgt-dash-sidebar--open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        z-index: 1000;
    }
    .kgt-dash-menu-toggle {
        display: flex;
    }
    .kgt-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
