
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

        :root {
            --primary: #ffd317;
            --primary-dark: #d9b014;
            --primary-light: #fff3c4;
            --accent: #2c3e50;
            --success: #27ae60;
            --danger: #e74c3c;
            --warning: #f39c12;
            --info: #3498db;
           --dark-bg: #0f0f0f;
            --dark-card: #1a1a1a;
            --dark-border: #2a2a2a;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --text-muted: #707070;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            max-width: 480px;
            margin: 0 auto;
            min-height: 100vh;
        }

        /* ==================== LOADING ==================== */
        .loading-screen {
            position: fixed;
            inset: 0;
            background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .loading-brand {
            text-align: center;
            margin-bottom: 32px;
        }

        .loading-logo {
            width: 80px;
            height: 80px;
           /* background: var(--primary); */
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-weight: 900;
            font-size: 32px;
            color: var(--dark-bg);
            letter-spacing: -1px;
        }

        .loading-text {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .loading-subtitle {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .loading-spinner {
            width: 48px;
            height: 48px;
            border: 3px solid var(--dark-border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* ==================== HEADER ==================== */
        .header {
            background: var(--dark-card);
            border-bottom: 1px solid var(--dark-border);
            padding: 16px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-icon {
            width: 40px;
            height: 40px;
            background: var(--primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 16px;
            color: var(--dark-bg);
        }

        .brand-info h1 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 0.3px;
        }

        .brand-info p {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .header-actions {
            display: flex;
            gap: 8px;
        }

        .btn-icon {
            width: 40px;
            height: 40px;
            background: transparent;
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .btn-icon:hover {
            background: var(--dark-border);
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-icon svg {
            width: 20px;
            height: 20px;
        }

        /* ==================== MAIN CONTENT ==================== */
        .main-content {
            padding: 0 0 90px 0;
        }

        .page-header {
            padding: 24px 20px 16px;
            border-bottom: 1px solid var(--dark-border);
        }

        .page-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .page-subtitle {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .content-wrapper {
            padding: 20px;
        }

        /* ==================== TAB SWITCHER ==================== */
        .tab-switcher {
            display: flex;
            gap: 8px;
            padding: 20px 20px 16px;
            background: var(--dark-bg);
            border-bottom: 1px solid var(--dark-border);
        }

        .tab-button {
            flex: 1;
            padding: 12px 20px;
            background: transparent;
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .tab-button.active {
            background: var(--primary);
            color: var(--dark-bg);
            border-color: var(--primary);
        }

        .tab-button:not(.active):hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(255,211,23,0.05);
        }

        .tab-badge {
            background: rgba(255,255,255,0.2);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 700;
        }

        .tab-button.active .tab-badge {
            background: rgba(0,0,0,0.2);
        }

        /* ==================== DASHBOARD STATS ==================== */
        .stats-overview {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 24px;
        }

        .stat-card {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-md);
            padding: 20px;
            transition: all 0.2s;
            cursor: pointer;
        }

        /* ==================== FOTOĞRAF YÜKLEME ADIMI ==================== */
.photo-upload-area {
    border: 2px dashed var(--dark-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.photo-upload-area:hover {
    border-color: var(--primary);
    background: rgba(255,211,23,0.05);
}

.photo-upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(255,211,23,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.photo-upload-icon svg {
    width: 32px;
    height: 32px;
}

.photo-upload-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.photo-upload-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.photo-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--dark-bg);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-upload-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.photo-upload-btn:active {
    transform: translateY(0);
}

.photo-upload-btn svg {
    width: 20px;
    height: 20px;
}

.photo-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.photo-preview-item {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

.photo-preview-item.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
}

.remove-photo {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.photo-size-info {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

/* ==================== ONAY SAYFASI ==================== */
.summary-vehicle-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.summary-vehicle-plate {
    display: inline-block;
    background: var(--primary);
    color: var(--dark-bg);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 24px;
}

.summary-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.summary-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
    padding-bottom: 12px;
}

.summary-details {
    display: grid;
    gap: 8px;
}

.summary-detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
}

.summary-detail-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}

.summary-detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

.summary-clean-record {
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-weight: 600;
}

.summary-damage-list {
    display: grid;
    gap: 8px;
}

.summary-damage-item {
    background: rgba(255,255,255,0.02);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.damage-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.summary-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.summary-photo {
    width: 100%;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    position: relative;
    border: 1px solid var(--dark-border);
}

.summary-photo-number {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.vehicle-list-thumb {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ==================== FOTOĞRAF KARÜSELİ ==================== */
.photo-carousel {
    width: 100%;
    margin-bottom: 12px;
    position: relative;
}

.carousel-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    max-width: 100%;
    max-height: 300px;
    display: block;
    object-fit: contain;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.carousel-prev, 
.carousel-next {
    width: 40px;
    height: 40px;
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-prev:hover,
.carousel-next:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,211,23,0.05);
}

.carousel-dots {
    display: flex;
    gap: 6px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark-border);
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.no-photos {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

        .stat-card:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .stat-card:active {
            transform: translateY(0);
        }

        .stat-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .stat-icon {
            width: 36px;
            height: 36px;
            background: rgba(255,211,23,0.1);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
        }

        .stat-icon svg {
            width: 20px;
            height: 20px;
        }

        .stat-value {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1;
            margin-bottom: 6px;
        }

        .stat-label {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ==================== QUICK ACTIONS ==================== */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .section-link {
            font-size: 14px;
            color: var(--primary);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .section-link:hover {
            color: var(--primary-dark);
        }

        .quick-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 28px;
        }

        .action-card {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-md);
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            text-align: center;
        }

        .action-card:hover {
            border-color: var(--primary);
            background: rgba(255,211,23,0.05);
        }

        .action-card:active {
            transform: scale(0.98);
        }

        .action-icon {
            width: 48px;
            height: 48px;
            background: rgba(255,211,23,0.1);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
        }

        /* ==================== VEHICLE LIST VIEW ==================== */
.vehicles-list-view {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.vehicle-list-item {
    background: var(--dark-card);
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.vehicle-list-item:hover {
    background: rgba(255,211,23,0.05);
}

.vehicle-list-item:active {
    background: rgba(255,211,23,0.1);
}

.vehicle-list-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vehicle-list-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.vehicle-list-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.vehicle-list-plate {
    background: var(--primary);
    color: var(--dark-bg);
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.vehicle-list-badge {
    position: absolute;
    top: 8px;
    right: 80px;
    background: var(--success);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== DETAIL PAGE TABLE VIEW ==================== */
.detail-info-table {
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.detail-table-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-bottom: 1px solid var(--dark-border);
}

.detail-table-row:last-child {
    border-bottom: none;
}

.detail-table-label,
.detail-table-value {
    padding: 14px 16px;
    font-size: 14px;
}

.detail-table-label {
    background: rgba(255,255,255,0.02);
    font-weight: 600;
    color: var(--text-secondary);
    border-right: 1px solid var(--dark-border);
}

.detail-table-value {
    font-weight: 600;
    color: var(--text-primary);
}

.price-highlight-box {
    background: linear-gradient(135deg, rgba(39,174,96,0.15) 0%, rgba(39,174,96,0.05) 100%);
    border: 2px solid rgba(39,174,96,0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.price-highlight-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.price-highlight-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
}

.price-breakdown {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dark-border);
}

.price-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.price-breakdown-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.price-breakdown-value {
    color: var(--text-primary);
    font-weight: 700;
}

.expenses-table {
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.expense-table-row {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--dark-border);
    align-items: center;
}

.expense-table-row:last-child {
    border-bottom: none;
}

.expense-table-desc {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.expense-table-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.expense-table-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--warning);
    text-align: right;
}

.total-expenses-row {
    background: rgba(243,156,18,0.1);
    border-top: 2px solid rgba(243,156,18,0.3);
    font-weight: 700;
    padding: 16px;
}

        .action-icon svg {
            width: 24px;
            height: 24px;
        }

        .action-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* ==================== ACTIVITY FEED ==================== */
        .activity-feed {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-md);
            padding: 20px;
            margin-bottom: 24px;
        }

        .activity-item {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--dark-border);
        }

        .activity-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .activity-item:first-child {
            padding-top: 0;
        }

        .activity-icon {
            width: 40px;
            height: 40px;
            background: rgba(255,211,23,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: var(--primary);
        }

        .activity-icon svg {
            width: 18px;
            height: 18px;
        }

        .activity-content {
            flex: 1;
        }

        .activity-text {
            font-size: 14px;
            color: var(--text-primary);
            font-weight: 500;
            margin-bottom: 4px;
        }

        .activity-meta {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ==================== VEHICLE CARD ==================== */
        .vehicle-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .vehicle-card {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-lg);
            padding: 20px;
            transition: all 0.2s;
            position: relative;
        }

        .vehicle-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
        }

        .vehicle-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            background: var(--primary);
            color: var(--dark-bg);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .vehicle-header {
            margin-bottom: 16px;
            padding-right: 100px;
        }

        .vehicle-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 6px;
        }

        .vehicle-plate {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: var(--dark-bg);
            padding: 6px 12px;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 1.5px;
        }

        .vehicle-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin: 16px 0;
        }

        .detail-box {
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-sm);
            padding: 12px;
        }

        .detail-label {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }

        .detail-value {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .price-box {
            background: linear-gradient(135deg, rgba(39,174,96,0.1) 0%, rgba(39,174,96,0.05) 100%);
            border: 1px solid rgba(39,174,96,0.2);
            border-radius: var(--radius-md);
            padding: 16px;
            margin: 16px 0;
            text-align: center;
        }
        /* ==================== DETAIL PAGE ==================== */
.detail-page-header {
    background: var(--dark-card);
    border-bottom: 1px solid var(--dark-border);
    padding: 20px;
}

.detail-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.detail-back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,211,23,0.05);
}

.detail-back-btn svg {
    width: 16px;
    height: 16px;
}

.detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.detail-hero-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.detail-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-plate {
    background: var(--primary);
    color: var(--dark-bg);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
}

.detail-separator {
    color: var(--text-muted);
}

.detail-status {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.detail-status.active {
    background: rgba(39,174,96,0.15);
    color: var(--success);
    border: 1px solid rgba(39,174,96,0.3);
}

.detail-status.sold {
    background: rgba(255,211,23,0.15);
    color: var(--primary);
    border: 1px solid rgba(255,211,23,0.3);
}

.detail-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 100px;
}

.detail-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.detail-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-card-header svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-item-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.cost-analysis {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.cost-item.total {
    background: rgba(255,211,23,0.1);
    border: 1px solid rgba(255,211,23,0.2);
    font-weight: 700;
}

.cost-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.cost-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.cost-divider {
    height: 1px;
    background: var(--dark-border);
    margin: 8px 0;
}

.sale-info {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dark-border);
}

.sale-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.sale-item.profit {
    background: rgba(39,174,96,0.1);
    border: 1px solid rgba(39,174,96,0.2);
}

.profit-positive {
    color: var(--success) !important;
}

.profit-negative {
    color: var(--danger) !important;
}

.damage-clean {
    background: rgba(76,175,80,0.1) !important;
    border: 1px solid rgba(76,175,80,0.2) !important;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px !important;
}

.damage-status-icon {
    width: 48px;
    height: 48px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.damage-status-icon svg {
    width: 24px;
    height: 24px;
}

.damage-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 4px;
}

.damage-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.damage-records {
    display: grid;
    gap: 10px;
}

.damage-record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.damage-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.damage-part {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
}

.damage-type {
    font-size: 13px;
    color: var(--text-secondary);
}

.expenses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expense-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--dark-border);
}

.expense-detail-desc {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.expense-detail-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
}

.expense-detail-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--warning);
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.detail-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.detail-action-btn svg {
    width: 18px;
    height: 18px;
}

.detail-action-btn.expense {
    background: transparent;
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
}

.detail-action-btn.expense:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,211,23,0.05);
}

.detail-action-btn.sell {
    background: var(--success);
    color: white;
}

.detail-action-btn.sell:hover {
    background: #229954;
    transform: translateY(-1px);
}

.detail-action-btn:active {
    transform: translateY(0);
}

        .price-label {
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 600;
            margin-bottom: 4px;
        }

        .price-value {
            font-size: 24px;
            font-weight: 800;
            color: var(--success);
        }

        /* ==================== EXPENSES ==================== */
        .expenses-section {
            background: rgba(243,156,18,0.05);
            border: 1px solid rgba(243,156,18,0.2);
            border-radius: var(--radius-md);
            padding: 16px;
            margin: 16px 0;
        }

        .expenses-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .expenses-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--warning);
        }

        .expense-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .expense-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .expense-info {
            flex: 1;
        }

        .expense-desc {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 2px;
        }

        .expense-meta {
            font-size: 12px;
            color: var(--text-muted);
        }

        .expense-amount {
            font-size: 16px;
            font-weight: 700;
            color: var(--warning);
        }

        .total-cost {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 2px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .total-label {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .total-value {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-primary);
        }

        /* ==================== BUTTONS ==================== */
        .btn-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--dark-border);
        }

        .btn {
            padding: 14px 20px;
            border: none;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--dark-bg);
        }

        .btn-primary:active {
            background: var(--primary-dark);
            transform: scale(0.98);
        }

        .btn-success {
            background: var(--success);
            color: white;
        }

        .btn-outline {
            background: transparent;
            border: 1px solid var(--dark-border);
            color: var(--text-secondary);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(255,211,23,0.05);
        }

        .btn svg {
            width: 16px;
            height: 16px;
        }

        /* ==================== FORMS ==================== */
        .form-section {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-lg);
            padding: 24px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 12px 16px;
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 15px;
            font-family: inherit;
            transition: all 0.2s;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255,211,23,0.05);
        }

        .form-input::placeholder {
            color: var(--text-muted);
        }

        .form-textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        /* Custom Select Styling */
        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffd317' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
            cursor: pointer;
        }

        .form-select option {
            background: var(--dark-card);
            color: var(--text-primary);
            padding: 12px;
        }

        .form-select:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* ==================== NAVIGATION ==================== */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--dark-card);
            border-top: 1px solid var(--dark-border);
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            padding: 12px 0;
            z-index: 100;
            max-width: 480px;
            margin: 0 auto;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 8px;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.2s;
            border-radius: var(--radius-sm);
        }

        .nav-item.active {
            color: var(--primary);
        }

        .nav-item svg {
            width: 24px;
            height: 24px;
        }

        .nav-label {
            font-size: 11px;
            font-weight: 600;
        }

        /* ==================== MODAL ==================== */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.8);
            backdrop-filter: blur(4px);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-lg);
            width: 100%;
            max-width: 440px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: var(--shadow-lg);
        }

        .modal-header {
            padding: 24px;
            border-bottom: 1px solid var(--dark-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .modal-close {
            width: 36px;
            height: 36px;
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .modal-close:hover {
            background: var(--dark-border);
            color: var(--text-primary);
        }

        .modal-body {
            padding: 24px;
        }

        /* ==================== LOGIN ==================== */
        .login-screen {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
        }

        .login-box {
            width: 100%;
            max-width: 400px;
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-lg);
            padding: 40px 32px;
            box-shadow: var(--shadow-lg);
        }

        .login-brand {
            text-align: center;
            margin-bottom: 32px;
        }

        .login-icon {
            width: 64px;
            height: 64px;
            background: var(--primary);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-weight: 900;
            font-size: 24px;
            color: var(--dark-bg);
        }

        .login-title {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .login-subtitle {
            font-size: 14px;
            color: var(--text-secondary);
        }

        /* ==================== EMPTY STATE ==================== */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
        }

        .empty-icon {
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.02);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--text-muted);
        }

        .empty-icon svg {
            width: 40px;
            height: 40px;
        }

        .empty-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .empty-text {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* ==================== ALERT ==================== */
        .alert {
            position: fixed;
            top: 80px;
            left: 20px;
            right: 20px;
            max-width: 440px;
            margin: 0 auto;
            padding: 16px 20px;
            border-radius: var(--radius-md);
            font-weight: 500;
            z-index: 2000;
            display: none;
            box-shadow: var(--shadow-lg);
        }

        .alert.show {
            display: block;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from { transform: translateY(-20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .alert.success {
            background: var(--success);
            color: white;
        }

        .alert.error {
            background: var(--danger);
            color: white;
        }

        /* ==================== MULTI STEP FORM ==================== */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--dark-border);
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step-item.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark-bg);
}

.step-item.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.step-item.active .step-label {
    color: var(--primary);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* ==================== COMPACT VEHICLE CARDS ==================== */
.vehicle-card-compact {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.vehicle-card-compact:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255,211,23,0.15);
}

.vehicle-card-compact:active {
    transform: translateY(0);
}

.vehicle-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.vehicle-compact-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.vehicle-compact-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.vehicle-compact-plate {
    background: var(--primary);
    color: var(--dark-bg);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.vehicle-compact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.compact-detail {
    text-align: center;
}

.compact-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.compact-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.vehicle-compact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--dark-border);
}

