:root {
    --tc-orange: #f77e21;
    --tc-orange-dark: #e56f15;
    --tc-orange-soft: #fff4eb;
    --tc-black: #111827;
    --tc-gray-50: #f8fafc;
    --tc-gray-100: #f1f5f9;
    --tc-gray-200: #e2e8f0;
    --tc-gray-500: #64748b;
    --tc-gray-700: #334155;
    --tc-radius: 16px;
    --tc-radius-lg: 20px;
    --tc-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --tc-shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
    --tc-page-gutter: 1.25rem;
    --tc-page-top: 1.5rem;
    --tc-content-max: 1180px;
}

body.tc-body {
    background: linear-gradient(165deg, #eef2f7 0%, #e9eef5 40%, #eceff3 100%);
    background-attachment: fixed;
    color: var(--tc-black);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.tc-app-modern > .tc-topbar {
    max-width: var(--tc-content-max);
    width: calc(100% - (var(--tc-page-gutter) * 2));
    margin: var(--tc-page-top) auto 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--tc-radius-lg);
    box-shadow: var(--tc-shadow-soft);
}

.tc-page-wrap {
    min-height: 100vh;
    padding: var(--tc-page-top) 0 2.5rem;
}

body.tc-app-modern > .tc-page-wrap {
    padding-top: 1rem;
}

.tc-page-banner {
    max-width: var(--tc-content-max);
    width: calc(100% - (var(--tc-page-gutter) * 2));
    margin: 0 auto 1.25rem;
    padding: 2rem 2rem 1.35rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--tc-radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--tc-shadow-soft);
}

.tc-page-banner .container {
    max-width: 100%;
    padding: 0;
}

.tc-page-banner h1 {
    color: var(--tc-orange);
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.tc-page-banner p {
    color: var(--tc-gray-500);
    max-width: 720px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.tc-shell {
    max-width: var(--tc-content-max);
    margin: 0 auto 2rem;
    padding: 0 var(--tc-page-gutter);
}

.tc-card {
    background: #fff;
    border-radius: var(--tc-radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--tc-shadow);
    overflow: hidden;
}

.tc-card-inner {
    padding: 2rem 2.25rem 2.5rem;
}

.tc-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--tc-gray-100);
    flex-wrap: wrap;
}

.tc-page-wrap > .tc-topbar {
    max-width: var(--tc-content-max);
    width: calc(100% - (var(--tc-page-gutter) * 2));
    margin: 0 auto 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--tc-radius-lg);
    box-shadow: var(--tc-shadow-soft);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.tc-card > .tc-topbar {
    background: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--tc-gray-100);
    box-shadow: none;
    backdrop-filter: none;
    margin: 0;
    width: 100%;
    padding: 1.15rem 1.75rem;
}

.tc-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--tc-black);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.tc-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tc-orange), #ffb347);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.tc-brand-text span {
    color: var(--tc-orange);
}

.tc-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: 0.5rem;
}

.tc-nav-links a {
    color: var(--tc-gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
}

.tc-nav-links a:hover,
.tc-nav-links a.active {
    color: var(--tc-orange);
}

.tc-topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tc-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--tc-gray-200);
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    color: var(--tc-gray-700);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.tc-btn-dark {
    background: var(--tc-black);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-btn-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.2);
}

.tc-btn-outline {
    border: 1px solid var(--tc-black);
    color: var(--tc-black);
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tc-btn-orange {
    background: var(--tc-orange);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.tc-btn-orange:hover {
    background: #e56f12;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(247, 126, 33, 0.35);
}

.tc-btn-light {
    background: #fff;
    color: var(--tc-black);
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}

.tc-btn-light:hover {
    background: #f3f4f6;
    color: var(--tc-black);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.12);
}

.tc-hamburger {
    border: none;
    background: transparent;
    color: var(--tc-orange);
    font-size: 1.35rem;
    padding: 0.25rem;
    line-height: 1;
}

.tc-section-title {
    color: var(--tc-orange);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--tc-gray-100);
}

.tc-auth-tabs,
.tc-role-tabs {
    display: flex;
    gap: 0;
    background: #f3f4f6;
    border-radius: 0;
    overflow: hidden;
}

.tc-auth-tabs a,
.tc-role-tabs a {
    flex: 1;
    text-align: center;
    padding: 0.85rem 0.75rem;
    text-decoration: none;
    color: var(--tc-gray-700);
    font-weight: 700;
    font-size: 0.875rem;
    background: #ececec;
    border-bottom: 3px solid transparent;
}

