:root {
    --primary-color: #198754;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --body-bg: #f8f9fa;
    --text-color: #333;
    --card-bg: #ffffff;
    --table-bg: #ffffff;
    --border-color: #dee2e6;
    --input-bg: #ffffff;
    --input-color: #495057;
    --input-border: #ced4da;
    --input-focus-bg: #ffffff;
    --input-focus-color: #495057;
}

.dark-mode {
    --body-bg: #1a1a1a;
    --text-color: #e9ecef;
    --card-bg: #2d2d2d;
    --table-bg: #2d2d2d;
    --border-color: #404040;
    --input-bg: #3a3a3a;
    --input-color: #e9ecef;
    --input-border: #505050;
    --input-focus-bg: #3a3a3a;
    --input-focus-color: #e9ecef;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.table {
    background-color: var(--table-bg);
    color: var(--text-color);
}

.form-control, .form-select {
    background-color: var(--input-bg);
    color: var(--input-color);
    border-color: var(--input-border);
}

.form-control:focus, .form-select:focus {
    background-color: var(--input-focus-bg);
    color: var(--input-focus-color);
    border-color: var(--primary-color);
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.text-muted {
    opacity: 0.7;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner 0.75s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Vehicle Card Styles - Çok daha modern */
.vehicle-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
}

.dark-mode .vehicle-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #242424 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.vehicle-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.vehicle-card .card-body {
    padding: 1.5rem;
    position: relative;
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.vehicle-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.vehicle-card:hover .vehicle-icon {
    transform: scale(1.1) rotate(5deg);
}

.vehicle-card h5 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.vehicle-card .text-muted {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.vehicle-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0,0,0,0.05);
}

.dark-mode .vehicle-stats {
    border-top-color: rgba(255,255,255,0.05);
}

.vehicle-stat {
    text-align: center;
    flex: 1;
}

.vehicle-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.vehicle-stat-label {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-card .btn-group {
    margin-top: 1rem;
    width: 100%;
}

.vehicle-card .btn {
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.vehicle-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Dashboard specific styles */
.dashboard-header {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    color: white;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.3);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,249,250,1) 100%);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

.dark-mode .stat-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #242424 100%);
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 3.5rem;
    opacity: 0.15;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    opacity: 0.25;
    transform: translateY(-50%) scale(1.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Empty state - Çok daha göze çarpan tasarım */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(32, 201, 151, 0.05) 100%);
    border-radius: 1.5rem;
    border: 2px dashed rgba(25, 135, 84, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.dark-mode .empty-state {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border-color: rgba(25, 135, 84, 0.3);
}

.empty-state i {
    font-size: 6rem;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.8rem;
}

.empty-state p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.empty-state .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    transition: all 0.3s ease;
}

.empty-state .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

/* Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 1rem 0;
    }
    
    .vehicle-stats {
        flex-direction: column;
    }
    
    .vehicle-stat {
        margin-bottom: 0.5rem;
    }
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--text-color);
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.pagination .page-link:hover {
    background-color: var(--light-color);
}

/* Toast */
.toastify {
    font-family: inherit;
    border-radius: 0.5rem;
}

/* Navbar - Modern ve şık */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.dark-mode .navbar {
    background: rgba(45, 45, 45, 0.95) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

.nav-link:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color) !important;
}

.nav-link.active {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    color: white !important;
    -webkit-text-fill-color: white;
}

/* Buttons */
.btn-outline-secondary {
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Dark mode specific adjustments */
.dark-mode .btn-outline-secondary {
    border-color: var(--border-color);
}

.dark-mode .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .table-bordered {
    border-color: var(--border-color);
}

.dark-mode .modal-content {
    background-color: var(--card-bg);
    color: var(--text-color);
}

.dark-mode .modal-header {
    border-bottom-color: var(--border-color);
}

.dark-mode .modal-footer {
    border-top-color: var(--border-color);
}

/* Sortable table headers */
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5rem !important;
}

.sortable:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.sortable i {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}

