/* =========================================================
   VLOOT PANEL - PURE TRANSPArent GLASS MODE (v4.5.0)
========================================================= */

.vloot-dashboard-page {
    background: #000000 !important;
    font-family: 'ScaniaSansBold', 'AppleColorEmojiCustom', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.vloot-page {
    position: relative;
    padding: 160px 4% 60px;
    min-height: 100vh;
    /* Arka plan görseliniz hiçbir renk maskesi olmadan tamamen yalın ve engelsiz */
    background: url('../img/1920x1080-ILS-Background.png') no-repeat center center fixed;
    background-size: cover;
}

/* GÜNCELLEME: Tüm siyahlıklar ve beyazlıklar tamamen kaldırıldı, sadece saf net cam filtresi bırakıldı */
.vloot-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.25); /* Sadece tır görselinin detaylarını bozmayacak loş bir kontrast dengesi */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 0;
}

.vloot-auth-container, 
.vloot-dashboard-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.vloot-header {
    text-align: left;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

/* Saf Şeffaf Mod Yazı Renkleri - Apple Beyazı */
.pure-glass-title {
    font-size: 2.2rem;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.pure-glass-sub {
    font-size: 0.9rem;
    color: #e4e4e7 !important;
    max-width: 700px;
    margin-top: 6px;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* --- GÜNCELLEME: %100 SAF VE SÜSLEMELERDEN ARINDIRILMIŞ ŞEFFAF KRİSTAL KUTULAR --- */
.auth-forms-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.vloot-auth-box { 
    background: rgba(255, 255, 255, 0.04); /* Süt beyazlığı tamamen yok edildi, saf transparan cam */
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vloot-auth-box:hover {
    border-color: rgba(169, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.vloot-auth-box h2 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.vloot-form { display: flex; flex-direction: column; gap: 16px; }
.vloot-group { display: flex; flex-direction: column; gap: 6px; }

.vloot-group label {
    color: #a1a1aa;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vloot-group input {
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}
.vloot-group input:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.7);
}

.btn-primary-auth, .btn-secondary-auth {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-primary-auth {
    background: var(--primary-color);
    color: #ffffff;
}
.btn-primary-auth:hover { background: #800000; box-shadow: 0 6px 15px rgba(169,0,0,0.3); }

.btn-secondary-auth {
    background: #ffffff;
    color: #09090b;
}
.btn-secondary-auth:hover { background: #e4e4e7; }

/* Bento Şeffaf Kristal Düzeni */
.vloot-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.vloot-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.vloot-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(169, 0, 0, 0.3);
}

.profile-card { grid-column: span 5; justify-content: space-between; }
.stats-card { grid-column: span 7; }
.integrations-card { grid-column: span 4; }
.garage-card { grid-column: span 8; }

.vloot-driver-badge-anchor { text-decoration: none; color: inherit; display: block; }
.vloot-driver-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.2s ease;
}
.vloot-driver-badge:hover { background: rgba(255, 255, 255, 0.05); }
.vloot-driver-badge img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--primary-color); object-fit: cover; }
.driver-meta-text h3 { font-size: 1.15rem; color: #ffffff; }
.sub-driver-id { color: var(--primary-color); font-size: 0.82rem; font-weight: bold; }

.profile-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    margin-top: 14px;
}
.membership-date { color: #a1a1aa; font-size: 0.82rem; }
.btn-vloot-logout { background: transparent; border: none; color: #f87171; font-family: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.btn-vloot-logout:hover { color: #ef4444; }

.vloot-card h3 { font-size: 1.1rem; color: #ffffff; margin-bottom: 16px; font-weight: 600; }

/* İstatistik Hücreleri */
.stats-holder { display: flex; justify-content: space-between; gap: 12px; height: 100%; align-items: center; }
.stat-box { text-align: center; flex: 1; background: rgba(0, 0, 0, 0.3); padding: 14px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); }
.stat-num { display: block; font-size: 2rem; color: #ffffff; font-weight: bold; line-height: 1; margin-bottom: 4px; }
.stat-box span:last-child { font-size: 0.78rem; color: #a1a1aa; font-weight: 500; }

/* Entegrasyonlar */
.toggle-list { display: flex; flex-direction: column; gap: 8px; }
.toggle-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: rgba(0, 0, 0, 0.3); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.85rem; color: #e4e4e7; }
.apple-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.apple-switch input { opacity: 0; width: 0; height: 0; }
.apple-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #27272a; transition: .2s ease; border-radius: 34px; }
.apple-switch .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .2s ease; border-radius: 50%; }
.apple-switch input:checked + .slider { background-color: #22c55e; }
.apple-switch input:checked + .slider:before { transform: translateX(18px); }

/* Garaj Satırları */
.garage-list { display: flex; flex-direction: column; gap: 8px; }
.truck-row { display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.3); padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); }
.truck-info-side { display: flex; align-items: center; gap: 12px; }
.truck-row img, .vloot-card .mini-p { width: 44px; height: 40px; border-radius: 6px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.05); }
.vloot-card .mini-p { background: rgba(255, 255, 255, 0.04); color: #a1a1aa; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: bold; }
.truck-meta h4 { font-size: 0.88rem; color: #ffffff; font-weight: 600; }
.vloot-badge { font-size: 0.72rem; padding: 1px 6px; border-radius: 4px; font-weight: bold; margin-top: 2px; display: inline-block; }
.vloot-badge.ready { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.vloot-badge.process { background: rgba(250, 155, 5, 0.15); color: #fbbf24; }
.vloot-download-btn { background: #ffffff; color: #09090b; padding: 6px 14px; border-radius: 6px; font-size: 0.78rem; border: none; cursor: pointer; font-weight: 600; text-decoration: none; transition: background 0.2s ease; }
.vloot-download-btn:hover:not(.disabled) { background: #e4e4e7; }
.vloot-download-btn.disabled { background: rgba(255, 255, 255, 0.02); color: #4b5563; cursor: not-allowed; }

@media screen and (max-width: 900px) {
    .auth-forms-split-grid { grid-template-columns: 1fr; }
    .profile-card, .stats-card, .integrations-card, .garage-card { grid-column: span 12; }
}