﻿:root {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #d7dbdf;
    --primary: #ff5e00;
    --secondary: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

html.dark-mode {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --border-color: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 94, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    padding-top: 0 !important;
    padding-bottom: 60px;
}

/* Dark Mode overrides */
html.dark-mode body {
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 94, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

html.dark-mode .info-pill {
    background: #151f32;
    border-color: #334155;
}

html.dark-mode .extra-actions-card {
    background-color: #151f32;
    border-color: #334155;
}

html.dark-mode .usta-note-box {
    background-color: #2c2018;
    color: #fdba74;
    border-left-color: var(--primary);
}

html.dark-mode .display-plaka {
    background: rgba(30, 41, 59, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f8fafc;
    border-color: rgba(248, 250, 252, 0.7);
}

html.dark-mode .bg-light {
    background-color: #151f32 !important;
}

html.dark-mode .text-dark {
    color: #f8fafc !important;
}

html.dark-mode .text-muted {
    color: #cbd5e1 !important;
}

.text-center.mb-4 img {
    transition: filter 0.3s ease;
}

html.dark-mode .text-center.mb-4 img {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1));
}

html.dark-mode .btn-close-cust {
    filter: invert(1) grayscale(1) brightness(2);
}

html.dark-mode .card {
    background-color: var(--bg-card);
    border-color: var(--border-color);
}

html.dark-mode .border {
    border-color: var(--border-color) !important;
}

html.dark-mode .timeline:before {
    background: #334155;
}

html.dark-mode .timeline-panel {
    background: var(--bg-card);
    border-color: var(--border-color);
}

html.dark-mode .img-thumbnail {
    background-color: #151f32;
    border-color: #334155;
}

html.dark-mode .alert-secondary {
    background-color: #151f32;
    border-color: #334155;
    color: #94a3b8;
}

html.dark-mode .badge.bg-light {
    background-color: #151f32 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html.dark-mode .badge.bg-secondary-subtle {
    background-color: rgba(148, 163, 184, 0.1) !important;
    color: #94a3b8 !important;
}

html.dark-mode .card-vehicle {
    background: var(--bg-card);
    border-color: var(--border-color);
}

html.dark-mode .floating-contact-panel {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.15);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-plaka {
    font-family: var(--font-title);
}

.card-vehicle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    overflow: visible;
}

.vehicle-cover-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    cursor: zoom-in;
    background-color: #f1f5f9;
}

.vehicle-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vehicle-cover-wrapper:hover .vehicle-cover-img {
    transform: scale(1.03);
}

.display-plaka {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #111827;
    padding: 6px 18px 6px 45px;
    border-radius: 6px;
    border: 1.5px solid #111827;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.display-plaka::before {
    content: "TR";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 32px;
    background: rgba(0, 51, 153, 0.88);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 10px 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 19px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, transparent, transparent 4px, var(--border-color) 4px, var(--border-color) 8px);
}

html.dark-mode .timeline:before {
    background: repeating-linear-gradient(to bottom, transparent, transparent 4px, #334155 4px, #334155 8px);
}

.timeline li {
    position: relative;
    margin-bottom: 36px;
    padding-left: 45px;
}

.timeline li:last-child {
    margin-bottom: 10px;
}

.timeline li .timeline-badge {
    position: absolute;
    top: 24px;
    left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.12);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline li:nth-child(even) .timeline-badge {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.timeline li:hover .timeline-badge {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 94, 0, 0.2);
}

.timeline li:nth-child(even):hover .timeline-badge {
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.2);
}

.timeline-panel {
    padding: 15px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.timeline-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(255, 94, 0, 0.2);
}

.timeline li:nth-child(even) .timeline-panel:hover {
    border-color: rgba(14, 165, 233, 0.2);
}

.service-badge {
    background: rgba(255, 94, 0, 0.04);
    color: var(--primary);
    border: 1px solid rgba(255, 94, 0, 0.08);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin: 4px;
    transition: all 0.2s ease;
}