.compact-added-by,
.compact-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.vehicle-compact-footer svg {
    opacity: 0.7;
}

/* Hover effect for footer icons */
.vehicle-card-compact:hover .vehicle-compact-footer svg {
    color: var(--primary);
    opacity: 1;
}

/* ==================== DAMAGE RECORD ==================== */
.damage-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--dark-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--dark-border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid var(--dark-border);
}

.car-diagram {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.car-svg {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.car-part {
    cursor: pointer;
    transition: all 0.3s;
    stroke: var(--dark-border);
    stroke-width: 2;
}

.car-part:hover {
    opacity: 0.8;
    stroke: var(--primary);
    stroke-width: 3;
}

.car-part.original {
    fill: #9e9e9e;
}

.car-part.local-paint {
    fill: #ff9800;
}

.car-part.painted {
    fill: #2196f3;
}

.car-part.changed {
    fill: #f44336;
}

.damage-summary {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.damage-summary-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.damage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.damage-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.damage-tag .remove-tag {
    cursor: pointer;
    font-weight: 700;
}

.part-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.part-item {
    padding: 10px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.part-item:hover {
    border-color: var(--primary);
}

.part-item.selected {
    border-color: var(--primary);
    background: rgba(255,211,23,0.1);
}

.color-selector {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    max-width: 90%;
}

.color-selector.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.color-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.color-option {
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.2s;
}

#pwa-setup {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #1a1a1a; color: white;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; font-family: sans-serif;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #ffd700; /* Altın rengi Ömür Motors için şık durabilir */
    border-radius: 50%;
    width: 40px; height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== VADECI PAGE ==================== */
.page-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.vadeci-container {
    max-width: 1000px;
    margin: 0 auto;
}

.vadeci-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-border);
    padding: 20px;
    margin-bottom: 20px;
}

.vadeci-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-border);
}

