/* Üstünkaya Oto Servis - Modern Premium & Performance Red Stil Dosyası */
:root {
    --primary-color: #e11d48;
    --primary-hover: #be123c;
    --primary-glow: rgba(225, 29, 72, 0.35);
    --secondary-red: #991b1b;
    --accent-red-bright: #ff334b;
    --dark-navy: #090d16;
    --dark-surface: #0f172a;
    --dark-card: #172033;
    --sidebar-bg: #0f172a;
    --sidebar-hover: #1e293b;
    --sidebar-active: #e11d48;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
    --text-muted: #64748b;
    --accent-warning: #f59e0b;
    --accent-success: #10b981;
    --accent-danger: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: #1e293b;
    min-height: 100vh;
}

/* Custom Red Utilities & Buttons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.text-primary-red {
    color: var(--primary-color) !important;
}

.bg-primary-red {
    background-color: var(--primary-color) !important;
}

.border-primary-red {
    border-color: var(--primary-color) !important;
}

/* Wrapper Layout */
.app-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar Styling */
.app-sidebar {
    width: 260px;
    background-color: var(--sidebar-bg);
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    border-right: 1px solid rgba(225, 29, 72, 0.15);
}

@media (min-width: 992px) {
    .app-sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        align-self: flex-start;
        overflow: hidden;
    }
}

.sidebar-brand-wrapper {
    flex-shrink: 0;
}

.sidebar-brand {
    padding: 1.25rem 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    flex-shrink: 0;
}

.sidebar-brand img {
    height: 38px;
    width: auto;
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.nav-header {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
    padding: 0.75rem 0.75rem 0.25rem 0.75rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: #94a3b8;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.925rem;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-link i {
    font-size: 1.15rem;
    width: 1.25rem;
    text-align: center;
}

.sidebar-nav .nav-link:hover {
    color: #ffffff;
    background-color: var(--sidebar-hover);
}

.sidebar-nav .nav-link.active {
    color: #ffffff;
    background-color: var(--primary-color);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* Main Content Area */
.app-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--light-bg);
}

/* Top Navbar */
.app-header {
    height: 64px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.sidebar-toggle-btn {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #334155;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}
.sidebar-toggle-btn:hover {
    background-color: #f1f5f9;
}

/* Mobile Sidebar Backdrop */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1035;
}

/* Responsive Table Improvements */
.table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 0.5rem;
    position: relative;
}

