{
  "name": "traccar-backend",
  "version": "2.0.0",
  "description": "Modern Traccar Tracking Backend API",
  "main": "../backend/server.js",
  "scripts": {
    "start": "node ../backend/server.js",
    "dev": "../backend/node_modules/.bin/nodemon server.js",
    "test": "echo \"No tests yet\" && exit 0"
  },
  "keywords": [
    "traccar",
    "tracking",
    "gps",
    "api"
  ],
  "author": "Cayir Bilisim",
  "license": "MIT",
  "dependencies": {
    "axios": "^1.13.2",
    "compression": "^1.8.1",
    "cookie-parser": "^1.4.7",
    "cors": "^2.8.5",
    "dotenv": "^16.6.1",
    "express": "^4.22.1",
    "express-rate-limit": "^7.5.1",
    "express-session": "^1.18.2",
    "helmet": "^7.2.0"
  },
  "devDependencies": {
    "nodemon": "^3.0.3"
  },
  "engines": {
    "node": ">=18.0.0",
    "npm": ">=9.0.0"
  }
}
ubuntu@ip-172-31-46-101:/var/www/html$ ls
index.html  package.json  script.js  style.css
ubuntu@ip-172-31-46-101:/var/www/html$ cat style.css
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2196F3;
    --secondary: #FF9800;
    --success: #4CAF50;
    --danger: #f44336;
    --warning: #FFC107;
    --bg: #f5f5f5;
    --bg-dark: #fff;
    --text: #333;
    --text-light: #666;
    --border: #ddd;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    --gradient-danger: linear-gradient(135deg, #f44336 0%, #c62828 100%);
    --gradient-warning: linear-gradient(135deg, #FF9800 0%, #EF6C00 100%);
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
}
#app {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.screen {
    display: none;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.screen.active {
    display: flex;
}

#loginScreen {
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
}
.login-container {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    margin: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.login-header h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.login-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* TABS */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* FORMS */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.8rem;
}

.tab-content {
    display: none;
}

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

/* CHECKBOX */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.9rem;
}

/* MESSAGES */
.message {
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
    animation: slideIn 0.3s ease;
}

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

.message.show {
    display: block;
}

.message.error {
    background-color: #ffebee;
    color: var(--danger);
    border: 1px solid #ffcdd2;
}

.message.success {
    background-color: #e8f5e9;
    color: var(--success);
    border: 1px solid #c8e6c9;
}

.message.info {
    background-color: #e3f2fd;
    color: var(--primary);
    border: 1px solid #bbdefb;
}

/* BUTTONS */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #F57C00;
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.btn-close:hover {
    background-color: var(--bg);
    color: var(--danger);
}

/* PASSWORD TOGGLE */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
    padding: 5px;
    line-height: 1;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: var(--primary);
}

/* MAIN SCREEN */
.header {
    background: white;
    padding: 8px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    height: 60px;
    z-index: 50;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.header-left h1 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: var(--bg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right .btn-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.container {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* OVERLAY */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sidebar-overlay.active {
    display: block;
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    overflow: hidden;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.profile-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 3px;
}

.profile-email {
    font-size: 12px;
    opacity: 0.9;
}

/* VEHICLES SIDEBAR */
.vehicles-sidebar-section {
    padding: 20px;
    max-height: 280px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
}

.sidebar-header:hover {
    background: var(--bg);
}

.sidebar-header h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#vehicleToggleIcon {
    display: inline-block;
    transition: transform 0.3s;
    font-size: 10px;
}

.sidebar-vehicle-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 240px;
    overflow-y: auto;
    transition: max-height 0.3s;
    padding-right: 5px;
}

.sidebar-vehicle-list.hidden {
    max-height: 0;
    overflow: hidden;
}

.sidebar-vehicle-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-size: 12px;
    animation: slideIn 0.3s ease;
}

.sidebar-vehicle-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.sidebar-vehicle-name {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    font-size: 13px;
}