.vadeci-card-header svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.vadeci-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Summary Cards */
.vadeci-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: var(--card-bg);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

.summary-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.summary-content {
    flex: 1;
}

.summary-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.summary-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

/* Vadeci Table */
.vadeci-table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

.vadeci-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vadeci-table thead {
    background: rgba(99, 102, 241, 0.1);
    border-bottom: 2px solid var(--primary);
}

.vadeci-table th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vadeci-table-row {
    border-bottom: 1px solid var(--dark-border);
    transition: background 0.2s ease;
}

.vadeci-table-row:hover {
    background: rgba(99, 102, 241, 0.05);
}

.vadeci-table-row.last-row {
    background: rgba(39, 174, 96, 0.1);
    border-bottom: 2px solid var(--success);
}

.vadeci-table td {
    padding: 14px 12px;
    color: var(--text-secondary);
}

.interest-cell {
    color: var(--warning) !important;
    font-weight: 600;
}

.total-cell {
    color: var(--primary) !important;
    font-weight: 700;
}

.remaining-cell {
    color: var(--text-muted);
    font-style: italic;
}

.vadeci-results {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .vadeci-summary {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        padding: 16px;
    }
    
    .summary-icon {
        width: 48px;
        height: 48px;
    }
    
    .summary-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .summary-value {
        font-size: 18px;
    }
    
    .vadeci-table {
        font-size: 12px;
    }
    
    .vadeci-table th,
    .vadeci-table td {
        padding: 10px 8px;
    }
    
    .page-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .vadeci-table th:nth-child(4),
    .vadeci-table td:nth-child(4) {
        display: none;
    }
}