.table-responsive > .table:not(#itemsTable),
.table-responsive > table:not(#itemsTable) {
    min-width: 740px;
}

.table-responsive.table-items-responsive {
    min-width: 100% !important;
}

.table-responsive > .table-compact,
.table-responsive > table.table-compact {
    min-width: auto;
}

/* Ensure action buttons don't break onto multiple lines */
.table td.actions-cell,
.table th.actions-cell,
.table td:last-child {
    white-space: nowrap;
}

/* Mobile Responsiveness Overhaul */
@media (max-width: 991.98px) {
    .app-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -300px;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        z-index: 1045;
        box-shadow: none;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .app-sidebar.show {
        left: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
    }
    .sidebar-backdrop {
        z-index: 1040;
    }
    .sidebar-backdrop.show {
        display: block;
    }
    .app-header {
        padding: 0 1rem;
        height: 60px;
    }
    .content-container {
        padding: 1.25rem 1rem !important;
    }
}

@media (max-width: 767.98px) {
    .content-container {
        padding: 0.85rem 0.75rem !important;
    }
    .card-body {
        padding: 1rem !important;
    }
    .card-header {
        padding: 0.75rem 1rem !important;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .card-footer {
        padding: 1rem !important;
    }
    .stat-card {
        padding: 0.95rem;
        gap: 0.85rem;
    }
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }
    .stat-value {
        font-size: 1.45rem;
    }
    .stat-title {
        font-size: 0.8rem;
    }
    .plate-badge {
        font-size: 0.85rem;
    }
    .plate-badge.fs-4 {
        font-size: 1.15rem !important;
    }
    /* Touch target sizes */
    .form-control, .form-select {
        font-size: 0.925rem;
        min-height: 42px;
    }
    .btn {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .btn-sm {
        min-height: 32px;
    }
    /* Header action buttons wrap */
    .d-flex.gap-2:not(.btn-group):not(.pagination) {
        flex-wrap: wrap;
    }
    /* Dropdown menu mobile safety */
    .dropdown-menu {
        max-width: 90vw;
    }
}

@media (max-width: 575.98px) {
    .content-container {
        padding: 0.75rem 0.5rem !important;
    }
    .card {
        border-radius: 0.65rem;
        margin-bottom: 1rem !important;
    }
    .card-body {
        padding: 0.85rem !important;
    }
    .card-header {
        padding: 0.65rem 0.85rem !important;
    }
    .d-flex.flex-column.flex-md-row > .d-flex.gap-2 {
        width: 100%;
    }
    .d-flex.flex-column.flex-md-row > .d-flex.gap-2 .btn {
        flex: 1 1 auto;
    }
    .login-card {
        padding: 1.75rem 1.25rem !important;
    }
    /* Universal Form Action Buttons on Mobile */
    .card .d-flex.justify-content-end.gap-2,
    .card .d-flex.align-items-center.justify-content-end.gap-2 {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
        width: 100%;
    }
    .card .d-flex.justify-content-end.gap-2 .btn,
    .card .d-flex.align-items-center.justify-content-end.gap-2 .btn {
        width: 100%;
        min-height: 44px;
    }
    /* Breadcrumbs and Back Button Header on Mobile */
    .d-flex.align-items-center.justify-content-between.mb-4,
    .d-flex.align-items-start.justify-content-between.mb-4 {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
    .d-flex.align-items-center.justify-content-between.mb-4 > a.btn,
    .d-flex.align-items-start.justify-content-between.mb-4 > a.btn {
        width: 100%;
    }
}

/* Content Container */
.content-container {
    padding: 1.75rem;
    flex-grow: 1;
}

/* Custom Card Styling */
.card {
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
}

/* Stat Cards */
.stat-card {
    border-radius: 0.75rem;
    border: 1px solid var(--card-border);
    background: #ffffff;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.stat-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* License Plate Badge Styling */
.plate-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #111827;
    border-radius: 6px;
    font-family: 'Arial Black', Impact, sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    color: #111827;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.plate-badge .plate-country {
    background-color: #003399;
    color: #ffffff;
    padding: 0.15rem 0.45rem;
    font-size: 0.65rem;
    font-family: Arial, sans-serif;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid #111827;
}

.plate-badge .plate-text {
    padding: 0.15rem 0.6rem;
    text-transform: uppercase;
}

/* Work Order Items Table in Form (Desktop Default) */
.mobile-field-label {
    display: none;
}
.mobile-btn-text {
    display: none;
}

.table-items th {
    background-color: #f8fafc;
    font-size: 0.825rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
    border-bottom: 2px solid var(--card-border);
}

.table-items td {
    vertical-align: middle;
}

@media (min-width: 768px) {
    .table-items td.item-col-type { width: 130px; }
    .table-items td.item-col-unit { width: 100px; }
    .table-items td.item-col-qty { width: 100px; }
    .table-items td.item-col-price { width: 130px; }
    .table-items td.item-col-total { width: 120px; }
    .table-items td.item-col-action { width: 50px; text-align: center; }
}

/* Mobilde İş Emri Kalemlerini Dikey Kart Formatına Dönüştür */
@media (max-width: 767.98px) {
    .table-items-responsive,
    .table-responsive:has(#itemsTable) {
        min-width: 100% !important;
        overflow-x: visible !important;
    }

    .table-responsive > #itemsTable,
    #itemsTable.table-items {
        min-width: 100% !important;
        width: 100% !important;
        border: none !important;
        display: block !important;
    }

    #itemsTable thead {
        display: none !important;
    }

    #itemsTable tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
        width: 100% !important;
    }

    #itemsTable tr.item-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem 0.75rem !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 0.85rem !important;
        padding: 1rem !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
        position: relative !important;
        width: 100% !important;
    }

    #itemsTable tr.item-row td {
        display: flex !important;
        flex-direction: column !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Grid Hücre Yerleşimleri */
    #itemsTable td.item-col-type {
        grid-column: 1 / 3 !important;
    }

    #itemsTable td.item-col-desc {
        grid-column: 1 / 3 !important;
    }

    #itemsTable td.item-col-unit {
        grid-column: 1 / 2 !important;
    }

    #itemsTable td.item-col-qty {
        grid-column: 2 / 3 !important;
    }

    #itemsTable td.item-col-price {
        grid-column: 1 / 2 !important;
    }

    #itemsTable td.item-col-total {
        grid-column: 2 / 3 !important;
        justify-content: flex-end !important;
    }

    #itemsTable td.item-col-action {
        grid-column: 1 / 3 !important;
        margin-top: 0.35rem !important;
        border-top: 1px dashed #e2e8f0 !important;
        padding-top: 0.65rem !important;
    }

    #itemsTable td.item-col-action .btn-remove-row {
        width: 100% !important;
        padding: 0.5rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 600 !important;
    }

    /* Mobil Alan Başlıkları */
    .mobile-field-label {
        display: block !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
        color: #475569 !important;
        margin-bottom: 0.25rem !important;
    }

    .mobile-btn-text {
        display: inline !important;
        font-weight: 600 !important;
        font-size: 0.875rem !important;
    }

    #itemsTable .item-total {
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        padding: 0.45rem 0.65rem !important;
        background: rgba(225, 29, 72, 0.08) !important;
        border: 1px solid rgba(225, 29, 72, 0.2) !important;
        border-radius: 0.5rem !important;
        color: #e11d48 !important;
        text-align: right !important;
    }

    #itemsTable tfoot {
        display: block !important;
        width: 100% !important;
        margin-top: 0.75rem !important;
    }

    #itemsTable tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.75rem 1rem !important;
        background: #f1f5f9 !important;
        border-radius: 0.5rem !important;
        border: 1px solid #e2e8f0 !important;
    }

    #itemsTable tfoot td {
        border: none !important;
        padding: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .btn-group .btn-sm {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        font-size: 0.8rem;
    }
}