.tc-auth-tabs a.active,
.tc-role-tabs a.active {
    background: #fff;
    color: var(--tc-orange);
    border-bottom-color: var(--tc-orange);
}

.tc-auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.tc-auth-illustration {
    text-align: center;
    padding: 1rem;
}

.tc-auth-illustration-box {
    background: linear-gradient(180deg, #fff7ef 0%, #fff 100%);
    border-radius: 18px;
    padding: 2rem 1rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tc-auth-illustration-box i {
    font-size: 5rem;
    color: var(--tc-orange);
    opacity: 0.85;
    margin-bottom: 1rem;
}

.tc-form-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--tc-gray-700);
    margin-bottom: 0.35rem;
}

.tc-input,
.tc-select {
    width: 100%;
    border: 1px solid var(--tc-gray-200);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.9375rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-input:focus,
.tc-select:focus {
    outline: none;
    border-color: var(--tc-orange);
    box-shadow: 0 0 0 3px rgba(247, 126, 33, 0.15);
}

.tc-btn-submit {
    background: var(--tc-black);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tc-stat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tc-stat-tile {
    background: linear-gradient(135deg, var(--tc-orange) 0%, #ff9f43 100%);
    color: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    box-shadow: 0 8px 24px rgba(247, 126, 33, 0.25);
    transition: transform 0.15s ease;
}

.tc-stat-tile:hover {
    transform: translateY(-2px);
    color: #fff;
}

.tc-stat-tile.alt {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.tc-stat-tile h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.tc-stat-tile .value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.tc-stat-tile i.arrow {
    font-size: 1.25rem;
    opacity: 0.9;
}

.tc-table {
    width: 100%;
    border-collapse: collapse;
}

.tc-table thead th {
    background: var(--tc-gray-50);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tc-gray-500);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tc-gray-200);
    font-weight: 700;
}

.tc-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tc-gray-100);
    vertical-align: middle;
}

.tc-table tbody tr:hover {
    background: var(--tc-gray-50);
}

.tc-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--tc-gray-100);
    border-radius: 14px;
    background: #fff;
}

.tc-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: end;
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.35rem;
    background: var(--tc-gray-50);
    border-radius: 14px;
    border: 1px solid var(--tc-gray-100);
}

.tc-footer {
    background: var(--tc-black);
    color: #cbd5e1;
    padding: 2.75rem 0 1.75rem;
    margin-top: 2.5rem;
    border-radius: var(--tc-radius-lg) var(--tc-radius-lg) 0 0;
}

.tc-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.tc-footer a:not(.tc-app-download-btn):not(.tc-btn-dark):not(.tc-btn-outline):not(.tc-btn-orange):not(.tc-btn-light) {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}

.tc-footer a:not(.tc-app-download-btn):not(.tc-btn-dark):not(.tc-btn-outline):not(.tc-btn-orange):not(.tc-btn-light):hover {
    color: var(--tc-orange);
}

.tc-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

.tc-drawer-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.tc-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: #fff;
    z-index: 1050;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.tc-drawer.open {
    transform: translateX(0);
}

.tc-drawer-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--tc-gray-100);
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.tc-drawer-nav {
    list-style: none;
    padding: 0.75rem;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.tc-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--tc-gray-700);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tc-drawer-nav a.active {
    background: var(--tc-orange);
    color: #fff;
}

.tc-drawer-nav a i {
    width: 1.25rem;
    text-align: center;
}