/* ==================== SIMPLIFIED REPORTS STYLES ==================== */

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* İstatistik Kartları */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card-simple {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-card-simple.primary::before { background: var(--primary); }
.stat-card-simple.success::before { background: var(--success); }
.stat-card-simple.danger::before { background: var(--danger); }
.stat-card-simple.info::before { background: #3498db; }

.stat-card-simple:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.stat-card-simple .stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stat-value-large {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-card-simple .stat-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Aylık Raporlar Bölümü */
.monthly-reports-section {
    margin-top: 10px;
}

.section-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--dark-border);
}

.section-header-simple h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.section-count {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Ay Listesi */
.months-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.month-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.month-item:hover {
    border-color: var(--primary);
}

.month-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: background 0.2s ease;
}

.month-header:hover {
    background: rgba(255,255,255,0.03);
}

.month-info {
    flex: 1;
}

.month-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expand-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.month-item.expanded .expand-icon {
    transform: rotate(90deg);
}

.month-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.vehicle-count-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.month-stats {
    display: flex;
    gap: 32px;
}

.month-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.stat-label-small {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value-small {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

/* Ay İçeriği */
.month-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.month-item.expanded .month-content {
    max-height: 5000px;
    padding: 0 20px 20px 20px;
}

/* Araç Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

/* Araç Rapor Kartı */
.vehicle-report-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.vehicle-report-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.vehicle-report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.vehicle-report-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.vehicle-report-profit {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vehicle-report-profit.success {
    color: var(--success);
}

.vehicle-report-profit.danger {
    color: var(--danger);
}

.profit-icon {
    font-size: 24px;
}

.vehicle-report-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.vehicle-report-pricing {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.pricing-item.highlight {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.pricing-label {
    font-size: 12px;
    color: var(--text-muted);
}

.pricing-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-item.highlight .pricing-value {
    font-size: 16px;
    color: var(--success);
}

.vehicle-report-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-item svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.vehicle-report-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.vehicle-report-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.vehicle-report-card:hover .vehicle-report-arrow {
    opacity: 1;
    right: 16px;
}

/* Empty State */
.empty-state-clean {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-clean svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.empty-state-clean h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.empty-state-clean p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .month-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .month-stats {
        width: 100%;
        justify-content: space-between;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-report-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 22px;
    }

    .stat-value-large {
        font-size: 26px;
    }

    .month-title {
        flex-wrap: wrap;
    }
}




.color-option:hover {
    border-color: var(--primary);
}

        .hidden { display: none !important; }