/* Status Badges */
.badge {
    padding: 0.45em 0.75em;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 0.375rem;
}

/* Modern Form Controls */
.form-control, .form-select {
    border-color: #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.925rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem var(--primary-glow);
}

/* =========================================================
   PREMIUM LANDING PAGE & AUTOMOTIVE RED EXPERIENCE
   ========================================================= */

/* Hero Section */
.landing-hero {
    background: radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.18) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(153, 27, 27, 0.25) 0%, transparent 50%),
                linear-gradient(135deg, #090d16 0%, #0f172a 60%, #172033 100%);
    color: #ffffff;
    padding: 5.5rem 0 6.5rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(225, 29, 72, 0.2);
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.4);
    color: #ff6b81;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Interactive Plate Search Box */
.plate-search-box {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(225, 29, 72, 0.25);
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.plate-search-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e11d48, transparent);
}

/* Realist Türk Plaka Görünümü */
.plate-input-group {
    background: #ffffff;
    border: 3.5px solid #0f172a;
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.8), inset 0 -2px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 68px;
    position: relative;
}

.plate-input-group:focus-within {
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.35), 0 16px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.plate-flag {
    background: linear-gradient(180deg, #003da5 0%, #002277 100%);
    color: #ffffff;
    width: 66px;
    min-width: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
    user-select: none;
    border-right: 3px solid #0f172a;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset -1px 0 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.plate-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.plate-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.plate-stars-svg {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

.plate-tr-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #ffffff;
    font-family: 'Arial Black', 'Montserrat', Impact, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.9);
}

.plate-input {
    border: none !important;
    background: #ffffff !important;
    font-size: 1.85rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 1.25rem !important;
    color: #0f172a !important;
    height: 100%;
    line-height: 1;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

.plate-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.plate-input:focus {
    box-shadow: none !important;
    outline: none !important;
    background: #ffffff !important;
}

.btn-search-plate {
    background: linear-gradient(135deg, #ff334b 0%, #e11d48 50%, #991b1b 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 25px -4px var(--primary-glow);
    transition: all 0.3s ease;
}

.btn-search-plate:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -2px rgba(225, 29, 72, 0.6);
}

/* Premium Service Cards (11 Spesifik Hizmet) */
.premium-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.premium-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.premium-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 29, 72, 0.3);
    box-shadow: 0 20px 30px -10px rgba(225, 29, 72, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.05);
}

.premium-service-card:hover::before {
    background: linear-gradient(90deg, #ff334b, #e11d48);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 0.85rem;
    background: rgba(225, 29, 72, 0.08);
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 29, 72, 0.15);
}

.premium-service-card:hover .service-icon-box {
    background: #e11d48;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 18px var(--primary-glow);
}

.service-badge-pill {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    width: fit-content;
    margin-top: auto;
    padding-top: 0.35rem;
}