.tc-drawer-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tc-drawer-nav a.active .tc-drawer-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.tc-drawer-icon-orange { background: #ffedd5; color: #ea580c; }
.tc-drawer-icon-blue { background: #dbeafe; color: #2563eb; }
.tc-drawer-icon-green { background: #d1fae5; color: #059669; }
.tc-drawer-icon-purple { background: #ede9fe; color: #7c3aed; }
.tc-drawer-icon-teal { background: #ccfbf1; color: #0d9488; }
.tc-drawer-icon-rose { background: #ffe4e6; color: #e11d48; }

.tc-landing-search {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--tc-shadow);
    padding: 1rem;
    margin-top: 2rem;
}

.tc-landing-search .tc-input {
    border: none;
    background: var(--tc-gray-50);
}

.tc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.tc-step {
    text-align: center;
    padding: 1.25rem 1rem;
}

.tc-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.tc-geocode-list {
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 8px;
    box-shadow: var(--tc-shadow);
    max-height: 220px;
    overflow-y: auto;
    margin-top: 0.25rem;
}

.tc-geocode-list button {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
}

.tc-geocode-list button:hover {
    background: var(--tc-gray-50);
}

.tc-field-wrap {
    position: relative;
}

.tc-hero-landing {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 247, 239, 0.85) 100%);
    padding: 3rem 0 3.5rem;
    margin-bottom: 0.5rem;
}

.tc-hero-landing h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
}

.tc-hero-landing .lead {
    color: var(--tc-gray-500);
    font-size: 1.1rem;
}

.tc-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.tc-service-item {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--tc-gray-100);
}

.tc-service-item i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.tc-doc-card {
    border: 1px solid var(--tc-gray-200);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.tc-doc-card-header {
    background: var(--tc-orange);
    color: var(--tc-black);
    font-weight: 700;
    font-style: italic;
    padding: 0.65rem 1rem;
}

.tc-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tc-profile-item i {
    color: var(--tc-black);
    margin-right: 0.5rem;
}

.tc-booking-layout {
    display: grid;
    grid-template-columns: 340px 1fr 1fr;
    gap: 1.25rem;
    min-height: 520px;
}

.tc-map-placeholder {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border-radius: 12px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-gray-500);
    font-weight: 600;
}

@media (max-width: 991px) {
    .tc-auth-split,
    .tc-booking-layout {
        grid-template-columns: 1fr;
    }

    .tc-nav-links {
        display: none;
    }
}

.tc-vehicle-option {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    border-radius: 14px !important;
}

.tc-vehicle-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.tc-vehicle-option.selected,
.tc-vehicle-option:has(input:checked) {
    border-color: var(--tc-orange) !important;
    box-shadow: 0 0 0 1px var(--tc-orange);
}

.tc-invoice-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid var(--tc-gray-100);
}

.tc-invoice-details {
    background: var(--tc-gray-50);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
}

.tc-detail-row {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.tc-detail-row i {
    width: 1.25rem;
    margin-top: 0.15rem;
    color: var(--tc-black);
}

.tc-detail-row small {
    display: block;
    color: var(--tc-gray-500);
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
}

.tc-ai-banner {
    background: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #166534;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* App-wide modern polish */
body.tc-app-modern .tc-card-inner,
body.tc-portal-modern .tc-card-inner {
    padding: 2rem 2.25rem 2.5rem;
}

body.tc-app-modern .tc-page-banner h1,
body.tc-portal-modern .tc-page-banner h1 {
    letter-spacing: -0.025em;
}

@media (max-width: 767px) {
    :root {
        --tc-page-top: 1rem;
        --tc-page-gutter: 1rem;
    }

    .tc-page-banner {
        padding: 1.5rem 1.35rem 1.15rem;
    }

    .tc-card-inner {
        padding: 1.35rem 1.25rem 1.75rem;
    }

    body.tc-app-modern .tc-card-inner,
    body.tc-portal-modern .tc-card-inner {
        padding: 1.35rem 1.25rem 1.75rem;
    }

    .tc-card > .tc-topbar {
        padding: 0.95rem 1.15rem;
    }

    .tc-auth-inner {
        padding: 1.35rem 1.25rem 1.75rem;
    }
}

/* Fleet / portal modernization */
body.tc-portal-modern .tc-card-inner {
    padding: 1.75rem 2rem 2.25rem;
}

body.tc-portal-modern .tc-page-banner {
    padding: 2rem 2rem 1.35rem;
}

.tc-page-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tc-search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.tc-search-bar i {
    color: var(--tc-gray-500);
}

.tc-table-modern {
    background: #fff;
    border: 1px solid var(--tc-gray-100);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.tc-table-modern .tc-table thead th {
    padding: 1rem 1.25rem;
    font-size: 0.6875rem;
}

.tc-table-modern .tc-table tbody td {
    padding: 1.1rem 1.25rem;
}

.tc-table-modern .tc-table tbody tr:hover {
    background: var(--tc-gray-50);
}

.tc-toolbar-modern {
    border: 1px solid var(--tc-gray-100);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.tc-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--tc-gray-200);
    background: #fff;
    color: var(--tc-black);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.tc-icon-action:hover {
    background: var(--tc-gray-50);
    color: var(--tc-black);
}

.tc-icon-action.danger:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.tc-cell-stack {
    min-width: 220px;
    font-size: 0.875rem;
    line-height: 1.45;
}

.tc-cell-stack > div + div {
    margin-top: 0.5rem;
}

.tc-profile-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--tc-orange-soft) 100%);
    border: 1px solid var(--tc-gray-100);
    border-radius: 16px;
    margin-bottom: 1.75rem;
}

.tc-profile-avatar {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tc-orange), #ffb347);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(247, 126, 33, 0.3);
}

.tc-profile-avatar-edit {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tc-black);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-decoration: none;
}