.sortable.asc i,
.sortable.desc i {
    opacity: 1;
}

/* Charts */
canvas {
    max-height: 400px;
}

/* ============================================
   MODERN DASHBOARD STYLES
   ============================================ */

/* Modern Hero Header */
.modern-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 0.5rem 0 0;
    opacity: 0.95;
}

/* Modern Stat Cards */
.modern-stat-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.modern-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.modern-stat-card:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.modern-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.primary-card .stat-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.primary-card {
    color: #667eea;
}

.success-card .stat-icon-wrapper {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.success-card {
    color: #10b981;
}

.info-card .stat-icon-wrapper {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.info-card {
    color: #3b82f6;
}

.warning-card .stat-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.warning-card {
    color: #f59e0b;
}

.danger-card .stat-icon-wrapper,
.bg-danger-gradient {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white;
}

.danger-card {
    color: #ef4444;
}

.secondary-card .stat-icon-wrapper,
.bg-secondary-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white;
}

.secondary-card {
    color: #6366f1;
}

.bg-warning-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white;
}

.stat-content {
    flex: 1;
}

.modern-stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.modern-stat-card .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.modern-stat-card .stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.modern-stat-card .stat-change i {
    font-size: 0.75rem;
}

.modern-stat-card .stat-value .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
}

.stat-unit {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.7;
    margin-left: 0.25rem;
}

/* Modern Section */
.modern-section {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.section-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-group {
    flex: 1;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    color: #1e293b;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0.25rem 0 0;
}

.section-body {
    padding: 2rem;
}

.section-body canvas {
    max-height: 300px;
    width: 100% !important;
}

/* Modern Button */
.btn-modern-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Vehicles Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Modern Vehicle Card Structure */
.vehicles-grid .vehicle-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.vehicles-grid .vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.vehicle-card-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.vehicle-card-header.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vehicle-card-header.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.vehicle-card-header.bg-gradient-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.vehicle-card-header.bg-gradient-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.vehicle-card-header.bg-gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.vehicle-card-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.vehicle-card-header h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
    color: white;
}

.vehicle-card-header small {
    opacity: 0.9;
    font-size: 0.875rem;
}

.vehicle-card-body {
    padding: 1.5rem;
    flex: 1;
}

.vehicle-card-body .vehicle-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vehicle-card-body .vehicle-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.vehicle-card-body .vehicle-stat:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.vehicle-card-body .vehicle-stat i {
    font-size: 1.5rem;
    width: 32px;
    text-align: center;
}

.vehicle-stat-info {
    flex: 1;
}

.vehicle-card-body .vehicle-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.vehicle-card-body .vehicle-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.vehicle-card-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
}

.vehicle-card-footer .btn {
    flex: 1;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.vehicle-card-footer .btn:hover {
    transform: translateY(-2px);
}

/* Dark Mode Support for Vehicle Cards */
[data-bs-theme="dark"] .vehicles-grid .vehicle-card {
    background: #2d2d2d;
}

[data-bs-theme="dark"] .vehicle-card-body .vehicle-stat {
    background: #1e293b;
}

[data-bs-theme="dark"] .vehicle-card-body .vehicle-stat:hover {
    background: #334155;
}

[data-bs-theme="dark"] .vehicle-card-body .vehicle-stat-value {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .vehicle-card-footer {
    background: #1e293b;
    border-top-color: #334155;
}

/* Modern Empty State */
.modern-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: #94a3b8;
}

.modern-empty-state h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.75rem;
}

.modern-empty-state p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Dark Mode Support */
[data-bs-theme="dark"] .modern-stat-card {
    background: #2d2d2d;
}

[data-bs-theme="dark"] .modern-stat-card .stat-value {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-section {
    background: #2d2d2d;
}

[data-bs-theme="dark"] .section-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-bottom-color: #404040;
}