.service-badge:hover {
    background: rgba(255, 94, 0, 0.08);
    border-color: rgba(255, 94, 0, 0.2);
    transform: translateY(-1px);
}

.timeline li:nth-child(even) .service-badge {
    background: rgba(14, 165, 233, 0.04);
    color: var(--secondary);
    border-color: rgba(14, 165, 233, 0.08);
}

.timeline li:nth-child(even) .service-badge:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}

.info-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.extra-actions-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.usta-note-box {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.03) 0%, rgba(255, 94, 0, 0.01) 100%);
    border-left: 4px solid var(--primary);
    color: #c2410c;
    padding: 16px 20px;
    border-radius: 12px;
    font-style: italic;
    position: relative;
}

html.dark-mode .usta-note-box {
    background: linear-gradient(135deg, rgba(253, 186, 116, 0.05) 0%, rgba(253, 186, 116, 0.01) 100%);
    color: #fdba74;
}

.timeline li:nth-child(even) .usta-note-box {
    border-left-color: var(--secondary);
    color: #0369a1;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(14, 165, 233, 0.01) 100%);
}

html.dark-mode .timeline li:nth-child(even) .usta-note-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0.01) 100%);
    color: #7dd3fc;
}

/* Timeline Typography & Layout Adjustments for Premium Refined Look */
.timeline-panel .service-km-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: var(--text-muted) !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.timeline-panel .service-km-val {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    font-family: var(--font-title);
    margin: 0 !important;
    line-height: 1.2 !important;
}

.timeline-panel .service-km-val span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
}

.timeline-panel .meta-info-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    padding: 8px 12px !important;
    background: rgba(15, 23, 42, 0.015) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    margin-bottom: 14px !important;
    font-size: 11px !important;
    color: var(--text-muted) !important;
}

html.dark-mode .timeline-panel .meta-info-row {
    background: rgba(255, 255, 255, 0.015) !important;
}

.timeline-panel .meta-info-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.timeline-panel .meta-info-item strong {
    font-weight: 600 !important;
    color: var(--text-main) !important;
}

.timeline-panel .section-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.timeline-panel .extra-actions-card {
    font-size: 11.5px !important;
    padding: 12px 14px !important;
}

.timeline-panel .usta-note-box {
    padding: 12px 16px !important;
}

.timeline-panel .usta-note-box p {
    font-size: 12px !important;
}

.timeline-panel .service-badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
}

/* Collapsible Timeline Body */
.timeline-body-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.timeline-body-collapsible.open {
    opacity: 1;
    margin-top: 16px;
}

.tl-toggle-btn,
.cust-details-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tl-toggle-btn:hover,
.cust-details-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 94, 0, 0.05);
}

.tl-toggle-btn.open,
.cust-details-toggle-btn.open {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 94, 0, 0.08);
}

.tl-toggle-btn i,
.cust-details-toggle-btn i {
    transition: transform 0.3s ease;
}

.tl-toggle-btn.open i,
.cust-details-toggle-btn.open i {
    transform: rotate(180deg);
}

/* Search Input Focus Style */
#timeline-search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.15) !important;
}

/* Yüzen Hızlı İletişim Balonları CSS */
.floating-contact-panel {
    position: fixed;
    bottom: 85px;
    /* Modified to stay clear of bottom tab bar */
    right: 25px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
}

.floating-contact-info {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 15px;
}

.floating-contact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.contact-btn.phone {
    background-color: #0284c7;
}

.contact-btn.phone:hover {
    background-color: #0369a1;
    transform: translateY(-2px) scale(1.05);
}

.contact-btn.whatsapp {
    background-color: #25d366;
}

.contact-btn.whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px) scale(1.05);
}

.contact-btn.email {
    background-color: #ea4335;
}

.contact-btn.email:hover {
    background-color: #d93025;
    transform: translateY(-2px) scale(1.05);
}