.sidebar-vehicle-info {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.sidebar-vehicle-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-vehicle-badge.online {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.sidebar-vehicle-badge.offline {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.menu-item:hover {
    background: var(--bg);
    color: var(--primary);
    transform: translateX(8px);
}

.menu-item.active {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.menu-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.content-view {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: none;
    animation: fadeIn 0.3s ease;
}

.content-view.active {
    display: block;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.form-card h2 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

input[readonly] {
    background: var(--bg);
    cursor: not-allowed;
}

/* MAP */
.map-container {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    position: relative;
}

.my-location-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    transition: all 0.3s;
    color: var(--primary);
}

.my-location-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.vehicle-map-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 55vh;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vehicle-map-panel.hidden {
    transform: translateY(100%);
}

.vehicle-map-panel:not(.hidden) {
    transform: translateY(0);
}

.panel-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.panel-header h2 {
    font-size: 18px;
    margin: 0;
    color: white;
    font-weight: 700;
}

.panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.info-card {
    padding: 15px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.info-card label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-card .value {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    word-wrap: break-word;
    margin: 0;
}

/* ============================
   YENİ DASHBOARD STİLLERİ
   ============================ */

.dashboard-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100%;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideIn 0.5s ease;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #1a237e, #283593);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-subtitle {
    font-size: 18px;
    color: #666;
    opacity: 0.9;
    font-weight: 500;
}

/* İstatistik Kartları */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-card:nth-child(1)::before { background: linear-gradient(90deg, #4CAF50, #2E7D32); }
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, #f44336, #c62828); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, #FF9800, #EF6C00); }
.stat-card:nth-child(4)::before { background: linear-gradient(90deg, #2196F3, #1976D2); }

.stat-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
    color: #2E7D32;
}
.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(198, 40, 40, 0.1));
    color: #c62828;
}
.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(239, 108, 0, 0.1));
    color: #EF6C00;
}
.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(25, 118, 210, 0.1));
    color: #1976D2;
}

.stat-value {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #1a237e, #283593);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.stat-card:nth-child(1) .stat-value {
    background: linear-gradient(90deg, #2E7D32, #4CAF50);
    -webkit-background-clip: text;
}
.stat-card:nth-child(2) .stat-value {
    background: linear-gradient(90deg, #c62828, #f44336);
    -webkit-background-clip: text;
}
.stat-card:nth-child(3) .stat-value {
    background: linear-gradient(90deg, #EF6C00, #FF9800);
    -webkit-background-clip: text;
}
.stat-card:nth-child(4) .stat-value {
    background: linear-gradient(90deg, #1976D2, #2196F3);
    -webkit-background-clip: text;
}

.stat-label {
    color: #666;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 10px;
    opacity: 0.9;
}

.stat-trend {
    font-size: 13px;
    margin-top: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.stat-trend.positive {
    background: rgba(76, 175, 80, 0.15);
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.stat-trend.negative {
    background: rgba(244, 67, 54, 0.15);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Hızlı Erişim Butonları */
.quick-actions {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-actions h2 {
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    text-align: center;
    min-height: 120px;
    justify-content: center;
}

.action-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.action-btn i {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Araç Listesi Grid */
.vehicles-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    color: #1a237e;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-weight: 700;
}

.view-all-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.vehicle-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.vehicle-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.vehicle-card:hover {
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    transform: translateY(-10px) scale(1.02);
}

.vehicle-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.vehicle-card h3 {
    color: #1a237e;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    flex: 1;
}

.vehicle-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.vehicle-status.online {
    background: rgba(76, 175, 80, 0.15);
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.vehicle-status.offline {
    background: rgba(244, 67, 54, 0.15);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.vehicle-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #666;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.vehicle-info:hover {
    background: #eef2ff;
    transform: translateX(5px);
}

.vehicle-info i {
    width: 20px;
    color: #667eea;
    font-size: 16px;
}

.vehicle-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Chart Container */
.chart-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-container h2 {
    color: #1a237e;
    margin-bottom: 25px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.chart-placeholder {
    height: 250px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-weight: 600;
    font-size: 18px;
    gap: 15px;
    border: 2px dashed rgba(102, 126, 234, 0.3);
}

.chart-placeholder i {
    font-size: 48px;
    opacity: 0.7;
}

/* GEOFENCES */
.geofence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.geofence-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--success);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.geofence-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.geofence-card h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 18px;
}

.geofence-card p {
    color: var(--text-light);
    font-size: 14px;
}

.loading {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    font-size: 14px;
    animation: pulse 2s infinite;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4192);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicle-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 60px;
        width: 300px;
        height: calc(100% - 60px);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 32px;
    }

    .vehicle-list-grid {
        grid-template-columns: 1fr;
    }

    .page-container {
        padding: 20px;
    }

    .dashboard-title {
        font-size: 24px;
    }

    .dashboard-subtitle {
        font-size: 14px;
    }

    .geofence-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-map-panel {
        max-height: 65vh;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 32px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .dashboard-header {
        padding: 20px;
    }
    
    .quick-actions {
        padding: 20px;
    }
    
    .chart-container {
        padding: 20px;
    }
    
    .vehicles-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-left h1 {
        font-size: 1rem;
    }

    .logo-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .btn-sm {
        padding: 6px 10px;
        font-size: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        font-size: 32px;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }

    .stat-value {
        font-size: 28px;
    }

    .dashboard-title {
        font-size: 20px;
    }

    .sidebar {
        width: 85%;
    }

    .page-container {
        padding: 15px;
    }

    .form-card {
        padding: 20px;
    }

    .my-location-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }
    
    .action-btn {
        min-height: 100px;
        padding: 15px;
    }
    
    .vehicle-card {
        padding: 20px;
    }
    
    .vehicle-card h3 {
        font-size: 18px;
    }
}