.tc-profile-grid-modern .tc-profile-item {
    background: #fff;
    border: 1px solid var(--tc-gray-100);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.tc-doc-card-modern {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    border: none;
}

.tc-doc-card-body {
    padding: 1.35rem;
}

.tc-doc-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--tc-gray-100);
    margin-bottom: 1rem;
}

.tc-doc-preview-placeholder {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-gray-500);
    background: var(--tc-gray-50);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.tc-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tc-badge-under_review,
.tc-badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.tc-badge-approved {
    background: #dcfce7;
    color: #166534;
}

.tc-badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.tc-auth-inner {
    padding: 2rem 2.25rem 2.5rem;
}

.cms-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--tc-gray-700);
}

.cms-content p {
    margin-bottom: 1rem;
}

.tc-status-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tc-gray-100);
    color: var(--tc-gray-500);
}

.tc-status-dot.active {
    background: #dcfce7;
    color: #15803d;
}

.tc-booking-layout-modern {
    gap: 1.25rem;
}

.tc-booking-panel {
    background: var(--tc-gray-50);
    border: 1px solid var(--tc-gray-100);
    border-radius: 14px;
    padding: 1.35rem;
}

.tc-hero-badge {
    display: inline-block;
    background: var(--tc-orange-soft);
    color: var(--tc-orange);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.tc-section-soft {
    background: var(--tc-gray-50);
}

.tc-ride-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.tc-ride-type-card {
    display: block;
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 14px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-ride-type-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tc-shadow-soft);
    color: inherit;
}

.tc-ride-type-card i {
    font-size: 1.35rem;
    color: var(--tc-orange);
    margin-bottom: 0.5rem;
}

.tc-ride-type-card h6 {
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.tc-ride-type-card p {
    font-size: 0.82rem;
    color: var(--tc-gray-500);
    margin: 0;
}

.tc-feature-panel {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--tc-gray-200);
    padding: 2rem;
    text-align: center;
}

.tc-feature-panel i {
    font-size: 2.5rem;
    color: var(--tc-orange);
    margin-bottom: 1rem;
}

.tc-cta-card {
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
}

.tc-cta-card-dark {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    border: none;
}

.tc-cta-card-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.tc-register-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 14px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    min-height: 120px;
    justify-content: center;
}

.tc-register-card:hover {
    border-color: var(--tc-orange);
    color: var(--tc-orange);
}

.tc-register-card i {
    font-size: 1.5rem;
    color: var(--tc-orange);
}

.tc-newsletter-form .tc-input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.tc-newsletter-form .tc-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.tc-inline-form-row {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
}

.tc-inline-form-row .tc-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin-bottom: 0;
}

.tc-inline-form-row .tc-btn-orange,
.tc-inline-form-row .tc-btn-light,
.tc-inline-form-row .tc-btn-dark,
.tc-inline-form-row .tc-btn-outline {
    flex: 0 0 auto;
    align-self: stretch;
    white-space: nowrap;
}

/* On-map search + locate controls */
.tc-map-controls {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    width: min(460px, calc(100% - 110px));
    pointer-events: none;
}

.tc-map-controls-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    pointer-events: auto;
}

.tc-map-controls .tc-map-target {
    flex: 0 0 auto;
    border: none;
    border-radius: 10px;
    padding: 0 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff;
    color: var(--tc-gray-700);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.tc-map-controls .tc-map-search {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.tc-map-controls .tc-map-search:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 126, 33, 0.25), 0 2px 10px rgba(0, 0, 0, 0.18);
}

.tc-map-controls .tc-map-locate {
    flex: 0 0 auto;
    width: 44px;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: var(--tc-orange);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: background 0.15s ease, color 0.15s ease;
}

.tc-map-controls .tc-map-locate:hover {
    background: var(--tc-orange);
    color: #fff;
}

.tc-map-controls .tc-map-locate.loading {
    opacity: 0.7;
    cursor: progress;
}

.tc-map-controls .tc-map-locate svg {
    display: block;
    margin: 0 auto;
}

.tc-map-controls .tc-map-locate.loading svg {
    animation: tc-spin 0.8s linear infinite;
}

@keyframes tc-spin {
    to { transform: rotate(360deg); }
}

.tc-map-suggestions {
    margin-top: 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
    pointer-events: auto;
}

.tc-map-suggestions .tc-map-suggestion {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    color: var(--tc-gray-700);
    cursor: pointer;
    border-bottom: 1px solid var(--tc-gray-100);
}

.tc-map-suggestions .tc-map-suggestion:last-child {
    border-bottom: none;
}