[data-bs-theme="dark"] .section-title {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .empty-icon {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

/* Tariff Cards - Modern Design */
.tariff-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tariff-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.tariff-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tariff-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.tariff-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.tariff-card-body {
    padding: 1.5rem;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tariff-price {
    padding: 1.5rem 0;
    text-align: center;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-unit {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.tariff-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #334155;
}

.detail-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.tariff-usage-stats {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 0.5rem;
}

.tariff-card-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.modern-btn-group .btn {
    border-radius: 0.75rem !important;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.modern-btn-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-btn-group .btn.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Dark Mode - Tariff Cards */
[data-bs-theme="dark"] .tariff-card {
    background: #2d2d2d;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .tariff-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .detail-item {
    background: #1e293b;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .tariff-usage-stats {
    background: #1e293b;
}

[data-bs-theme="dark"] .tariff-card-footer {
    background: #1e293b;
    border-top-color: #404040;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .modern-stat-card .stat-value {
        font-size: 1.75rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .tariff-name {
        font-size: 1.1rem;
    }
}

/* ========================================
   VEHICLES PAGE - Modern Araç Kartları
   ======================================== */

.vehicle-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.vehicle-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d6832 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.vehicle-info {
    flex: 1;
}

.vehicle-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.vehicle-year {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.vehicle-actions {
    display: flex;
    gap: 0.5rem;
}

.vehicle-actions .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-actions .btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.vehicle-actions .btn-icon.text-danger:hover {
    background: var(--danger-color);
}

.vehicle-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-specs {
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.dark-mode .spec-item {
    background: rgba(255, 255, 255, 0.05);
}

.spec-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.dark-mode .spec-item:hover {
    background: var(--primary-color);
}

.spec-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.spec-item:hover .spec-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.spec-details {
    flex: 1;
}

.spec-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.vehicle-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Modern Empty State */
.modern-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d6832 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
}

.modern-empty-state h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.modern-empty-state p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .vehicle-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vehicle-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .spec-item {
        padding: 0.75rem;
    }
    
    .spec-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .spec-value {
        font-size: 1.1rem;
    }
    
    .vehicle-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ========================================
   MODERN MODAL STYLES
   ======================================== */

.modern-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d6832 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.modern-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.modern-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modern-modal-header .btn-close:hover {
    opacity: 1;
}

.modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.dark-mode .modal-content {
    background-color: var(--card-bg);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}


/* Modern Vehicle Cards */
.modern-vehicle-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.modern-vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.vehicle-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-vehicle-card:hover .vehicle-image {
    transform: scale(1.1);
}

.vehicle-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.vehicle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vehicle-badge i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.badge-primary i { color: #0d6efd; }
.badge-success i { color: #198754; }
.badge-danger i { color: #dc3545; }
.badge-warning i { color: #ffc107; }
.badge-info i { color: #0dcaf0; }
.badge-secondary i { color: #6c757d; }
.badge-dark i { color: #212529; }
.badge-light i { color: #f8f9fa; border: 2px solid #dee2e6; }
.badge-orange i { color: #fd7e14; }
.badge-purple i { color: #6f42c1; }
.badge-brown i { color: #8b4513; }
.badge-pink i { color: #d63384; }
.badge-silver i { color: #c0c0c0; }
.badge-gold i { color: #ffd700; }
.badge-navy i { color: #000080; }
.badge-beige i { color: #f5f5dc; border: 2px solid #dee2e6; }

.vehicle-card-content {
    padding: 1.25rem;
}

.vehicle-header-info {
    margin-bottom: 1rem;
}

.vehicle-brand {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #667eea;
    margin-bottom: 0.2rem;
}

.vehicle-model {
    font-size: 0.85rem;
    font-weight: 600;
    color: #764ba2;
    margin-bottom: 0.4rem;
}

.vehicle-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.4rem 0;
}

.vehicle-year {
    font-size: 0.75rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.vehicle-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0.75rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.spec-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.spec-details {
    flex: 1;
    min-width: 0;
}

.spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.spec-label {
    font-size: 0.65rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.vehicle-stats-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
}

.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-item i {
    font-size: 0.9rem;
}

.vehicle-actions-row {
    display: flex;
    gap: 0.5rem;
}

.vehicle-actions-row .btn {
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s;
}

.vehicle-actions-row .btn:hover {
    transform: translateY(-2px);
}

.vehicle-actions-row .btn i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .vehicle-specs-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .vehicle-card-image {
        height: 180px;
    }
    
    .spec-value {
        font-size: 0.95rem;
    }
    
    .vehicle-card-content {
        padding: 1rem;
    }
}

/* ========================================
   DASHBOARD INFORMATION CARDS
   ======================================== */

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.welcome-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.dark-mode .info-card {
    background: #2a2a3e;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark-mode .info-card h4 {
    color: #fff;
}

.info-card h4 i {
    color: #667eea;
}

/* Tariff Item */
.tariff-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.dark-mode .tariff-item {
    background: #1e1e2f;
}

.tariff-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tariff-item:last-child {
    margin-bottom: 0;
}

.tariff-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.tariff-item > div {
    flex: 1;
    font-weight: 500;
    color: #495057;
}

.dark-mode .tariff-item > div {
    color: #e0e0e0;
}

.tariff-item .badge {
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Calculation Step */
.calculation-step {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.dark-mode .calculation-step {
    background: #1e1e2f;
}

.calculation-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.calculation-step h6 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.dark-mode .calculation-step h6 {
    color: #fff;
}

.calculation-step code {
    display: block;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: #667eea;
    font-family: 'Courier New', monospace;
}

.dark-mode .calculation-step code {
    background: #2a2a3e;
    color: #a78bfa;
}

/* Tip Cards */
.tip-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.dark-mode .tip-card {
    background: #2a2a3e;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tip-card-primary {
    border-left-color: #667eea;
}

.tip-card-success {
    border-left-color: #10b981;
}

.tip-card-info {
    border-left-color: #3b82f6;
}

.tip-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-card-primary i {
    color: #667eea;
}

.tip-card-success i {
    color: #10b981;
}

.tip-card-info i {
    color: #3b82f6;
}

.tip-card h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
}

.dark-mode .tip-card h5 {
    color: #fff;
}

.tip-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.dark-mode .tip-card p {
    color: #b0b0c0;
}

/* Quick Action Cards */
.quick-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.dark-mode .quick-action-card {
    background: #2a2a3e;
}

.quick-action-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.quick-action-icon.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quick-action-icon.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.quick-action-icon.bg-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.quick-action-icon.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quick-action-card h6 {
    margin: 0;
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.dark-mode .quick-action-card h6 {
    color: #fff;
}

.quick-action-card > i:last-child {
    color: #6c757d;
    font-size: 1rem;
}

.dark-mode .quick-action-card > i:last-child {
    color: #b0b0c0;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .welcome-card {
        padding: 1.5rem;
    }
    
    .welcome-card h2 {
        font-size: 1.5rem;
    }
    
    .tariff-item,
    .calculation-step {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .tariff-item > div {
        width: 100%;
    }
    
    .quick-action-card {
        padding: 1rem;
    }
}

/* ========================================
   MODERN CALCULATION CARD
   ======================================== */

.modern-calculation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.modern-calc-step {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-mode .modern-calc-step {
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a3e 100%);
    border-color: #3a3a4e;
}

.modern-calc-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-calc-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.modern-calc-step:hover::before {
    opacity: 1;
}

.calc-step-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.calc-step-content-modern {
    flex: 1;
}

.calc-step-title-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}

.dark-mode .calc-step-title-modern {
    color: #fff;
}

.calc-formula-modern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e9ecef;
}

.dark-mode .calc-formula-modern {
    background: #2a2a3e;
    border-color: #3a3a4e;
}

.formula-part {
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.formula-operator {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
}

.dark-mode .formula-operator {
    color: #a78bfa;
}

.calc-description-modern {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.dark-mode .calc-description-modern {
    color: #b0b0c0;
}

/* ========================================
   MODERN INFO CARDS (Battery & Charging)
   ======================================== */

.info-modern-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.dark-mode .info-modern-card {
    background: #2a2a3e;
    border-color: #3a3a4e;
}

.info-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.info-card-header-modern i {
    font-size: 2rem;
}

.info-card-header-modern h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.info-card-body-modern {
    padding: 1.5rem;
}

/* Battery Information Styles */
.battery-info-item {
    margin-bottom: 1.5rem;
}

.battery-info-item:last-child {
    margin-bottom: 0;
}

.battery-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nmc-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.lfp-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.battery-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.battery-stat {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 2px solid #e9ecef;
}

.dark-mode .battery-stat {
    background: #1e1e2f;
    border-color: #3a3a4e;
}

.battery-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.dark-mode .battery-stat .stat-label {
    color: #b0b0c0;
}

.battery-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.battery-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border-left: 3px solid #667eea;
}

.dark-mode .battery-description {
    background: #1e1e2f;
    color: #b0b0c0;
}

.battery-description i {
    color: #667eea;
    margin-right: 0.5rem;
}

.battery-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin: 1.5rem 0;
}

.dark-mode .battery-divider {
    background: linear-gradient(90deg, transparent 0%, #3a3a4e 50%, transparent 100%);
}

.battery-tip {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: #333;
    border-left: 4px solid #667eea;
    margin-top: 1rem;
}

.dark-mode .battery-tip {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e2f 100%);
    color: #e0e0e0;
}

.battery-tip i {
    color: #667eea;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.battery-tip strong {
    color: #667eea;
}

/* Charging Comparison Styles */
.charging-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.charging-type {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.dark-mode .charging-type {
    background: #1e1e2f;
    border-color: #3a3a4e;
}

.charging-type:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ac-charging {
    border-left: 4px solid #10b981;
}

.dc-charging {
    border-left: 4px solid #f59e0b;
}

.charging-type-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.dark-mode .charging-type-header {
    border-bottom-color: #3a3a4e;
}

.charging-type-header i {
    font-size: 1.5rem;
}

.ac-charging .charging-type-header i {
    color: #10b981;
}

.dc-charging .charging-type-header i {
    color: #f59e0b;
}

.charging-type-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.dark-mode .charging-type-header h6 {
    color: #fff;
}

.charging-specs {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.charging-spec {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 0.5rem;
}

.dark-mode .charging-spec {
    background: #2a2a3e;
}

.charging-spec i {
    width: 24px;
    text-align: center;
    color: #667eea;
}

.charging-spec span {
    font-size: 0.9rem;
    color: #495057;
}

.dark-mode .charging-spec span {
    color: #e0e0e0;
}

.charging-spec strong {
    color: #333;
}

.dark-mode .charging-spec strong {
    color: #fff;
}

.charging-note {
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.ac-note {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dc-note {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.dark-mode .ac-note {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.dark-mode .dc-note {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.charging-note i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.charging-divider {
    text-align: center;
    padding: 0.5rem 0;
}

.charging-divider i {
    font-size: 1.5rem;
    color: #667eea;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode .charging-divider i {
    background: #2a2a3e;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-calculation-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-formula-modern {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .battery-stats {
        grid-template-columns: 1fr;
    }
    
    .charging-type:hover {
        transform: none;
    }
}

/* ========================================
   SESSION TIMER
   ======================================== */

.session-timer {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 2rem !important;
    padding: 0.5rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.875rem;
    cursor: default;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.session-timer.warning {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%) !important;
    animation: timerWarning 1s ease-in-out infinite;
}

.session-timer.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    animation: timerDanger 0.5s ease-in-out infinite;
}

@keyframes timerWarning {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 152, 0, 0.7);
    }
}

@keyframes timerDanger {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6);
    }
    50% {
        box-shadow: 0 4px 25px rgba(239, 68, 68, 0.9);
    }
}

.session-timer i {
    margin-right: 0.5rem;
}

#sessionTimeDisplay {
    font-family: 'Courier New', monospace;
    font-weight: 700;
}
 
 