.premium-service-card:hover .service-badge-pill {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

/* Timeline For Inquiry */
.order-timeline {
    position: relative;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.timeline-step.active .timeline-icon {
    background: #e11d48;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.25);
}

.timeline-step.completed .timeline-icon {
    background: #10b981;
    color: #ffffff;
}

/* Print Styles */
@media print {
    .no-print, .app-sidebar, .app-header, .sidebar-backdrop, .btn, .breadcrumb {
        display: none !important;
    }
    body, .app-wrapper, .app-main, .content-container {
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #000000 !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    .print-only {
        display: block !important;
    }
}

/* ==============================================================================
 * Yedek Parça Sayfası & Kayan Marka Logoları (Brand Marquee)
 * ============================================================================== */
.parts-marquee-section {
    background: linear-gradient(180deg, #090d16 0%, #0d1527 50%, #090d16 100%);
    border-top: 1px solid rgba(225, 29, 72, 0.25);
    border-bottom: 1px solid rgba(225, 29, 72, 0.25);
    position: relative;
    overflow: hidden;
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1.25rem 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    animation: marquee-anim 35s linear infinite;
    will-change: transform;
}

.marquee-track-reverse {
    animation-direction: reverse;
    animation-duration: 40s;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-anim {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-ticker-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 95px;
    padding: 0.85rem 1.4rem;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-decoration: none;
    position: relative;
}

.brand-ticker-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.3);
    border-color: rgba(225, 29, 72, 0.5);
    z-index: 5;
}

.brand-ticker-card img {
    max-width: 140px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-ticker-card:hover img {
    transform: scale(1.06);
}

.brand-ticker-card .brand-card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 0.4rem;
    line-height: 1;
}

/* Otomobil Markaları Kayan Kartları */
.car-ticker-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 165px;
    height: 66px;
    padding: 0.6rem 1.15rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-decoration: none;
    color: #1e293b;
}

.car-ticker-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.25);
    border-color: rgba(225, 29, 72, 0.5);
    color: #e11d48;
}

.car-ticker-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.car-ticker-card:hover img {
    transform: scale(1.1);
}

.car-ticker-card .car-name {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

/* Yedek Parça Hero & Kart Stilleri */
.parts-hero {
    background: radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.18) 0%, transparent 50%),
                linear-gradient(135deg, #090d16 0%, #0f172a 100%);
    position: relative;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid rgba(225, 29, 72, 0.2);
}

.brand-showcase-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.brand-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.brand-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(225, 29, 72, 0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: rgba(225, 29, 72, 0.3);
}

.brand-showcase-card:hover::before {
    background: linear-gradient(90deg, #ff334b, #e11d48);
}

.brand-logo-holder {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.brand-logo-holder img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.category-highlight-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-highlight-box:hover {
    border-color: #e11d48;
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.vin-search-card {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border: 1px solid rgba(225, 29, 72, 0.35);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.vin-search-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.vin-search-card > * {
    position: relative;
    z-index: 2;
}

/* Yüksek Kontrastlı Form İkon Dairesi */
.inquiry-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff334b 0%, #e11d48 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 3;
}

.inquiry-icon-circle svg,
.inquiry-icon-circle i {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Koyu Arka Planda Yüksek Kontrastlı Hap Rozet (Badge) */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(225, 29, 72, 0.22);
    border: 1px solid rgba(255, 51, 75, 0.65);
    color: #ffffff !important;
    padding: 0.45rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    margin-bottom: 0.75rem;
}

.hero-badge-pill i,
.hero-badge-pill svg {
    color: #ff334b !important;
    fill: #ff334b !important;
}

/* Açık Arka Planda Özel Rozet */
.section-badge-light {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.25);
    color: #be123c !important;
    padding: 0.4rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* ==============================================================================
 * Vitrin / Göstermelik Ürün Kartları Stili (Showcase Products)
 * ============================================================================== */
.showcase-product-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.showcase-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(225, 29, 72, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(225, 29, 72, 0.35);
}

.product-img-holder {
    height: 190px;
    background: radial-gradient(circle at center, #ffffff 40%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.product-real-img {
    max-height: 155px;
    max-width: 86%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
}

.showcase-product-card:hover .product-real-img {
    transform: scale(1.08) translateY(-4px);
}

.product-brand-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    height: 28px;
    z-index: 2;
}

.product-brand-badge img {
    max-height: 18px;
    max-width: 60px;
    width: auto;
    object-fit: contain;
}

.product-visual-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(225, 29, 72, 0.08);
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 29, 72, 0.15);
}

.showcase-product-card:hover .product-visual-icon {
    background: #e11d48;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(225, 29, 72, 0.35);
}

.product-price-badge {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e11d48;
    letter-spacing: -0.02em;
}

.product-stock-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