@keyframes bounceIn {
    0% {
        transform: translateY(100px) scale(0.5);
        opacity: 0;
    }

    70% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .floating-contact-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;
        justify-content: space-between;
        border-radius: 20px;
        padding: 12px 18px;
    }

    .floating-contact-info {
        flex-grow: 1;
        border-right: none;
        padding-right: 0;
    }
}

/* Lightbox Overlay Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(8, 12, 20, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

#lightboxCaption {
    margin: 15px auto 0 auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #94a3b8;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
}

/* Cust Vehicle Cover Header Styles */
.cust-vehicle-header {
    position: relative;
    width: 100%;
    height: 260px;
    background-color: #0f172a;
    background-image: linear-gradient(135deg, #1e293b, #0f172a);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 45px 20px;
    box-sizing: border-box;
    margin-bottom: 24px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.cust-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cust-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: space-between;
}

/* Glassmorphic Circle Buttons */
.cust-header-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cust-header-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.25);
}

.cust-header-btn i {
    font-size: 20px;
}

/* Shop Avatar */
.cust-shop-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.cust-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cust-shop-text-avatar {
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
}

/* Brand Logo Circle */
.brand-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.brand-logo-circle:active {
    transform: scale(0.92);
}

.brand-logo-circle img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.brand-logo-overlap-wrapper {
    position: absolute;
    top: 0;
    left: 24px;
    transform: translateY(-50%);
    z-index: 10;
}