.tc-map-suggestions .tc-map-suggestion:hover {
    background: var(--tc-gray-50);
}

.tc-app-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tc-app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 170px;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-app-download-btn i {
    font-size: 1.75rem;
    line-height: 1;
}

.tc-app-download-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.tc-app-download-btn small {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tc-app-download-btn strong {
    font-size: 1rem;
    font-weight: 800;
}

.tc-app-download-btn.store-ios {
    background: #fff;
    color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tc-app-download-btn.store-android {
    background: var(--tc-orange);
    color: #fff;
    border: 1px solid var(--tc-orange);
}

.tc-app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    color: inherit;
}

.tc-app-download-btn.store-ios:hover {
    color: #111827;
}

.tc-app-download-btn.store-android:hover {
    color: #fff;
    background: #e56f12;
}

.tc-app-store-buttons-hero .tc-app-download-btn {
    min-width: 190px;
    padding: 0.95rem 1.35rem;
}

@media (max-width: 575px) {
    .tc-inline-form-row {
        flex-direction: column;
    }

    .tc-inline-form-row .tc-btn-orange,
    .tc-inline-form-row .tc-btn-light {
        width: 100%;
    }

    .tc-app-store-buttons {
        flex-direction: column;
    }

    .tc-app-download-btn {
        width: 100%;
    }
}

.tc-locale-menu,
.tc-currency-menu {
    max-height: 320px;
    overflow-y: auto;
}

@media (max-width: 991px) {
    body.tc-portal-modern .tc-card-inner {
        padding: 1.25rem 1.25rem 1.75rem;
    }
}

.tc-fare-estimate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
}

.tc-fare-estimate-layout .tc-map-placeholder {
    min-height: 360px;
}

.tc-driver-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 220px;
    overflow-y: auto;
}

.tc-driver-item {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tc-driver-item:hover,
.tc-driver-item.selected {
    border-color: var(--tc-orange);
    box-shadow: 0 0 0 1px var(--tc-orange);
}

.tc-select-sm {
    min-width: 160px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    font-size: 0.9rem;
}

.tc-fare-summary .card-body {
    padding: 1.1rem 1.25rem;
}

@media (max-width: 991px) {
    .tc-fare-estimate-layout {
        grid-template-columns: 1fr;
    }
}

.tc-admin-login-page {
    min-height: 100vh;
    background: #0f172a;
}

.tc-admin-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 100vh;
}

.tc-admin-login-hero {
    color: #fff;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(247, 126, 33, 0.28), transparent 42%),
        linear-gradient(160deg, #111827 0%, #0f172a 55%, #1f2937 100%);
}

.tc-admin-login-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tc-admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.tc-admin-brand .tc-brand-icon {
    background: var(--tc-orange);
    color: #fff;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tc-admin-login-hero-body {
    margin: auto 0;
    max-width: 560px;
    padding: 2rem 0 4rem;
}

.tc-admin-login-kicker {
    color: var(--tc-orange);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.tc-admin-login-hero-body h1 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    font-weight: 900;
    margin: 0.75rem 0 1rem;
}

.tc-admin-login-lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    max-width: 520px;
}

.tc-admin-login-form-wrap {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.tc-admin-login-form-card {
    width: min(100%, 460px);
    margin: 0 auto;
}

.tc-admin-login-form-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.tc-admin-role-tabs a {
    font-size: 0.78rem;
    padding: 0.75rem 0.35rem;
}

.tc-admin-login-notice {
    width: min(100%, 460px);
    margin: 1.5rem auto 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.82rem;
}

.tc-admin-login-hero .tc-icon-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 991px) {
    .tc-admin-login-shell {
        grid-template-columns: 1fr;
    }

    .tc-admin-login-hero-body {
        padding-bottom: 1.5rem;
    }

    .tc-admin-login-form-wrap {
        padding: 1.5rem 1.25rem 2rem;
    }
}

/* Food menu qty stepper + cart */
.tc-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--tc-gray-200);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.tc-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--tc-gray-50);
    color: var(--tc-gray-700);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.tc-qty-btn:hover {
    background: var(--tc-orange-soft);
    color: var(--tc-orange);
}

.tc-qty-input {
    width: 36px;
    border: none;
    text-align: center;
    font-weight: 700;
    background: transparent;
    padding: 0;
}

.tc-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--tc-orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.tc-driver-color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 4px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.tc-sticky-panel {
    position: sticky;
    top: 1rem;
}

.tc-food-cart-bar {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 1300;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: min(420px, calc(100% - 2rem));
}

@media (max-width: 991px) {
    .tc-sticky-panel {
        position: static;
    }
}
