body {
    font-family: 'Inter', sans-serif;
    background-color: #f6f8fb;
    color: #1e293b;
    padding-bottom: 50px;
    /* bottom bar spacing */
    padding-top: 65px;
    /* top bar spacing */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Top Navbar Capsule Design */
.mob-nav {
    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%, #3bc0c3 88%, #ffffff 95%, #3bc0c3 98%, transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: rotate-glow 6s linear infinite;
}

.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: 200px;
    display: inline-block;
}

.mob-nav-actions a {
    color: #ffffff;
    font-size: 18px;
    transition: opacity 0.2s;
}

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

/* Bottom Tab Bar Capsule/Dock Design */
.mob-tabbar {
    position: fixed;
    bottom: 10px;
    left: 13px;
    right: 13px;
    height: 52px;
    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%, #3bc0c3 88%, #ffffff 95%, #3bc0c3 98%, transparent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: rotate-glow 6s linear infinite;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    /* Gray text on dark dock */
    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 {
    color: #3bc0c3;
}

/* Center FAB Button */
.tab-item-fab {
    position: relative;
    top: 0px;
    /* Pops out of dock container */
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #3bc0c3, #1a8f92);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 192, 195, 0.4);
    border: 4px solid #0f172a;
    /* Blends with dark tabbar background */
    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;
    /* Blends with dark-mode tabbar background */
}

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

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

.tab-item-fab .fab-label {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Tabs Content Display */
.mob-tab-content {
    display: none;
    padding: 16px;
    animation: fadeIn 0.25s ease-out;
}

.mob-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards and Elements UI */
.mob-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.mob-card:active {
    transform: scale(0.99);
}

.gradient-card-blue {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #ffffff;
    border: none;
}

.gradient-card-teal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #ffffff;
    border: none;
}

/* Plaka Badge design */
.plaka-badge {
    display: inline-flex;
    align-items: center;
    border: 2px solid #1e293b;
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1e293b;
    height: 28px;
}

.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: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

/* Stats item cards premium styling */
.stats-item-card {
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 90px;
    border: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.stats-item-card:active {
    transform: scale(0.96);
}

.stats-item-card .num {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
}

.stats-item-card .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
}

.stats-item-card i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Orange/Amber gradient */
.stats-item-card.stats-kabul {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

/* Blue gradient */
.stats-item-card.stats-active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

/* Green gradient */
.stats-item-card.stats-ready {
    background: linear-gradient(135deg, #10b981, #047857) !important;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

/* Purple gradient */
.stats-item-card.stats-total {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

/* Bottom Sheet (Slide up drawer) */
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 85vh;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    transition: bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 15px;
}

.bottom-sheet.show {
    bottom: 0;
}

.bottom-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1040;
    display: none;
}

.bottom-sheet-backdrop.show {
    display: block;
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin: 0 auto 16px auto;
}

.list-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.list-row-item:last-child {
    border-bottom: none;
}

/* Styled select */
.mob-select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    background: #f8fafc;
    color: #334155;
    outline: none;
}

/* Search input styled */
.mob-search-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.mob-search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.mob-search-input {
    width: 100%;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding-left: 36px;
    padding-right: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.mob-search-input:focus {
    border-color: #3bc0c3;
}

/* Pill filters */
.filter-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.filter-pills-scroll::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    white-space: nowrap;
    padding: 6px 14px;
    background: #e2e8f0;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}

.pill-btn.active {
    background: #3bc0c3;
    color: #ffffff;
}

/* Form styling */
.form-label-mob {
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    margin-bottom: 6px;
}

.form-control-mob {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    font-size: 14px;
    background-color: #ffffff;
}

.form-control-mob:focus {
    border-color: #3bc0c3;
    box-shadow: 0 0 0 2px rgba(59, 192, 195, 0.15);
}

/* Wizard styling */
.wiz-step {
    display: none;
}

.wiz-step.active {
    display: block;
}

.wiz-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 14px;
}

.wiz-indicator-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    background: transparent;
    text-align: center;
}

.wiz-indicator-item i {
    font-size: 15px;
}

.wiz-indicator-item span {
    font-size: 9px;
    white-space: nowrap;
}

.wiz-indicator-item.active {
    background: linear-gradient(135deg, #3bc0c3, #1a8f92);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 192, 195, 0.25);
}

.wiz-indicator-item.complete {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.wiz-indicator-separator {
    color: #cbd5e1;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Unified Floating Actions Bar */
.wiz-floating-actions {
    position: fixed;
    bottom: 72px;
    /* floats above the bottom 52px menu */
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Only display floating actions bar when wizard is active */
body.tab-wizard-active .wiz-floating-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Extra viewport spacing for wizard list scroll */
body.tab-wizard-active {
    padding-bottom: 160px !important;
}

/* Dark mode compatibility rules */
html.dark-mode .wiz-indicators {
    background: rgba(255, 255, 255, 0.03);
}

html.dark-mode .wiz-indicator-separator {
    color: #475569;
}

html.dark-mode .wiz-indicator-item.complete {
    background: rgba(16, 185, 129, 0.22);
}

html.dark-mode .wiz-floating-actions {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ==================== DARK MODE STYLE OVERRIDES ==================== */
html.dark-mode body {
    background-color: #0f172a;
    color: #e2e8f0;
}

html.dark-mode .mob-nav {
    background-image: linear-gradient(#1e293b, #1e293b),
        conic-gradient(from var(--glow-angle), transparent 70%, #3bc0c3 88%, #ffffff 95%, #3bc0c3 98%, transparent);
    border: 2px solid transparent !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

html.dark-mode .mob-shop-name {
    color: #94a3b8;
}

html.dark-mode .mob-card {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

html.dark-mode .mob-tabbar {
    background-image: linear-gradient(#1e293b, #1e293b),
        conic-gradient(from var(--glow-angle), transparent 70%, #3bc0c3 88%, #ffffff 95%, #3bc0c3 98%, transparent);
    border: 2px solid transparent !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
}

html.dark-mode .tab-item {
    color: #94a3b8;
}

html.dark-mode .tab-item.active {
    color: #3bc0c3;
}

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

/* Stats card inherits dark mode styles cleanly */

html.dark-mode .recent-actions .list-card {
    background-color: #1e293b;
    border-color: #334155;
}

html.dark-mode .recent-actions .list-card h6 {
    color: #ffffff !important;
}

html.dark-mode .plaka-badge {
    background-color: #1e293b;
    color: #ffffff;
    border-color: #475569;
}

html.dark-mode .plaka-badge-tr {
    background-color: #2563eb;
}

html.dark-mode .plaka-badge-num {
    color: #f1f5f9;
}

html.dark-mode .mob-search-input {
    background-color: #1e293b;
    border-color: #334155;
    color: #ffffff;
}

html.dark-mode .pill-btn {
    background-color: #334155;
    color: #cbd5e1;
}

html.dark-mode .pill-btn.active {
    background-color: #3bc0c3;
    color: #ffffff;
}

html.dark-mode .form-control-mob {
    background-color: #1e293b;
    border-color: #334155;
    color: #ffffff;
}

html.dark-mode select.form-select.form-control-mob {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

html.dark-mode .form-label-mob {
    color: #cbd5e1;
}

html.dark-mode .bottom-sheet {
    background-color: #1e293b;
    color: #f1f5f9;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

html.dark-mode .bottom-sheet-handle {
    background-color: #475569;
}

html.dark-mode .list-row-item {
    border-bottom-color: #334155;
    color: #f1f5f9;
}

html.dark-mode .list-row-item .text-muted {
    color: #94a3b8 !important;
}

html.dark-mode .list-row-item .fw-bold {
    color: #ffffff !important;
}

html.dark-mode .mob-select {
    background-color: #334155;
    border-color: #475569;
    color: #ffffff;
}

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

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

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

html.dark-mode .modal-content {
    background-color: #1e293b;
    color: #ffffff;
    border: 1px solid #334155;
}

html.dark-mode .modal-header {
    border-bottom: 1px solid #334155;
}

html.dark-mode .modal-body {
    color: #f1f5f9;
}

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

html.dark-mode .recent-actions .text-center,
html.dark-mode .vehicle-list-container .text-center,
html.dark-mode .records-list-wrapper .text-center,
html.dark-mode .tech-list-wrapper .text-center {
    color: #94a3b8 !important;
}

html.dark-mode .recent-actions .text-center i,
html.dark-mode .vehicle-list-container .text-center i,
html.dark-mode .records-list-wrapper .text-center i,
html.dark-mode .tech-list-wrapper .text-center i {
    color: #cbd5e1 !important;
}

/* Detailed dark mode stats cards style inherits perfectly from the clean gradients */

/* ==========================================
   LEFT SIDEBAR / SOL MENÜ STİLLERİ
   ========================================== */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

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

.left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 285px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 5px 0 25px rgba(15, 23, 42, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.left-sidebar.show {
    transform: translateX(0);
}

.left-sidebar-header {
    padding: 20px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 6px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #334155;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li a:active {
    background: rgba(59, 192, 195, 0.08);
    color: #3bc0c3;
}

.sidebar-menu li.divider {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
    margin: 15px 0;
}

.theme-select-container {
    padding: 8px 15px;
}

/* Dark Mode Uyumlu Sol Menü */
html.dark-mode .left-sidebar {
    background: #0f172a;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    color: #f8fafc;
}

html.dark-mode .left-sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark-mode .sidebar-menu li a {
    color: #cbd5e1;
}

html.dark-mode .sidebar-menu li a:hover,
html.dark-mode .sidebar-menu li a:active {
    background: rgba(59, 192, 195, 0.15);
    color: #3bc0c3;
}

html.dark-mode .sidebar-menu li.divider {
    background: rgba(255, 255, 255, 0.08);
}

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

/* Settings Form elements */
.avatar-lg {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.rotate-icon {
    animation: spin-loader 1s linear infinite;
    display: inline-block;
}

@keyframes spin-loader {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobil Premium Header Cover (Yeni Görsel Tasarım) */
.mob-tab-content.no-padding {
    padding: 0 !important;
}

.mob-home-header {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 45px 20px;
    box-sizing: border-box;
}

.mob-edit-cover-btn {
    position: absolute;
    bottom: 40px;
    right: 15px;
    width: 34px;
    height: 34px;
    background-color: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    z-index: 10;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mob-edit-cover-btn:active {
    background-color: rgba(15, 23, 42, 0.85) !important;
    transform: scale(0.9);
}

.mob-edit-cover-btn i {
    font-size: 16px;
    color: #ffffff !important;
}

/* Default Cover Gradient if no image exists */
.mob-home-header:not([style*="uploads/"]) {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.mob-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

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

.mob-profile-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.mob-profile-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
}

.mob-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mob-profile-text-avatar {
    font-weight: 700;
    color: #ffffff;
    font-size: 18px;
}

.mob-active-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border: 2px solid #0f172a;
    border-radius: 50%;
}

.mob-bell-btn {
    position: relative;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: background-color 0.2s;
}

.mob-bell-btn:active {
    background-color: rgba(255, 255, 255, 0.35);
}

.mob-bell-btn i {
    font-size: 18px;
}

.mob-bell-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.mob-welcome-message {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: auto;
}

.welcome-title {
    font-size: 20px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
}

.welcome-name {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: #ffffff;
}

/* Home Body Content (Curve and spacing) */
.mob-home-body {
    position: relative;
    z-index: 3;
    background-color: #f6f8fb;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    margin-top: -30px;
    padding: 24px 16px 16px 16px;
    min-height: calc(100vh - 220px);
}

html.dark-mode .mob-home-body {
    background-color: #0f172a;
}

/* Top Navbar custom show/hide based on tab active */
body.tab-home-active .mob-nav {
    display: none !important;
}

body.tab-home-active {
    padding-top: 0px !important;
}

.mob-rotate-cover-btn {
    position: absolute;
    bottom: 40px;
    right: 55px;
    width: 34px;
    height: 34px;
    background-color: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    z-index: 10;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mob-rotate-cover-btn:active {
    background-color: rgba(15, 23, 42, 0.85) !important;
    transform: scale(0.9);
}

.mob-rotate-cover-btn i {
    font-size: 16px;
    color: #ffffff !important;
}

/* Custom styles for the segmented role radio buttons group */
#tech-role-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px !important;
}

#tech-role-group .btn-check:checked+label {
    background-color: #3bc0c3 !important;
    border-color: #3bc0c3 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(59, 192, 195, 0.25);
}

#tech-role-group label {
    border-color: rgba(59, 192, 195, 0.35) !important;
    color: #3bc0c3 !important;
    transition: all 0.2s ease;
    background: transparent;
}

#tech-role-group label:hover {
    background-color: rgba(59, 192, 195, 0.05) !important;
}

html.dark-mode #tech-role-group label {
    border-color: rgba(59, 192, 195, 0.2) !important;
    color: #3bc0c3 !important;
}

/* Wizard Plate Autocomplete Suggestions */
#wiz-plaka-suggestions {
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

html.dark-mode #wiz-plaka-suggestions {
    background: #1e293b;
    border-color: #334155;
}

.wiz-suggestion-item {
    cursor: pointer;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    transition: background 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
}

.wiz-suggestion-item:last-child {
    border-bottom: none;
}

.wiz-suggestion-item:hover,
.wiz-suggestion-item:active {
    background: #f8fafc;
}

html.dark-mode .wiz-suggestion-item:hover,
html.dark-mode .wiz-suggestion-item:active {
    background: #334155;
}

html.dark-mode .wiz-suggestion-item {
    border-bottom-color: #334155;
    color: #f1f5f9;
}

/* ==========================================
   BAKIM YAKLASAN ARAÇLAR SAYFA STİLLERİ
   ========================================== */

/* Ana sayfadaki bildirim kartı */
.maintenance-alert-card {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.maintenance-alert-card:active {
    transform: scale(0.98);
}

.maintenance-alert-card .alert-watermark {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 70px;
    opacity: 0.12;
    color: #ffffff;
}

.maintenance-alert-card .alert-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
}

.maintenance-alert-card .alert-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    margin: 4px 0 0 0;
}

.maintenance-alert-card .alert-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 10px;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Bakım araç kartları */
.maintenance-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.maintenance-card:active {
    transform: scale(0.99);
}

html.dark-mode .maintenance-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Aciliyet badge'leri */
.maintenance-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.maintenance-badge-overdue {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
    animation: pulse-overdue 2s ease-in-out infinite;
}

.maintenance-badge-urgent {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.maintenance-badge-soon {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

html.dark-mode .maintenance-badge-overdue {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

html.dark-mode .maintenance-badge-urgent {
    background: rgba(234, 88, 12, 0.15);
    border-color: rgba(234, 88, 12, 0.3);
}

html.dark-mode .maintenance-badge-soon {
    background: rgba(217, 119, 6, 0.15);
    border-color: rgba(217, 119, 6, 0.3);
}

@keyframes pulse-overdue {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Hatırlatma gönder butonları */
.maintenance-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.maintenance-action-btn:active {
    transform: scale(0.95);
}

.maintenance-action-btn-call {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.maintenance-action-btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.maintenance-action-btn-sms {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.maintenance-action-btn-email {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* Boş state */
.maintenance-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #94a3b8;
}

.maintenance-empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
    color: #cbd5e1;
}

html.dark-mode .maintenance-empty-state i {
    color: #475569;
}

/* Maintenance sayfa arama kutusu */
.maintenance-search-wrapper {
    position: relative;
    margin-bottom: 14px;
}

.maintenance-search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.maintenance-search-input {
    width: 100%;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding-left: 38px;
    padding-right: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
}

.maintenance-search-input:focus {
    border-color: #f59e0b;
}

html.dark-mode .maintenance-search-input {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
}

html.dark-mode .maintenance-search-input:focus {
    border-color: #f59e0b;
}

/* Yükleniyor animasyonu */
.maintenance-loading {
    text-align: center;
    padding: 40px 20px;
}

.maintenance-loading .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
    margin: 0 auto 12px;
}

html.dark-mode .maintenance-loading .spinner {
    border-color: #334155;
    border-top-color: #f59e0b;
}

/* Sesle yazma mikrofon animasyonu */
@keyframes pulse-mic {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.pulse-mic {
    animation: pulse-mic 1.5s infinite;
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-radius: 50%;
}

/* ==========================================================================
   MOBIL PANEL EXTRA CONSOLIDATED STYLES (FROM INLINE BLOCKS IN MOBIL_PANEL.PHP)
   ========================================================================== */

/* Sabit Menu Layout Stilleri */
.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;
}

.menu-sabit .mob-tab-item.active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #3bc0c3 !important;
    border-radius: 8px !important;
}

.menu-sabit .mob-tab-item {
    border-radius: 8px !important;
}

.menu-sabit .mob-tabbar-container {
    padding: 4px 12px !important;
}

/* Shift body content up to prevent dock overlap */
body.menu-sabit {
    padding-bottom: 72px !important;
}

/* Hide the floating action button or integrate it */
.menu-sabit .mob-float-qr {
    bottom: 80px !important;
    right: 16px !important;
}

/* 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 #334155;
    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: #3bc0c3;
    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: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
}

/* Sticky Drawer Header & Close Button */
.bottom-sheet>div.d-flex.justify-content-between.align-items-start.mb-3 {
    position: sticky;
    top: -20px;
    background-color: #ffffff;
    z-index: 10;
    margin-top: -20px;
    padding-top: 5px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html.dark-mode .bottom-sheet>div.d-flex.justify-content-between.align-items-start.mb-3 {
    background-color: #1e293b;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Stats Card Watermark Icon Style */
.stats-item-card {
    position: relative !important;
    overflow: hidden !important;
}

.stats-item-card i.card-watermark-icon {
    position: absolute !important;
    bottom: -18px !important;
    right: -12px !important;
    font-size: 68px !important;
    color: #ffffff !important;
    opacity: 0.08 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    line-height: 1 !important;
}

.stats-item-card .num,
.stats-item-card .d-flex {
    position: relative;
    z-index: 2;
}

@keyframes highlightFilled {
    0% {
        background-color: rgba(59, 192, 195, 0.2) !important;
        border-color: #3bc0c3 !important;
        box-shadow: 0 0 0 3px rgba(59, 192, 195, 0.25) !important;
    }

    100% {
        background-color: transparent;
    }
}

.field-highlight-filled {
    animation: highlightFilled 2.0s ease-out;
}

/* Mobile Karekod Binding Styles */
.mobile-pairing-card {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
}

.pairing-header {
    background: linear-gradient(135deg, #3051d3 0%, #1e3bb3 100%);
    padding: 20px 20px;
    color: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.plate-input-large {
    font-size: 28px !important;
    font-weight: 800 !important;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #ced4da;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease;
    color: #2c3e50;
}

.plate-input-large:focus {
    border-color: #3051d3;
    box-shadow: 0 0 0 4px rgba(48, 81, 211, 0.15);
}

.brand-scroll-container {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(105px, max-content);
    gap: 8px;
    overflow-x: auto;
    padding: 4px 4px 12px 4px;
    margin-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.brand-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.brand-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.brand-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.brand-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.brand-btn {
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: center;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

.brand-btn:hover,
.brand-btn.active {
    background-color: #3051d3;
    color: #fff;
    border-color: #3051d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(48, 81, 211, 0.2);
}

.fuel-selector .btn-check:checked+.btn {
    background-color: #3051d3;
    border-color: #3051d3;
    color: white;
    box-shadow: 0 4px 10px rgba(48, 81, 211, 0.2);
}

.fuel-selector .btn {
    padding: 12px 10px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    color: #495057;
}

.existing-alert-card {
    border: 2px dashed #22c55e;
    background-color: #f0fdf4;
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark Mode compatibility for Karekod Modal */
html.dark-mode .brand-btn {
    background-color: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

html.dark-mode .brand-btn:hover,
html.dark-mode .brand-btn.active {
    background-color: #3051d3;
    color: #fff;
    border-color: #3051d3;
}

html.dark-mode .fuel-selector .btn {
    background-color: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

html.dark-mode .fuel-selector .btn-check:checked+.btn {
    background-color: #3051d3;
    border-color: #3051d3;
    color: white;
}

html.dark-mode .plate-input-large {
    background-color: #0f172a;
    color: #cbd5e1;
    border-color: #334155;
}

html.dark-mode .existing-alert-card {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

html.dark-mode .pairing-header {
    background: linear-gradient(135deg, #1e3bb3 0%, #0f172a 100%);
}

/* Status Button Pills Stilleri */
.status-btn-box {
    flex: 1;
    border-radius: 12px;
    padding: 10px 4px;
    background-color: #f3f4f6;
    border: 1px solid transparent;
    color: #6c757d;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.status-btn-box.active {
    background-color: rgba(62, 96, 213, 0.1);
    color: #3e60d5;
    border-color: #3e60d5;
}

.status-btn-box i {
    font-size: 24px;
    margin-bottom: 4px;
    line-height: 1;
}

.status-btn-box span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

html.dark-mode .status-btn-box {
    background-color: #1e293b;
    color: #94a3b8;
}

html.dark-mode .status-btn-box.active {
    background-color: rgba(62, 96, 213, 0.15);
    color: #3e60d5;
    border-color: #3e60d5;
}