/* Cust Shop Name in Header */
.cust-shop-name {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.cover-edit-btn {
    position: absolute;
    bottom: 55px;
    /* placed just above the overlapping card */
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cover-edit-btn:hover {
    background: rgba(15, 23, 42, 0.8);
    transform: scale(1.05);
}

.cover-edit-btn i {
    font-size: 18px;
}

/* Welcome Message Styles */
.cust-welcome-message {
    text-align: left;
}

.welcome-title-cust {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-name-cust {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Overlapping Vehicle Card */
.card-vehicle {
    margin-top: -45px;
    border-radius: 28px 28px 12px 12px !important;
    position: relative;
    z-index: 5;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color) !important;
}

/* Mobile Edge-to-Edge Layout */
@media (max-width: 768px) {
    .cust-vehicle-header {
        margin-left: -12px !important;
        margin-right: -12px !important;
        margin-top: -24px !important;
        /* offsets container py-4 */
        border-radius: 0 !important;
        width: calc(100% + 24px) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .cust-header-overlay {
        background: rgba(0, 0, 0, 0.4) !important;
    }

    #arac-kart {
        margin-left: -12px !important;
        margin-right: -12px !important;
        border-radius: 28px 28px 0 0 !important;
        width: calc(100% + 24px) !important;
        border: 1px solid var(--border-color) !important;
        border-bottom: none !important;
    }
}

/* Top Navbar Capsule Design - HIDE */
.mob-nav {
    display: none !important;
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    height: 54px;
    border: 2px solid transparent !important;
    border-radius: 27px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2);
    background-image: linear-gradient(#0f172a, #0f172a),
        conic-gradient(from var(--glow-angle), transparent 70%, var(--primary) 88%, #ffffff 95%, var(--primary) 98%, transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: rotate-glow 6s linear infinite;
}

html.dark-mode .mob-nav {
    background-image: linear-gradient(#1e293b, #1e293b),
        conic-gradient(from var(--glow-angle), transparent 70%, var(--primary) 88%, #ffffff 95%, var(--primary) 98%, transparent);
}

.mob-nav-brand {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 220px;
}

.mob-nav-brand span {
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
    display: inline-block;
}

.mob-nav-actions a {
    color: #ffffff;
    font-size: 18px;
    transition: opacity 0.2s;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mob-nav-actions a:active {
    opacity: 0.6;
}

@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-glow {
    to {
        --glow-angle: 360deg;
    }
}

/* Bottom Tab Bar Capsule/Dock Design */
.mob-tabbar {
    position: fixed;
    bottom: 10px;
    left: 13px;
    right: 13px;
    height: 54px;
    border: 2px solid transparent !important;
    border-radius: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.25);
    padding: 0 10px;
    background-image: linear-gradient(#0f172a, #0f172a),
        conic-gradient(from var(--glow-angle), transparent 70%, var(--primary) 88%, #ffffff 95%, var(--primary) 98%, transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: rotate-glow 6s linear infinite;
}

html.dark-mode .mob-tabbar {
    background-image: linear-gradient(#1e293b, #1e293b),
        conic-gradient(from var(--glow-angle), transparent 70%, var(--primary) 88%, #ffffff 95%, var(--primary) 98%, transparent);
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 600;
    width: 18%;
    height: 100%;
    transition: all 0.2s ease;
}

.tab-item i {
    font-size: 20px;
    margin-bottom: -2px;
    transition: transform 0.2s ease;
}

.tab-item:active i {
    transform: scale(0.9);
}

.tab-item.active,
.tab-item:hover {
    color: var(--primary);
}

/* Center FAB Button */
.tab-item-fab {
    position: relative;
    top: 0px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--primary), #d95000);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.4);
    border: 4px solid #0f172a;
    z-index: 1001;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html.dark-mode .tab-item-fab {
    border-color: #1e293b;
}

.tab-item-fab:active {
    transform: scale(0.9);
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.5);
}

.tab-item-fab i {
    font-size: 22px;
    margin: 0;
    line-height: 1;
}

.tab-item-fab .fab-label {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.disabled-tab {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Custom Premium Glassmorphic Toast */
#cust-toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11000;
    width: 90%;
    max-width: 380px;
    pointer-events: none;
}

.cust-toast {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    pointer-events: auto;
    animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s ease;
}

.cust-toast.fade-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
}

.cust-toast-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cust-toast.success .cust-toast-icon {
    color: #22c55e;
}

.cust-toast.error .cust-toast-icon {
    color: #ef4444;
}

.cust-toast.warning .cust-toast-icon {
    color: #eab308;
}

.cust-toast-message {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}

@keyframes toastSlideIn {
    0% {
        transform: translateY(-30px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Collapsible Vehicle Details Panel */
.collapse-content-wrapper {
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.collapse-content-wrapper.collapsed {
    max-height: 0 !important;
}

.plaka-badge {
    display: inline-flex;
    align-items: center;
    border: 2px solid #1e293b;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    font-family: var(--font-body);
    font-weight: 700;
    color: #1e293b;
    height: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.plaka-badge-tr {
    background: #2563eb;
    color: #ffffff;
    font-size: 9px;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 800;
}

.plaka-badge-num {
    padding: 0 8px;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.info-vehicle-card {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.3s ease !important;
}

/* Theme-compatible overrides to fix text and background issues in dark mode */
html.dark-mode .text-dark {
    color: #f8fafc !important;
}

html.dark-mode .info-vehicle-card {
    background: #111827 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .info-pill {
    background: #151f32 !important;
    border-color: #334155 !important;
}

html.dark-mode .bg-white {
    background-color: var(--bg-card) !important;
}

html.dark-mode .offcanvas {
    background-color: var(--bg-card) !important;
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
}

html.dark-mode .offcanvas-header {
    border-bottom: 1px solid var(--border-color) !important;
}

html.dark-mode .form-control,
html.dark-mode .form-select {
    background-color: var(--bg-dark) !important;
    border-color: var(--border-color) !important;
    color: var(--text-main) !important;
}

html.dark-mode .form-control::placeholder {
    color: var(--text-muted) !important;
}

html.dark-mode .form-check-label {
    color: var(--text-main) !important;
}

html.dark-mode .btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

html.dark-mode .btn-close-cust {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

/* ==================== ALL HISTORY TOP FIXED HEADER ==================== */
.cust-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #0f172a;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

html.dark-mode .cust-header {
    background: #1e293b;
    border-bottom-color: var(--border-color);
}

.cust-header-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
    text-align: center;
    font-family: var(--font-title);
}

html.dark-mode .cust-header-title {
    color: #f8fafc;
}

.cust-header .cust-header-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cust-header .cust-header-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.2);
}

html.dark-mode .cust-header .cust-header-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.main-history-content {
    padding-top: 80px !important;
}
/* Live Service Status Styles */
.servis-stepper-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.stepper-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-title);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stepper-title i {
    color: var(--primary);
    font-size: 20px;
}

.stepper-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.h-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 10px;
}

.h-stepper-line {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    z-index: 1;
}

.h-stepper-line-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.h-stepper-line-fill.complete {
    background: #10b981;
}

.h-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-align: center;
    width: 33%;
}

.h-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.h-step.active .h-step-icon {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 94, 0, 0.1);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.15);
}

.h-step.done .h-step-icon {
    border-color: var(--primary);
    color: #ffffff;
    background: var(--primary);
}

.h-step.ready .h-step-icon {
    border-color: #10b981;
    color: #ffffff;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.h-step-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-title);
    line-height: 1.2;
}

.h-step-desc {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 2px;
}

.status-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(14, 165, 233, 0.05);
    border-left: 3px solid var(--secondary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.5;
}

html.dark-mode .status-info-banner {
    background: rgba(14, 165, 233, 0.1);
}

.status-info-banner i {
    font-size: 18px;
    color: var(--secondary);
    margin-top: -2px;
}

.usta-info-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 94, 0, 0.05);
    border: 1px solid rgba(255, 94, 0, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-main);
}

html.dark-mode .usta-info-banner {
    background: rgba(255, 94, 0, 0.1);
}

.usta-info-banner i {
    font-size: 16px;
    color: var(--primary);
}

.live-timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    margin-top: 20px;
}

.live-timeline-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-title);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-timeline-title i {
    color: #8b5cf6;
    font-size: 18px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-left: auto;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.tl-track {
    position: relative;
    padding-left: 20px;
}

.tl-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: var(--border-color);
}

.tl-item {
    position: relative;
    margin-bottom: 16px;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-node {
    position: absolute;
    left: -20px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: var(--text-muted);
}

.tl-node.node-1 { border-color: #3b82f6; color: #3b82f6; }
.tl-node.node-2 { border-color: #f59e0b; color: #f59e0b; }
.tl-node.node-3 { border-color: #10b981; color: #10b981; }
.tl-node.node-4 { border-color: #6366f1; color: #6366f1; }

.tl-content {
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 8px;
}

html.dark-mode .tl-content {
    background: rgba(255, 255, 255, 0.02);
}

.tl-msg {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.tl-time {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tl-time i {
    font-size: 12px;
}




/* ==========================================================================
   CUSTOMER GARAJIM CONSOLIDATED STYLES (FROM INLINE BLOCKS IN GARAJIM.PHP)
   ========================================================================== */

/* Sabit Header / Footer Stilleri */
.menu-sabit .cust-header {
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.menu-sabit .main-garage-content {
    margin-top: 80px !important;
}

.menu-sabit .mob-tabbar {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    height: 56px !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3) !important;
    animation: none !important;
    background-image: none !important;
    background-color: #0f172a !important;
}

html.dark-mode .menu-sabit .mob-tabbar {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: #1e293b !important;
}

body.menu-sabit {
    padding-bottom: 75px !important;
}

/* Yüzen Header Stilleri */
.menu-yuzen .cust-header {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    height: 54px !important;
    border: 2px solid transparent !important;
    border-radius: 27px !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2) !important;
    background-image: linear-gradient(#0f172a, #0f172a),
        conic-gradient(from var(--glow-angle, 0deg), transparent 70%, var(--primary, #3bc0c3) 88%, #ffffff 95%, var(--primary, #3bc0c3) 98%, transparent) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    animation: rotate-glow 6s linear infinite !important;
}

html.dark-mode .menu-yuzen .cust-header {
    background-image: linear-gradient(#1e293b, #1e293b),
        conic-gradient(from var(--glow-angle, 0deg), transparent 70%, var(--primary, #3bc0c3) 88%, #ffffff 95%, var(--primary, #3bc0c3) 98%, transparent) !important;
}

        :root {
            --glow-angle: 0deg;
        }



        .main-garage-content {
            margin-top: 85px;
            padding-bottom: 90px;
        }

        .garage-hero-card {
            background: linear-gradient(135deg, rgba(255, 94, 0, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        html.dark-mode .garage-hero-card {
            background: linear-gradient(135deg, rgba(255, 94, 0, 0.15) 0%, rgba(14, 165, 233, 0.08) 100%);
        }

        .garage-hero-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255, 94, 0, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }

        .vehicle-grid-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
        }

        .vehicle-grid-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
            border-color: rgba(255, 94, 0, 0.25);
        }

        html.dark-mode .vehicle-grid-card:hover {
            border-color: rgba(14, 165, 233, 0.3);
        }

        .vehicle-card-img-wrapper {
            position: relative;
            height: 120px;
            background: #f1f5f9;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        html.dark-mode .vehicle-card-img-wrapper {
            background: #1e293b;
        }

        .vehicle-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .vehicle-grid-card:hover .vehicle-card-img {
            transform: scale(1.05);
        }

        .card-plaka-badge {
            position: absolute;
            bottom: 10px;
            left: 10px;
            background: rgba(255, 255, 255, 0.95);
            border: 1.2px solid #111827;
            padding: 2px 8px 2px 24px;
            border-radius: 4px;
            font-weight: 800;
            font-size: 13px;
            color: #111827;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .card-plaka-badge::before {
            content: "TR";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 16px;
            background: #003399;
            color: #fff;
            font-size: 7px;
            font-weight: 700;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 2px;
            border-top-left-radius: 2.8px;
            border-bottom-left-radius: 2.8px;
        }

        html.dark-mode .card-plaka-badge {
            background: rgba(15, 23, 42, 0.95);
            color: #f8fafc;
            border-color: #f8fafc;
        }

        .status-badge-compact {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 10px;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 20px;
            letter-spacing: 0.3px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        }

        /* Stepper progress */
        .stepper-progress-mini {
            height: 4px;
            background: rgba(148, 163, 184, 0.2);
            border-radius: 2px;
            overflow: hidden;
            display: flex;
            margin: 10px 0;
        }

        .stepper-progress-fill {
            height: 100%;
            border-radius: 2px;
            transition: width 0.4s ease;
        }

        .auth-container {
            max-width: 420px;
            margin: 110px auto 40px auto;
            padding: 0 20px;
        }

        .auth-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
            padding: 30px 24px;
        }

        /* Digit input for OTP */
        .otp-inputs-wrapper {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin: 20px 0;
        }

        .otp-digit {
            width: 44px;
            height: 48px;
            font-size: 20px;
            font-weight: 700;
            text-align: center;
            border: 1.5px solid var(--border-color);
            background: var(--bg-dark);
            color: var(--text-main);
            border-radius: 10px;
            outline: none;
            transition: all 0.2s ease;
        }

        .otp-digit:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.15);
            background: var(--bg-card);
        }

        .rotate-icon {
            animation: spin;
            animation-duration: 1s;
            animation-iteration-count: infinite;
            animation-timing-function: linear;
        }

        @keyframes spin {
            100% {
                transform: rotate(360deg);
            }
        }

        /* Custom alert count */
        .reminder-indicator-badge {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
        }

        .reminder-row {
            padding: 10px;
            border-radius: 10px;
            background: rgba(148, 163, 184, 0.05);
            border: 1px solid var(--border-color);
            font-size: 12.5px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        html.dark-mode .reminder-row {
            background: rgba(255, 255, 255, 0.02);
        }

        .brand-logo-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f1f5f9;
            border: 1.5px solid #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            z-index: 5;
        }

        html.dark-mode .brand-logo-badge {
            background: #1e293b;
            border-color: #334155;
        }