* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f9;
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-box {
    width: 350px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #1e3a8a;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.hata {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.panel {
    display: flex;
    min-height: 100vh;
}

aside {
    width: 250px;
    background: #0f172a;
    color: white;
    padding: 25px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
}

aside h2 {
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

aside a {
    display: block;
    color: #e5e7eb;
    text-decoration: none;
    padding: 13px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: 0.2s;
}

aside a:hover {
    background: #1e293b;
    color: white;
}

.sidebar{
    width:280px;
    min-height:100vh;
    background:linear-gradient(180deg,#0f172a,#111827);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:24px 18px;
    position:sticky;
    top:0;
}

.sidebar-top{
    margin-bottom:35px;
}

.sidebar-logo{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:10px;
}

.sidebar-logo img{
    width:54px;
    height:54px;
    object-fit:contain;
    border-radius:14px;
    background:white;
    padding:6px;
}

.sidebar-logo h3{
    margin:2px 0 4px 0;
    font-size:20px;
    color:white;
    line-height:1.1;
}

.sidebar-logo p{
    margin:0;
    color:#94a3b8;
    font-size:13px;
}

.sidebar-menu{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.sidebar-menu a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#e2e8f0;
    padding:14px 16px;
    border-radius:14px;
    transition:0.25s;
    font-weight:500;
}

.sidebar-menu a:hover{
    background:rgba(255,255,255,0.08);
    color:white;
    transform:translateX(4px);
}

.sidebar-menu a.active{
    background:#2563eb;
    color:white;
    box-shadow:0 10px 25px rgba(37,99,235,0.28);
}

.online-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 0 6px rgba(34,197,94,0.18);
}

.logout-link{
    margin-top:14px;
    background:rgba(239,68,68,0.12);
    color:#fca5a5 !important;
}

.logout-link:hover{
    background:#ef4444 !important;
    color:white !important;
}

.sidebar-footer{
    margin-top:30px;
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,0.06);
    display:flex;
    align-items:center;
    gap:14px;
}

.sidebar-footer img{
    width:44px;
    height:44px;
    object-fit:contain;
    background:white;
    border-radius:12px;
    padding:4px;
}

.sidebar-footer strong{
    display:block;
    color:white;
    margin-bottom:4px;
}

.sidebar-footer span{
    color:#94a3b8;
    font-size:13px;
}

.sidebar-k-logo{
    width:54px;
    height:54px;
    border-radius:16px;
    background:linear-gradient(135deg,#93c5fd,#1e3a8a);
    color:white;
    font-size:28px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

main {
    flex: 1;
    padding: 35px;
    min-width: 0; /* Flexbox taşmalarını önler */
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.card {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    padding: 25px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 25px rgba(37,99,235,0.18);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-title {
    display: block;
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.card strong {
    display: block;
    font-size: 38px;
    font-weight: bold;
    word-break: break-word;
}

.form-box,
.table-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.form-box form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-box input,
.form-box select {
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-box button {
    padding: 11px 20px;
    border: none;
    background: #1e3a8a;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

table th {
    background: #f9fafb;
}

.aktif {
    color: #15803d;
    font-weight: bold;
}

.pasif {
    color: #b91c1c;
    font-weight: bold;
}

.sil-btn {
    background: #dc2626;
    color: white;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.duzenle-btn {
    background: #2563eb;
    color: white;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 5px;
}

.iptal-btn {
    background: #6b7280;
    color: white;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
}

.arama-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.arama-form input {
    padding: 11px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 250px;
}

.arama-form button {
    padding: 11px 20px;
    border: none;
    background: #1e3a8a;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

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

canvas {
    max-width: 100%;
    margin-top: 15px;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #16a34a;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(-15px);
    transition: 0.3s;
    z-index: 9999;
}

.toast.goster {
    opacity: 1;
    transform: translateY(0);
}

.toast.hata {
    background: #dc2626;
}

.toast.uyari {
    background: #f59e0b;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

.modal-overlay.aktif {
    display: flex;
}

.modal-box {
    background: white;
    width: 380px;
    max-width: 90%;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    text-align: center;
}

.modal-box h3 {
    margin-bottom: 10px;
}

.modal-box p {
    color: #6b7280;
    margin-bottom: 22px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-cancel {
    background: #6b7280;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.modal-delete {
    background: #dc2626;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
}

td .aktif,
td .pasif {
    margin-left: 6px;
}

.gunler-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.gunler-box label {
    background: #f3f4f6;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.uyari-yazi {
    color: #d97706;
    font-weight: bold;
}

.ust-islemler {
    margin-bottom: 20px;
}

.menu-badge{
    display:block;
    font-size:11px;
    color:#94a3b8;
    margin-top:2px;
}

.card-link {
    text-decoration: none;
}

.dashboard-actions{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:25px;
}

.action-card{
    background:white;
    padding:24px;
    border-radius:16px;
    text-decoration:none;
    color:#111827;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
    transition:0.2s;
}

.action-card:hover{
    transform:translateY(-4px);
}

.action-card h3{
    margin-bottom:10px;
    color:#2563eb;
}

.action-card p{
    color:#64748b;
    line-height:1.6;
}

.gps-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:24px;
}

.gps-map,
.gps-info-card{
    background:white;
    border-radius:18px;
    padding:22px;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
}

.gps-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.gps-badge{
    background:#dbeafe;
    color:#2563eb;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}

.gps-side{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.gps-info-card p{
    margin:15px 0;
    color:#64748b;
    line-height:1.7;
}

.gps-info-card ul{
    padding-left:18px;
    line-height:2;
}

.gps-status{
    margin-top:15px;
    background:#eff6ff;
    color:#2563eb;
    padding:18px;
    border-radius:12px;
    font-weight:600;
}

.fake-map {
    position: relative;
    width: 100%;
    height: 340px;
    min-height: 340px;
    border-radius: 18px;
    overflow: hidden;
    margin-top: 15px;
    background:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url("https://tile.openstreetmap.org/10/549/374.png");
    background-size: cover;
    background-position: center;
    border: 1px solid #e5e7eb;
}

.map-point {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(37,99,235,0.18);
    animation: pulse 2s infinite;
}

.map-point span {
    position: absolute;
    top: 25px;
    left: -25px;
    background: #111827;
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
}

.point-1 { top: 80px; left: 160px; }
.point-2 { top: 190px; left: 430px; }
.point-3 { top: 120px; right: 160px; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.35); }
    70% { box-shadow: 0 0 0 14px rgba(37,99,235,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* ==========================================================================
   ADMIN LOGIN & KS LOGIN & SLIDER ALANLARI
   ========================================================================== */

.admin-login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #f8fafc;
}

.admin-login-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.admin-login-left {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.admin-login-box {
    width: 100%;
    max-width: 410px;
    background: #ffffff;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.admin-login-box h2 {
    color: #1d4ed8;
    font-size: 30px;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #64748b;
    margin-bottom: 26px;
}

.admin-login-box input {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 11px;
    margin-bottom: 13px;
    font-size: 15px;
}

.admin-login-box button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 11px;
    background: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

.site-back-btn {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 13px;
    border-radius: 11px;
    background: #e5e7eb;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.admin-login-right {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.32), transparent 35%),
        linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;
}

.admin-slide-content {
    max-width: 540px;
}

.admin-slide-content span {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 9px 15px;
    border-radius: 999px;
    margin-bottom: 20px;
    color: #dbeafe;
}

.admin-slide-content h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.admin-slide-content p {
    color: #dbeafe;
    line-height: 1.8;
    margin-bottom: 25px;
}

.slide-items {
    display: grid;
    gap: 12px;
}

.slide-items div {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 14px 16px;
    border-radius: 14px;
}

.admin-slider{
    position:relative;
    width:100%;
    height:100%;
    border-radius:24px;
    overflow:hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1s;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.slide-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(15,23,42,0.85), rgba(15,23,42,0.35));
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:60px;
    color:white;
}

.slide-overlay span{
    display:inline-block;
    width:max-content;
    background:rgba(255,255,255,0.14);
    border:1px solid rgba(255,255,255,0.25);
    padding:9px 15px;
    border-radius:999px;
    margin-bottom:18px;
    color:#dbeafe;
}

.slide-overlay h1{
    font-size:44px;
    line-height:1.15;
    margin-bottom:16px;
}

.slide-overlay p{
    max-width:500px;
    line-height:1.8;
    color:#dbeafe;
}

.slider-dots{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:20;
}

.dot{
    cursor: pointer;
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,0.45);
    transition:0.3s;
}

.active-dot{
    background:white;
    transform:scale(1.2);
}

.ks-login-page {
    margin: 0;
    min-height: 100vh;
    background: #eef3f9;
}

.ks-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 33% 67%;
    padding: 22px;
    gap: 0;
}

.ks-login-left {
    background: #ffffff;
    border-radius: 18px 0 0 18px;
    padding: 70px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ks-brand{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:95px;
}

.ks-logo-mark{
    width:90px;
    height:90px;
    border-radius:24px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.ks-logo-mark img{
    width:78px;
    height:78px;
    object-fit:contain;
    display:block;
}

.ks-brand h2 {
    font-size: 28px;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.ks-brand p {
    margin: 0;
    color: #334155;
    font-size: 15px;
}

.ks-login-content h1 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 12px;
}

.ks-login-content > p {
    color: #334155;
    margin-bottom: 30px;
}

.ks-input-group {
    height: 60px;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    margin-bottom: 22px;
    background: white;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.ks-input-group span {
    font-size: 20px;
    margin-right: 14px;
    opacity: 0.75;
}

.ks-input-group input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #0f172a;
    background: transparent;
}

.ks-login-btn {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.30);
}

.ks-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    color: #64748b;
}

.ks-divider span {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.ks-back-btn {
    height: 56px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-login-right {
    min-height: calc(100vh - 44px);
    border-radius: 0 18px 18px 0;
    overflow: hidden;
}

.ks-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 44px);
    overflow: hidden;
}

.ks-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 0.8s ease;
}

.ks-slide.active {
    opacity: 1;
    z-index: 2;
}

.ks-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ks-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.25)),
        linear-gradient(to right, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.05));
    z-index: 1;
}

.ks-slide-content {
    position: absolute;
    z-index: 3;
    left: 90px;
    right: 70px;
    bottom: 80px;
    color: white;
}

.ks-slide-content span {
    display: inline-block;
    background: #2563eb;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 18px;
}

.ks-slide-content h1 {
    font-size: 54px;
    line-height: 1.08;
    max-width: 760px;
    margin-bottom: 18px;
}

.ks-slide-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #e0ecff;
    max-width: 720px;
    margin-bottom: 35px;
}

.ks-feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 760px;
}

.ks-feature-row div {
    text-align: center;
    color: white;
    font-weight: 600;
    line-height: 1.45;
}

.ks-dots {
    position: absolute;
    z-index: 10;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
}

.ks-dot {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}

.ks-dot.active-dot {
    background: #2563eb;
    transform: scale(1.2);
}


/* ==========================================================================
   YENİLENMİŞ VE HATASIZ RESPONSIVE MEDYA SORGULARI
   ========================================================================== */

/* 1) BÜYÜK TABLET VE LAPTOPLAR (max-width: 1200px) */
@media (max-width: 1200px) {
    .admin-slide-content h1, .slide-overlay h1 {
        font-size: 36px;
    }
    .ks-slide-content h1 {
        font-size: 40px;
    }
    .ks-slide-content {
        left: 50px;
        right: 40px;
        bottom: 50px;
    }
    .ks-feature-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 2) TABLET VE KÜÇÜK EKRANLAR (max-width: 1024px) */
@media (max-width: 1024px) {
    /* Admin Login Düzenlemesi (Tek Sütun / Görsel Gizleme) */
    .admin-login-wrapper {
        grid-template-columns: 1fr;
    }
    .admin-login-right {
        display: none; /* Tabletlerde sağdaki karmaşık slider/renk yapısı gizlenir */
    }
    .admin-login-left {
        min-height: 100vh;
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    }

    /* KS Login Düzenlemesi */
    .ks-login-shell {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .ks-login-left {
        border-radius: 14px;
        padding: 50px 30px;
    }
    .ks-login-right {
        display: none; /* Tabletlerde sağ alan gizlenerek form ortalanır */
    }
    .ks-brand {
        margin-bottom: 50px;
        justify-content: center;
        text-align: left;
    }

    /* Genel Panel Altyapısı */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3) MOBİL VE KÜÇÜK TABLETLER (max-width: 768px) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }



    main h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card {
        padding: 18px;
    }

    .card strong {
        font-size: 28px;
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

    .form-box,
    .table-box,
    .gps-map,
    .gps-info-card {
        padding: 16px;
        border-radius: 14px;
    }

    /* Form Elemanlarını Full Genişlik Yapma */
    .form-box form, .arama-form {
        flex-direction: column;
        gap: 8px;
    }

    .form-box input,
    .form-box select,
    .form-box button,
    .form-box textarea,
    .arama-form input,
    .arama-form button,
    .arama-form a {
        width: 100% !important;
        min-width: unset !important;
        text-align: center;
    }

    /* Tablo Kaydırma Çözümü (Responsive Table) */
    .table-box {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 750px; /* Sıkışmayı önlemek için minimum genişlik */
        font-size: 13px;
    }

    table th, table td {
        padding: 9px;
    }

    .duzenle-btn, .sil-btn, .iptal-btn {
        display: inline-block;
        margin-bottom: 5px;
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Modal Kutusu */
    .modal-box {
        width: 92%;
        padding: 20px;
    }

    /* GPS ve Harita Alanı */
    .gps-layout {
        grid-template-columns: 1fr;
    }

    .gps-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .fake-map {
        height: 240px;
        min-height: 240px;
    }

    /* Harita Üzerindeki Noktaların Mobilde Kaymaması İçin Yüzdelik Revize */
    .point-1 { top: 20%; left: 20%; }
    .point-2 { top: 50%; left: 50%; }
    .point-3 { top: 35%; right: 20%; }
}

/* 4) PRINT (YAZDIRMA) AYARLARI */
@media print {
    aside, .sidebar, .ust-islemler, .iptal-btn, script {
        display: none !important;
    }
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        height: auto !important;
        overflow: visible !important;
    }
    .panel {
        display: block !important;
        min-height: auto !important;
    }
    main {
        padding: 10px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .table-box {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }
    table {
        width: 100% !important;
        min-width: unset !important;
        font-size: 12px;
    }
}




/* login */

/* ==========================================================================
   KUDU SOFTWARE - TABLET & TELEFON TAM EKRAN ORTALANMIŞ LOGIN AYARLARI
   ========================================================================== */

/* --- 1) TABLET GÖRÜNÜMÜ (max-width: 1024px) --- */
@media (max-width: 1024px) {
    /* Giriş sayfasının ana taşıyıcı yapısını tek sütuna sabitle */
    .admin-login-wrapper, .ks-login-shell {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh !important;
        height: 100vh !important; /* Ekran yüksekliğine kesin kilitleme */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Sağ taraftaki slider/görsel alanını kesin olarak gizle */
    .admin-login-right, .ks-login-right {
        display: none !important; 
    }

    /* Arka planı sabitle ve formu dikeyde/yatayda tam ortalayarak göze yaklaştır */
    .ks-login-left {
        border-radius: 0 !important;
        padding: 24px !important;
        min-height: 100vh !important;
        height: 100vh !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important; /* Yatayda ortala */
        align-items: center !important;    /* Dikeyde ortala (Uzaklık hissini bitirir) */
        background: #f8fafc !important;
    }

    /* KUTUYU DARALT: Geniş tablet ekranında formun dağılmasını önler ve sıkıştırır */
    .ks-login-content {
        width: 100% !important;
        max-width: 340px !important; /* Form kutusunu daraltarak elemanları birbirine yaklaştırır */
        margin: 0 auto !important;
        background: #ffffff !important;
        padding: 20px !important; /* Kibar ve kompakt iç boşluk */
        border-radius: 12px !important;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05) !important;
    }

    /* Logo ve Başlıkları Küçültüp Sıkıştır (Yakın Düzen) */
    .ks-brand {
        margin-bottom: 15px !important; /* Form kutusuna yaklaştır */
        justify-content: center !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
    }
    .ks-logo-mark {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
    }
    .ks-logo-mark img {
        width: 32px !important;
        height: 32px !important;
    }
    .ks-brand h2 {
        font-size: 18px !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }
    .ks-brand p {
        font-size: 12px !important;
    }

    /* Karşılama Alanını Küçült ve Sıkıştır */
    .ks-login-content h1 {
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }
    .ks-login-content > p {
        font-size: 13px !important;
        margin-bottom: 16px !important;
        text-align: center !important;
    }

    /* İnput ve Butonları Kibarlaştır (Küçük ama sıkışık) */
    .ks-input-group {
        height: 42px !important; /* İnce estetik yükseklik */
        margin-bottom: 10px !important; /* Elemanları birbirine yaklaştırır */
        padding: 0 12px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
    }
    .ks-input-group span {
        font-size: 16px !important;
        margin-right: 6px !important;
    }
    .ks-input-group input {
        font-size: 14px !important;
    }
    .ks-login-btn {
        height: 42px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        margin-top: 4px !important;
    }
    .ks-divider {
        margin: 10px 0 !important;
        font-size: 12px !important;
        gap: 8px !important;
    }
    .ks-back-btn {
        height: 38px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
    .hata {
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        margin-bottom: 12px !important;
    }
}

/* --- 2) TELEFON GÖRÜNÜMÜ (max-width: 480px) --- */
@media (max-width: 480px) {
    .ks-login-left {
        padding: 16px !important; /* Telefon kenarlarındaki boşluğu iyice daraltıp yakınlaştır */
    }

    /* TELEFON İÇİN COMPACT KUTU: Her şeyi ekranda merkeze kilitler */
    .ks-login-content {
        max-width: 310px !important; /* Telefon ekranında taşma yapmayan kibar kalıp */
        padding: 16px !important;
    }

    /* Boşlukları ve yazıları telefona göre iyice sıkıştır */
    .ks-brand {
        margin-bottom: 12px !important;
    }
    .ks-brand h2 {
        font-size: 17px !important;
    }
    .ks-brand p {
        font-size: 11px !important;
    }
    .ks-login-content h1 {
        font-size: 19px !important;
    }
    .ks-login-content > p {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    /* İnput ve Butonları Birbirine İyice Kenetle */
    .ks-input-group {
        height: 40px !important; /* İyice kibarlaştırılmış dikey yükseklik */
        margin-bottom: 8px !important; /* Tamamen bitişik ve yakın düzen */
    }
    .ks-input-group input {
        font-size: 14px !important;
    }
    .ks-login-btn {
        height: 40px !important;
        font-size: 13px !important;
    }
    .ks-divider {
        margin: 8px 0 !important;
    }
    .ks-back-btn {
        height: 36px !important;
        font-size: 12px !important;
    }
    .hata {
        padding: 6px 10px !important;
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }
}



/* hamburger */

/* MOBİL & TABLET HAMBURGER MENÜ - ESKİ TASARIM KORUNMUŞ */

.mobile-top-bar{
    display:none !important;
}

@media (max-width:1024px){

    body{
        overflow-x:hidden !important;
    }

    .panel{
        display:block !important;
        min-height:100vh !important;
    }

    .mobile-top-bar{
        position:fixed !important;
        top:0 !important;
        left:0 !important;
        right:0 !important;
        height:56px !important;
        display:flex !important;
        justify-content:space-between !important;
        align-items:center !important;
        background:#0f172a !important;
        color:white !important;
        padding:12px 16px !important;
        z-index:10000 !important;
        box-shadow:0 2px 10px rgba(0,0,0,0.15) !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-280px !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        min-height:0 !important;
        padding:24px 18px !important;
        background:linear-gradient(180deg,#0f172a,#111827) !important;
        z-index:9999 !important;
        box-shadow:5px 0 25px rgba(0,0,0,.22) !important;
        transition:left .25s ease !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        display:flex !important;
        flex-direction:column !important;
        justify-content:flex-start !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    .sidebar-top,
    .sidebar-logo{
        display:none !important;
    }

    .sidebar-menu{
        display:flex !important;
        flex-direction:column !important;
        flex-wrap:nowrap !important;
        gap:8px !important;
        width:100% !important;
    }

    .sidebar-menu a{
        display:flex !important;
        align-items:center !important;
        gap:12px !important;
        width:100% !important;
        padding:14px 16px !important;
        margin:0 !important;
        font-size:14px !important;
        font-weight:500 !important;
        color:#e2e8f0 !important;
        white-space:nowrap !important;
        border-radius:14px !important;
        text-align:left !important;
    }

    .sidebar-menu a:hover{
        background:rgba(255,255,255,0.08) !important;
        color:white !important;
        transform:none !important;
    }

    .sidebar-menu a.active{
        background:#2563eb !important;
        color:white !important;
        box-shadow:0 10px 25px rgba(37,99,235,0.28) !important;
    }

    .logout-link{
        margin-top:14px !important;
        background:rgba(239,68,68,0.12) !important;
        color:#fca5a5 !important;
    }

    .sidebar-footer{
        display:flex !important;
        align-items:center !important;
        gap:14px !important;
        margin-top:30px !important;
        padding:16px !important;
        border-radius:18px !important;
        background:rgba(255,255,255,0.06) !important;
        position:static !important;
        flex-shrink:0 !important;
    }

    .sidebar-footer img{
        width:44px !important;
        height:44px !important;
        object-fit:contain !important;
        background:white !important;
        border-radius:12px !important;
        padding:4px !important;
        flex-shrink:0 !important;
    }

    .sidebar-footer strong{
        display:block !important;
        color:white !important;
        margin-bottom:4px !important;
        font-size:14px !important;
    }

    .sidebar-footer span{
        color:#94a3b8 !important;
        font-size:13px !important;
    }

    main{
        margin-left:0 !important;
        width:100% !important;
        padding:76px 16px 20px !important;
    }

    .mobile-logo-area{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
}

.m-logo{
    width:34px !important;
    height:34px !important;
    border-radius:10px !important;
    background:linear-gradient(135deg,#93c5fd,#1e3a8a) !important;
    color:white !important;
    font-size:18px !important;
    font-weight:900 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-shadow:0 6px 16px rgba(37,99,235,.25) !important;
    flex-shrink:0 !important;
}

.mobile-logo-area strong{
    font-size:15px !important;
    font-weight:700 !important;
    color:white !important;
}

.menu-toggle-btn{
    width:38px !important;
    height:38px !important;
    border:none !important;
    border-radius:11px !important;
    background:rgba(255,255,255,0.10) !important;
    color:white !important;
    font-size:24px !important;
    font-weight:800 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    cursor:pointer !important;
    line-height:1 !important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

.menu-toggle-btn:hover{
    background:rgba(255,255,255,0.16) !important;
}
}

/* dashboard mobil uyum */

/* Dashboard mobil kart tablo düzeltmesi */
@media (max-width: 768px) {

    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .dashboard-grid .table-box,
    main > .table-box {
        overflow: visible !important;
    }

    .mobile-card-table {
        min-width: unset !important;
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 12px !important;
    }

    .mobile-card-table thead {
        display: none !important;
    }

    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td {
        display: block !important;
        width: 100% !important;
    }

    .mobile-card-table tr {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 12px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
        margin-bottom: 12px;
    }

    .mobile-card-table td {
        border-bottom: 0 !important;
        padding: 7px 0 !important;
        font-size: 14px;
        color: #111827;
    }

    .mobile-card-table td::before {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #64748b;
        margin-bottom: 3px;
    }

    .sofor-table td:nth-child(1)::before { content: "Ad Soyad"; }
    .sofor-table td:nth-child(2)::before { content: "Telefon"; }
    .sofor-table td:nth-child(3)::before { content: "Durum"; }

    .arac-table td:nth-child(1)::before { content: "Plaka"; }
    .arac-table td:nth-child(2)::before { content: "Model"; }
    .arac-table td:nth-child(3)::before { content: "Kapasite"; }

    .yolcu-table td:nth-child(1)::before { content: "Yolcu"; }
    .yolcu-table td:nth-child(2)::before { content: "Firma"; }
    .yolcu-table td:nth-child(3)::before { content: "Sefer"; }
    .yolcu-table td:nth-child(4)::before { content: "Biniş Durağı"; }

    .bakim-table td:nth-child(1)::before { content: "Araç"; }
    .bakim-table td:nth-child(2)::before { content: "İşlem Türü"; }
    .bakim-table td:nth-child(3)::before { content: "Sonraki Tarih"; }
    .bakim-table td:nth-child(4)::before { content: "Durum"; }
}


.mobile-pagination{
    display:none;
}

@media (max-width:768px){
    .mobile-pagination{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:7px;
        margin-top:12px;
        flex-wrap:wrap;
    }

    .mobile-pagination button{
        min-width:34px;
        height:34px;
        border:none;
        border-radius:9px;
        background:#f1f5f9;
        color:#334155;
        font-weight:700;
        cursor:pointer;
    }

    .mobile-pagination button.active{
        background:#2563eb;
        color:white;
    }

    .mobile-pagination span{
        color:#64748b;
        font-weight:700;
    }
}

@media (max-width:768px){
    .mobile-card-table tr.mobile-row-hidden{
        display:none !important;
    }
}
/* dashboard mobil uyum */

/* şöför sayfası mobil */

.liste-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.liste-pagination a,
.liste-pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.liste-pagination a.active {
    background: #2563eb;
    color: white;
}

@media (max-width: 768px) {
    .liste-pagination {
        justify-content: center;
    }
}

@media (max-width:768px){

    .sofor-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .sofor-list-table thead{
        display:none !important;
    }

    .sofor-list-table tbody,
    .sofor-list-table tr,
    .sofor-list-table td{
        display:block !important;
        width:100% !important;
    }

    .sofor-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:14px; /* Kutular arası boşluk */
    }

    .sofor-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .sofor-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .sofor-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .sofor-list-table td:nth-child(1)::before{ content:"ID"; }
    .sofor-list-table td:nth-child(2)::before{ content:"Ad Soyad"; }
    .sofor-list-table td:nth-child(3)::before{ content:"Telefon"; }
    .sofor-list-table td:nth-child(4)::before{ content:"Ehliyet"; }
    .sofor-list-table td:nth-child(5)::before{ content:"Durum"; }
    .sofor-list-table td:nth-child(6)::before{ content:"İşlem"; }

    .sofor-list-table .duzenle-btn,
    .sofor-list-table .sil-btn{
        display:block;
        width:100%;
        text-align:center;
        margin-top:8px;
    }
}

/* şöför sayfası mobil */

/* araç sayfası mobil */
@media (max-width:768px){
    .arac-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 12px !important;
    }

    .arac-list-table thead{
        display:none !important;
    }

    .arac-list-table tbody,
    .arac-list-table tr,
    .arac-list-table td{
        display:block !important;
        width:100% !important;
    }

    .arac-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:12px;
    }

    .arac-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .arac-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .arac-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .arac-list-table td:nth-child(1)::before{ content:"ID"; }
    .arac-list-table td:nth-child(2)::before{ content:"Plaka"; }
    .arac-list-table td:nth-child(3)::before{ content:"Marka Model"; }
    .arac-list-table td:nth-child(4)::before{ content:"Kapasite"; }
    .arac-list-table td:nth-child(5)::before{ content:"Model Yılı"; }
    .arac-list-table td:nth-child(6)::before{ content:"Ehliyet"; }
    .arac-list-table td:nth-child(7)::before{ content:"Durum"; }
    .arac-list-table td:nth-child(8)::before{ content:"İşlem"; }
}
/* araç sayfası mobil */

/* seferler sayfası mobil */
.sefer-cakisma-uyari {
    width: 100%;
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
}

.form-box button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width:768px){

    .sefer-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 12px !important;
    }

    .sefer-list-table thead{
        display:none !important;
    }

    .sefer-list-table tbody,
    .sefer-list-table tr,
    .sefer-list-table td{
        display:block !important;
        width:100% !important;
    }

    .sefer-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:12px;
    }

    .sefer-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .sefer-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .sefer-list-table td:nth-child(1)::before{ content:"ID"; }
    .sefer-list-table td:nth-child(2)::before{ content:"Rota"; }
    .sefer-list-table td:nth-child(3)::before{ content:"Şoför"; }
    .sefer-list-table td:nth-child(4)::before{ content:"Araç"; }
    .sefer-list-table td:nth-child(5)::before{ content:"Saat"; }
    .sefer-list-table td:nth-child(6)::before{ content:"Günler"; }
    .sefer-list-table td:nth-child(7)::before{ content:"Doluluk"; }
    .sefer-list-table td:nth-child(8)::before{ content:"Durum"; }
    .sefer-list-table td:nth-child(9)::before{ content:"İşlem"; }

    .sefer-list-table .duzenle-btn,
    .sefer-list-table .sil-btn{
        width:100%;
        text-align:center;
        margin:5px 0;
    }
}
/* seferler sayfası mobil */

/* müşteriler sayfası mobil */
@media (max-width:768px){
    .musteri-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 12px !important;
    }

    .musteri-list-table thead{
        display:none !important;
    }

    .musteri-list-table tbody,
    .musteri-list-table tr,
    .musteri-list-table td{
        display:block !important;
        width:100% !important;
    }

    .musteri-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:12px;
    }

    .musteri-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .musteri-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .musteri-list-table td:nth-child(1)::before{ content:"ID"; }
    .musteri-list-table td:nth-child(2)::before{ content:"Firma"; }
    .musteri-list-table td:nth-child(3)::before{ content:"Yetkili"; }
    .musteri-list-table td:nth-child(4)::before{ content:"Yolcu Sayısı"; }
    .musteri-list-table td:nth-child(5)::before{ content:"Telefon"; }
    .musteri-list-table td:nth-child(6)::before{ content:"E-posta"; }
    .musteri-list-table td:nth-child(7)::before{ content:"T.C. / VKN"; }
    .musteri-list-table td:nth-child(8)::before{ content:"Durum"; }
    .musteri-list-table td:nth-child(9)::before{ content:"İşlem"; }

    .musteri-list-table .duzenle-btn,
    .musteri-list-table .sil-btn{
        width:100%;
        text-align:center;
        margin:5px 0;
    }
}
/* müşteriler sayfası mobil */

/* durak sayfası mobil */
@media (max-width:768px){
    .durak-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 12px !important;
    }

    .durak-list-table thead{
        display:none !important;
    }

    .durak-list-table tbody,
    .durak-list-table tr,
    .durak-list-table td{
        display:block !important;
        width:100% !important;
    }

    .durak-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:12px;
    }

    .durak-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .durak-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .durak-list-table td:nth-child(1)::before{ content:"ID"; }
    .durak-list-table td:nth-child(2)::before{ content:"Durak Adı"; }
    .durak-list-table td:nth-child(3)::before{ content:"Adres"; }
    .durak-list-table td:nth-child(4)::before{ content:"Durum"; }
    .durak-list-table td:nth-child(5)::before{ content:"İşlem"; }

    .durak-list-table .duzenle-btn,
    .durak-list-table .sil-btn{
        width:100%;
        text-align:center;
        margin:5px 0;
    }
}
/* durak sayfası mobil */

/* yolcu sayfası mobil */
@media (max-width:768px){
    .yolcu-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 12px !important;
    }

    .yolcu-list-table thead{
        display:none !important;
    }

    .yolcu-list-table tbody,
    .yolcu-list-table tr,
    .yolcu-list-table td{
        display:block !important;
        width:100% !important;
    }

    .yolcu-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:12px;
    }

    .yolcu-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .yolcu-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .yolcu-list-table td:nth-child(1)::before{ content:"ID"; }
    .yolcu-list-table td:nth-child(2)::before{ content:"Yolcu"; }
    .yolcu-list-table td:nth-child(3)::before{ content:"Telefon"; }
    .yolcu-list-table td:nth-child(4)::before{ content:"Firma"; }
    .yolcu-list-table td:nth-child(5)::before{ content:"Sefer"; }
    .yolcu-list-table td:nth-child(6)::before{ content:"Saat"; }
    .yolcu-list-table td:nth-child(7)::before{ content:"Biniş Durağı"; }
    .yolcu-list-table td:nth-child(8)::before{ content:"İşlem"; }

    .yolcu-list-table .duzenle-btn,
    .yolcu-list-table .sil-btn{
        width:100%;
        text-align:center;
        margin:5px 0;
    }
}
/* yolcu sayfası mobil */

/* bakimlar sayfası mobil */
@media (max-width:768px){
    .bakim-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 12px !important;
    }

    .bakim-list-table thead{
        display:none !important;
    }

    .bakim-list-table tbody,
    .bakim-list-table tr,
    .bakim-list-table td{
        display:block !important;
        width:100% !important;
    }

    .bakim-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:12px;
    }

    .bakim-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .bakim-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .bakim-list-table td:nth-child(1)::before{ content:"ID"; }
    .bakim-list-table td:nth-child(2)::before{ content:"Araç"; }
    .bakim-list-table td:nth-child(3)::before{ content:"İşlem"; }
    .bakim-list-table td:nth-child(4)::before{ content:"İşlem Tarihi"; }
    .bakim-list-table td:nth-child(5)::before{ content:"Sonraki Tarih"; }
    .bakim-list-table td:nth-child(6)::before{ content:"Ücret"; }
    .bakim-list-table td:nth-child(7)::before{ content:"Uyarı"; }
    .bakim-list-table td:nth-child(8)::before{ content:"Durum"; }
    .bakim-list-table td:nth-child(9)::before{ content:"İşlem"; }

    .bakim-list-table .duzenle-btn,
    .bakim-list-table .sil-btn{
        width:100%;
        text-align:center;
        margin:5px 0;
    }
}
/* bakimlar sayfası mobil */

/* kullanıcı sayfası mobil */
@media (max-width:768px){
    .kullanici-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .kullanici-list-table thead{
        display:none !important;
    }

    .kullanici-list-table tbody,
    .kullanici-list-table tr,
    .kullanici-list-table td{
        display:block !important;
        width:100% !important;
    }

    .kullanici-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:14px;
    }

    .kullanici-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .kullanici-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .kullanici-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .kullanici-list-table td:nth-child(1)::before{ content:"ID"; }
    .kullanici-list-table td:nth-child(2)::before{ content:"Ad Soyad"; }
    .kullanici-list-table td:nth-child(3)::before{ content:"Kullanıcı Adı"; }
    .kullanici-list-table td:nth-child(4)::before{ content:"Rol"; }
    .kullanici-list-table td:nth-child(5)::before{ content:"Durum"; }
    .kullanici-list-table td:nth-child(6)::before{ content:"İşlem"; }

    .kullanici-list-table .duzenle-btn{
        display:block;
        width:100%;
        text-align:center;
        margin-top:8px;
    }
}
/* kullanıcı sayfası mobil */

/* firma detay sayfası mobil */
@media (max-width:768px){
    .firma-yolcu-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .firma-yolcu-list-table thead{
        display:none !important;
    }

    .firma-yolcu-list-table tbody,
    .firma-yolcu-list-table tr,
    .firma-yolcu-list-table td{
        display:block !important;
        width:100% !important;
    }

    .firma-yolcu-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:14px;
    }

    .firma-yolcu-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .firma-yolcu-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .firma-yolcu-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .firma-yolcu-list-table td:nth-child(1)::before{ content:"Yolcu"; }
    .firma-yolcu-list-table td:nth-child(2)::before{ content:"Telefon"; }
    .firma-yolcu-list-table td:nth-child(3)::before{ content:"Sefer"; }
    .firma-yolcu-list-table td:nth-child(4)::before{ content:"Saat"; }
    .firma-yolcu-list-table td:nth-child(5)::before{ content:"Durak"; }

    .ust-islemler{
        display:flex;
        flex-direction:column;
        gap:10px;
    }

    .ust-islemler .duzenle-btn{
        width:100%;
        text-align:center;
    }
}
/* firma detay sayfası mobil */


/* sefer detay sayfası mobil */
@media (max-width:768px){
    .sefer-yolcu-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .sefer-yolcu-list-table thead{
        display:none !important;
    }

    .sefer-yolcu-list-table tbody,
    .sefer-yolcu-list-table tr,
    .sefer-yolcu-list-table td{
        display:block !important;
        width:100% !important;
    }

    .sefer-yolcu-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        box-shadow:0 4px 14px rgba(15,23,42,0.08);
        margin-bottom:14px;
    }

    .sefer-yolcu-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px;
    }

    .sefer-yolcu-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .sefer-yolcu-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .sefer-yolcu-list-table td:nth-child(1)::before{ content:"Yolcu"; }
    .sefer-yolcu-list-table td:nth-child(2)::before{ content:"Telefon"; }
    .sefer-yolcu-list-table td:nth-child(3)::before{ content:"Firma"; }
    .sefer-yolcu-list-table td:nth-child(4)::before{ content:"Durak"; }

    .ust-islemler{
        display:flex;
        flex-direction:column;
        gap:10px;
    }

    .ust-islemler .duzenle-btn,
    .ust-islemler .iptal-btn{
        width:100%;
        text-align:center;
    }
}
/* sefer detay sayfası mobil */

/* LOGİN sayfası mobil */
@media (max-width:768px){
    .ks-login-page{
        background:linear-gradient(135deg,#dbeafe,#eff6ff,#f8fafc) !important;
    }

    .ks-login-shell{
        min-height:100vh !important;
        height:100vh !important;
        padding:0 !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }

    .ks-login-left{
        min-height:auto !important;
        height:auto !important;
        width:100% !important;
        padding:16px !important;
        background:transparent !important;
    }

    .ks-login-content{
        max-width:320px !important;
        width:100% !important;
        padding:18px !important;
        border-radius:16px !important;
        background:#ffffff !important;
        box-shadow:0 16px 40px rgba(15,23,42,0.16) !important;
    }

    .ks-brand{
        margin-bottom:14px !important;
        justify-content:center !important;
    }

    .ks-logo-mark{
        width:42px !important;
        height:42px !important;
    }

    .ks-logo-mark img{
        width:34px !important;
        height:34px !important;
    }

    .ks-brand h2{
        font-size:18px !important;
    }

    .ks-brand p{
        font-size:11px !important;
    }

    .ks-login-content h1{
        font-size:20px !important;
        text-align:center !important;
        margin-bottom:5px !important;
    }

    .ks-login-content > p{
        font-size:12px !important;
        text-align:center !important;
        margin-bottom:14px !important;
    }

    .ks-input-group{
        height:42px !important;
        margin-bottom:9px !important;
        border-radius:9px !important;
    }

    .ks-login-btn{
        height:42px !important;
        font-size:14px !important;
        border-radius:9px !important;
    }

    .ks-login-btn:disabled{
        opacity:.55 !important;
        cursor:not-allowed !important;
    }

    .ks-divider{
        margin:10px 0 !important;
    }

    .ks-back-btn{
        height:38px !important;
        font-size:12px !important;
    }
}

/* LOGİN sayfası mobil */



/* bugun yapılanlar */


/* LOGIN - Telefon + iPad dikey iyileştirme */
@media (max-width:1024px){

    .ks-login-page{
        background:
            radial-gradient(circle at top, rgba(37,99,235,0.22), transparent 34%),
            linear-gradient(135deg,#e0f2fe,#eff6ff,#f8fafc) !important;
    }

    .ks-login-shell{
        min-height:100vh !important;
        height:100vh !important;
        padding:18px !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }

    .ks-login-right{
        display:none !important;
    }

    .ks-login-left{
        width:100% !important;
        max-width:430px !important;
        min-height:auto !important;
        height:auto !important;
        padding:0 !important;
        background:transparent !important;
        display:block !important;
    }

    .ks-brand{
        justify-content:center !important;
        margin-bottom:18px !important;
        gap:12px !important;
    }

    .ks-logo-mark{
        width:54px !important;
        height:54px !important;
        border-radius:16px !important;
    }

    .ks-logo-mark img{
        width:44px !important;
        height:44px !important;
    }

    .ks-brand h2{
        font-size:22px !important;
    }

    .ks-brand p{
        font-size:13px !important;
    }

    .ks-login-content{
        width:100% !important;
        max-width:430px !important;
        background:rgba(255,255,255,0.94) !important;
        padding:28px !important;
        border-radius:24px !important;
        box-shadow:0 24px 60px rgba(15,23,42,0.18) !important;
        border:1px solid rgba(255,255,255,0.8) !important;
    }

    .ks-login-content h1{
        text-align:center !important;
        font-size:27px !important;
        margin-bottom:6px !important;
    }

    .ks-login-content > p{
        text-align:center !important;
        font-size:14px !important;
        margin-bottom:22px !important;
    }

    .ks-input-group{
        height:52px !important;
        margin-bottom:14px !important;
        border-radius:14px !important;
        background:#f8fafc !important;
    }

    .ks-login-btn{
        height:52px !important;
        border-radius:14px !important;
        font-size:15px !important;
    }

    .ks-back-btn{
        height:46px !important;
        border-radius:14px !important;
    }
}

/* Telefon daha yakın / kompakt */
@media (max-width:480px){

    .ks-login-shell{
        padding:14px !important;
        align-items:center !important;
    }

    .ks-login-left{
        max-width:340px !important;
    }

    .ks-brand{
        margin-bottom:12px !important;
        gap:9px !important;
    }

    .ks-logo-mark{
        width:44px !important;
        height:44px !important;
        border-radius:13px !important;
    }

    .ks-logo-mark img{
        width:35px !important;
        height:35px !important;
    }

    .ks-brand h2{
        font-size:18px !important;
    }

    .ks-brand p{
        font-size:11px !important;
    }

    .ks-login-content{
        max-width:340px !important;
        padding:20px !important;
        border-radius:20px !important;
    }

    .ks-login-content h1{
        font-size:22px !important;
    }

    .ks-login-content > p{
        font-size:12px !important;
        margin-bottom:16px !important;
    }

    .ks-input-group{
        height:44px !important;
        margin-bottom:10px !important;
        border-radius:11px !important;
    }

    .ks-input-group span{
        font-size:16px !important;
        margin-right:8px !important;
    }

    .ks-input-group input{
        font-size:14px !important;
    }

    .ks-login-btn{
        height:44px !important;
        font-size:14px !important;
        border-radius:11px !important;
    }

    .ks-divider{
        margin:11px 0 !important;
    }

    .ks-back-btn{
        height:40px !important;
        font-size:12px !important;
        border-radius:11px !important;
    }

    .hata{
        font-size:12px !important;
        padding:9px 11px !important;
        margin-bottom:10px !important;
    }
}

/* LOGIN - Telefon + iPad dikey iyileştirme */

/* DASHBOARD - iPad / Tablet uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        z-index:9998 !important;
        transition:.3s !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    main h1{
        font-size:26px !important;
    }

    .cards{
        grid-template-columns:repeat(3,1fr) !important;
        gap:16px !important;
    }

    .card{
        padding:20px !important;
    }

    .card strong{
        font-size:32px !important;
    }

    .dashboard-actions{
        grid-template-columns:repeat(3,1fr) !important;
        gap:16px !important;
    }

    .action-card{
        padding:20px !important;
    }

    .dashboard-grid{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    .table-box{
        padding:18px !important;
        overflow-x:auto !important;
    }

    canvas{
        max-height:260px !important;
    }
}

/* iPad dikey: daha ferah kart düzeni */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    main{
        padding:18px !important;
    }

    .cards{
        grid-template-columns:repeat(2,1fr) !important;
    }

    .dashboard-actions{
        grid-template-columns:1fr !important;
    }

    .dashboard-actions .action-card{
        padding:18px !important;
    }

    .table-box{
        border-radius:16px !important;
    }

    .mobile-card-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .mobile-card-table thead{
        display:none !important;
    }

    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td{
        display:block !important;
        width:100% !important;
    }

    .mobile-card-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        box-shadow:0 4px 14px rgba(15,23,42,0.08) !important;
        margin-bottom:14px !important;
    }

    .mobile-card-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px !important;
    }

    .mobile-card-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .mobile-card-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .bakim-table td:nth-child(1)::before{ content:"Araç"; }
    .bakim-table td:nth-child(2)::before{ content:"İşlem Türü"; }
    .bakim-table td:nth-child(3)::before{ content:"Sonraki Tarih"; }
    .bakim-table td:nth-child(4)::before{ content:"Durum"; }

    .sofor-table td:nth-child(1)::before{ content:"Ad Soyad"; }
    .sofor-table td:nth-child(2)::before{ content:"Telefon"; }
    .sofor-table td:nth-child(3)::before{ content:"Durum"; }

    .arac-table td:nth-child(1)::before{ content:"Plaka"; }
    .arac-table td:nth-child(2)::before{ content:"Model"; }
    .arac-table td:nth-child(3)::before{ content:"Kapasite"; }

    .yolcu-table td:nth-child(1)::before{ content:"Yolcu"; }
    .yolcu-table td:nth-child(2)::before{ content:"Firma"; }
    .yolcu-table td:nth-child(3)::before{ content:"Sefer"; }
    .yolcu-table td:nth-child(4)::before{ content:"Biniş Durağı"; }
}

/* iPad yatay: sidebar gizlenmeden daha kurumsal görünüm */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        left:auto !important;
        top:0 !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .cards{
        grid-template-columns:repeat(3,1fr) !important;
    }

    .dashboard-actions{
        grid-template-columns:repeat(3,1fr) !important;
    }

    .dashboard-grid{
        grid-template-columns:1fr 1fr !important;
    }
}
/* DASHBOARD - iPad / Tablet uyumu */

/* ŞOFÖRLER - iPad / Tablet uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        z-index:9998 !important;
        transition:.3s !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:14px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .sofor-list-table{
        min-width:760px !important;
    }
}

/* iPad dikeyde tablo kutu kutu olsun */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .form-box form{
        grid-template-columns:1fr !important;
    }

    .sofor-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .sofor-list-table thead{
        display:none !important;
    }

    .sofor-list-table tbody,
    .sofor-list-table tr,
    .sofor-list-table td{
        display:block !important;
        width:100% !important;
    }

    .sofor-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        box-shadow:0 4px 14px rgba(15,23,42,0.08) !important;
        margin-bottom:14px !important;
    }

    .sofor-list-table td{
        border-bottom:0 !important;
        padding:7px 0 !important;
        font-size:14px !important;
    }

    .sofor-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .sofor-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .sofor-list-table td:nth-child(1)::before{ content:"ID"; }
    .sofor-list-table td:nth-child(2)::before{ content:"Ad Soyad"; }
    .sofor-list-table td:nth-child(3)::before{ content:"Telefon"; }
    .sofor-list-table td:nth-child(4)::before{ content:"Ehliyet"; }
    .sofor-list-table td:nth-child(5)::before{ content:"Durum"; }
    .sofor-list-table td:nth-child(6)::before{ content:"İşlem"; }

    .sofor-list-table .duzenle-btn,
    .sofor-list-table .sil-btn{
        display:block !important;
        width:100% !important;
        text-align:center !important;
        margin-top:8px !important;
    }
}

/* iPad yatayda masaüstü gibi kalsın */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr) !important;
    }
}
/* ŞOFÖRLER - iPad / Tablet uyumu */

/* ARAÇLAR - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s;
        z-index:9999;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100%;
        padding:22px !important;
    }

    .form-box form{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:14px;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100%;
    }

    .table-box{
        overflow-x:auto;
    }

    .arac-list-table{
        min-width:860px;
    }
}

/* iPad Dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

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

    .arac-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .arac-list-table thead{
        display:none !important;
    }

    .arac-list-table tbody,
    .arac-list-table tr,
    .arac-list-table td{
        display:block !important;
        width:100% !important;
    }

    .arac-list-table tr{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:12px;
        margin-bottom:14px;
        box-shadow:0 4px 14px rgba(15,23,42,.08);
    }

    .arac-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px;
    }

    .arac-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .arac-list-table td::before{
        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;
    }

    .arac-list-table td:nth-child(1)::before{content:"ID";}
    .arac-list-table td:nth-child(2)::before{content:"Plaka";}
    .arac-list-table td:nth-child(3)::before{content:"Marka Model";}
    .arac-list-table td:nth-child(4)::before{content:"Kapasite";}
    .arac-list-table td:nth-child(5)::before{content:"Model Yılı";}
    .arac-list-table td:nth-child(6)::before{content:"Ehliyet";}
    .arac-list-table td:nth-child(7)::before{content:"Durum";}
    .arac-list-table td:nth-child(8)::before{content:"İşlem";}

    .arac-list-table .duzenle-btn,
    .arac-list-table .sil-btn{
        display:block;
        width:100%;
        text-align:center;
        margin-top:8px;
    }
}

/* iPad Yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0;
        left:auto;
        width:250px;
        height:100vh;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr);
    }
}
/* ARAÇLAR - iPad uyumu */

/* MÜŞTERİLER - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:14px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .musteri-list-table{
        min-width:980px !important;
    }
}

/* iPad dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .form-box form{
        grid-template-columns:1fr !important;
    }

    .musteri-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .musteri-list-table thead{
        display:none !important;
    }

    .musteri-list-table tbody,
    .musteri-list-table tr,
    .musteri-list-table td{
        display:block !important;
        width:100% !important;
    }

    .musteri-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .musteri-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .musteri-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .musteri-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .musteri-list-table td:nth-child(1)::before{content:"ID";}
    .musteri-list-table td:nth-child(2)::before{content:"Firma";}
    .musteri-list-table td:nth-child(3)::before{content:"Yetkili";}
    .musteri-list-table td:nth-child(4)::before{content:"Yolcu Sayısı";}
    .musteri-list-table td:nth-child(5)::before{content:"Telefon";}
    .musteri-list-table td:nth-child(6)::before{content:"E-posta";}
    .musteri-list-table td:nth-child(7)::before{content:"T.C. / VKN";}
    .musteri-list-table td:nth-child(8)::before{content:"Durum";}
    .musteri-list-table td:nth-child(9)::before{content:"İşlem";}

    .musteri-list-table .duzenle-btn,
    .musteri-list-table .sil-btn{
        display:block !important;
        width:100% !important;
        text-align:center !important;
        margin-top:8px !important;
    }
}

/* iPad yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr) !important;
    }
}
/* MÜŞTERİLER - iPad uyumu */

/* DURAKLAR - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:14px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .durak-list-table{
        min-width:720px !important;
    }
}

/* iPad dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .form-box form{
        grid-template-columns:1fr !important;
    }

    .durak-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .durak-list-table thead{
        display:none !important;
    }

    .durak-list-table tbody,
    .durak-list-table tr,
    .durak-list-table td{
        display:block !important;
        width:100% !important;
    }

    .durak-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .durak-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .durak-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .durak-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .durak-list-table td:nth-child(1)::before{content:"ID";}
    .durak-list-table td:nth-child(2)::before{content:"Durak Adı";}
    .durak-list-table td:nth-child(3)::before{content:"Adres";}
    .durak-list-table td:nth-child(4)::before{content:"Durum";}
    .durak-list-table td:nth-child(5)::before{content:"İşlem";}

    .durak-list-table .duzenle-btn,
    .durak-list-table .sil-btn{
        display:block !important;
        width:100% !important;
        text-align:center !important;
        margin-top:8px !important;
    }
}

/* iPad yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr) !important;
    }
}
/* DURAKLAR - iPad uyumu */

/* ===========================
   SEFERLER - iPad Uyumu
=========================== */

@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s;
        z-index:9999;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100%;
        padding:22px !important;
    }

    .form-box form{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .gunler-box{
        grid-column:1 / -1;
    }

    .form-box button,
    .form-box .iptal-btn{
        width:100%;
    }

    .table-box{
        overflow-x:auto;
    }

    .sefer-list-table{
        min-width:1150px;
    }

}

/* ===========================
   iPad Dikey
=========================== */

@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

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

    .sefer-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .sefer-list-table thead{
        display:none;
    }

    .sefer-list-table tbody,
    .sefer-list-table tr,
    .sefer-list-table td{
        display:block;
        width:100%;
    }

    .sefer-list-table tr{

        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:14px;
        margin-bottom:16px;
        box-shadow:0 4px 14px rgba(15,23,42,.08);

    }

    .sefer-list-table td{

        border-bottom:0;
        padding:8px 0;
        font-size:14px;

    }

    .sefer-list-table td + td{

        border-top:1px dashed #e5e7eb;

    }

    .sefer-list-table td::before{

        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;

    }

    .sefer-list-table td:nth-child(1)::before{content:"ID";}
    .sefer-list-table td:nth-child(2)::before{content:"Rota";}
    .sefer-list-table td:nth-child(3)::before{content:"Şoför";}
    .sefer-list-table td:nth-child(4)::before{content:"Araç";}
    .sefer-list-table td:nth-child(5)::before{content:"Saat";}
    .sefer-list-table td:nth-child(6)::before{content:"Günler";}
    .sefer-list-table td:nth-child(7)::before{content:"Doluluk";}
    .sefer-list-table td:nth-child(8)::before{content:"Durum";}
    .sefer-list-table td:nth-child(9)::before{content:"İşlem";}

    .sefer-list-table .duzenle-btn,
    .sefer-list-table .sil-btn{

        display:block;
        width:100%;
        text-align:center;
        margin-top:8px;

    }

}

/* ===========================
   iPad Yatay
=========================== */

@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{

        position:sticky !important;
        left:auto;
        top:0;
        width:250px;
        height:100vh;

    }

    main{

        padding:24px;

    }

    .form-box form{

        grid-template-columns:repeat(3,1fr);

    }

    .gunler-box{

        grid-column:1 / -1;

    }

}

/* ===========================
   SEFERLER - iPad Uyumu
=========================== */

/* YOLCULAR - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:14px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .yolcu-list-table{
        min-width:980px !important;
    }
}

/* iPad dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .form-box form{
        grid-template-columns:1fr !important;
    }

    .yolcu-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .yolcu-list-table thead{
        display:none !important;
    }

    .yolcu-list-table tbody,
    .yolcu-list-table tr,
    .yolcu-list-table td{
        display:block !important;
        width:100% !important;
    }

    .yolcu-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .yolcu-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .yolcu-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .yolcu-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .yolcu-list-table td:nth-child(1)::before{content:"ID";}
    .yolcu-list-table td:nth-child(2)::before{content:"Yolcu";}
    .yolcu-list-table td:nth-child(3)::before{content:"Telefon";}
    .yolcu-list-table td:nth-child(4)::before{content:"Firma";}
    .yolcu-list-table td:nth-child(5)::before{content:"Sefer";}
    .yolcu-list-table td:nth-child(6)::before{content:"Saat";}
    .yolcu-list-table td:nth-child(7)::before{content:"Biniş Durağı";}
    .yolcu-list-table td:nth-child(8)::before{content:"İşlem";}

    .yolcu-list-table .duzenle-btn,
    .yolcu-list-table .sil-btn{
        display:block !important;
        width:100% !important;
        text-align:center !important;
        margin-top:8px !important;
    }
}

/* iPad yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr) !important;
    }
}
/* YOLCULAR - iPad uyumu */

/* =====================================================
   BAKIMLAR - iPad Uyumu
===================================================== */

@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.30s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:14px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .bakim-list-table{
        min-width:1100px !important;
    }

}

/* =====================================================
   iPad Portrait
===================================================== */

@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .form-box form{
        grid-template-columns:1fr !important;
    }

    .bakim-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .bakim-list-table thead{
        display:none !important;
    }

    .bakim-list-table tbody,
    .bakim-list-table tr,
    .bakim-list-table td{
        display:block !important;
        width:100% !important;
    }

    .bakim-list-table tr{

        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:14px;
        padding:14px;
        margin-bottom:16px;
        box-shadow:0 4px 14px rgba(15,23,42,.08);

    }

    .bakim-list-table td{

        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;

    }

    .bakim-list-table td + td{
        border-top:1px dashed #e5e7eb;
    }

    .bakim-list-table td::before{

        display:block;
        font-size:12px;
        font-weight:700;
        color:#64748b;
        margin-bottom:3px;

    }

    .bakim-list-table td:nth-child(1)::before{content:"ID";}
    .bakim-list-table td:nth-child(2)::before{content:"Araç";}
    .bakim-list-table td:nth-child(3)::before{content:"İşlem";}
    .bakim-list-table td:nth-child(4)::before{content:"İşlem Tarihi";}
    .bakim-list-table td:nth-child(5)::before{content:"Sonraki Tarih";}
    .bakim-list-table td:nth-child(6)::before{content:"Ücret";}
    .bakim-list-table td:nth-child(7)::before{content:"Uyarı";}
    .bakim-list-table td:nth-child(8)::before{content:"Durum";}
    .bakim-list-table td:nth-child(9)::before{content:"İşlem";}

    .bakim-list-table .duzenle-btn,
    .bakim-list-table .sil-btn{

        display:block;
        width:100%;
        text-align:center;
        margin-top:8px;

    }

}

/* =====================================================
   iPad Landscape
===================================================== */

@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr) !important;
    }

}

/* =====================================================
   BAKIMLAR - iPad Uyumu
===================================================== */

/* KULLANICILAR - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:14px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .kullanici-list-table{
        min-width:760px !important;
    }
}

/* iPad dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .form-box form{
        grid-template-columns:1fr !important;
    }

    .kullanici-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .kullanici-list-table thead{
        display:none !important;
    }

    .kullanici-list-table tbody,
    .kullanici-list-table tr,
    .kullanici-list-table td{
        display:block !important;
        width:100% !important;
    }

    .kullanici-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .kullanici-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .kullanici-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .kullanici-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .kullanici-list-table td:nth-child(1)::before{content:"ID";}
    .kullanici-list-table td:nth-child(2)::before{content:"Ad Soyad";}
    .kullanici-list-table td:nth-child(3)::before{content:"Kullanıcı Adı";}
    .kullanici-list-table td:nth-child(4)::before{content:"Rol";}
    .kullanici-list-table td:nth-child(5)::before{content:"Durum";}
    .kullanici-list-table td:nth-child(6)::before{content:"İşlem";}

    .kullanici-list-table .duzenle-btn{
        display:block !important;
        width:100% !important;
        text-align:center !important;
        margin-top:8px !important;
    }
}

/* iPad yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }

    .form-box form{
        grid-template-columns:repeat(3,1fr) !important;
    }
}
/* KULLANICILAR - iPad uyumu */

/* SEFER YOLCULARI - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .ust-islemler{
        display:flex !important;
        gap:12px !important;
        flex-wrap:wrap !important;
    }

    .ust-islemler .duzenle-btn,
    .ust-islemler .iptal-btn{
        flex:1 !important;
        min-width:180px !important;
        text-align:center !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .sefer-yolcu-list-table{
        min-width:720px !important;
    }
}

/* iPad dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .ust-islemler{
        flex-direction:column !important;
    }

    .ust-islemler .duzenle-btn,
    .ust-islemler .iptal-btn{
        width:100% !important;
        min-width:unset !important;
    }

    .sefer-yolcu-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .sefer-yolcu-list-table thead{
        display:none !important;
    }

    .sefer-yolcu-list-table tbody,
    .sefer-yolcu-list-table tr,
    .sefer-yolcu-list-table td{
        display:block !important;
        width:100% !important;
    }

    .sefer-yolcu-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .sefer-yolcu-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .sefer-yolcu-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .sefer-yolcu-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .sefer-yolcu-list-table td:nth-child(1)::before{content:"Yolcu";}
    .sefer-yolcu-list-table td:nth-child(2)::before{content:"Telefon";}
    .sefer-yolcu-list-table td:nth-child(3)::before{content:"Firma";}
    .sefer-yolcu-list-table td:nth-child(4)::before{content:"Durak";}
}

/* iPad yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }
}
/* SEFER YOLCULARI - iPad uyumu */

/* FİRMA YOLCULARI - iPad uyumu */
@media (min-width:769px) and (max-width:1180px){

    .panel{
        flex-direction:column !important;
    }

    .mobile-top-bar{
        display:flex !important;
    }

    .sidebar{
        position:fixed !important;
        top:56px !important;
        left:-100% !important;
        width:280px !important;
        height:calc(100vh - 56px) !important;
        transition:.3s !important;
        z-index:9999 !important;
    }

    .sidebar.menu-acik{
        left:0 !important;
    }

    main{
        width:100% !important;
        padding:22px !important;
    }

    .ust-islemler{
        display:flex !important;
        gap:12px !important;
        flex-wrap:wrap !important;
    }

    .ust-islemler .duzenle-btn,
    .ust-islemler .iptal-btn{
        flex:1 !important;
        min-width:180px !important;
        text-align:center !important;
    }

    .table-box{
        overflow-x:auto !important;
        padding:18px !important;
    }

    .firma-yolcu-list-table{
        min-width:760px !important;
    }
}

/* iPad dikey */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    .ust-islemler{
        flex-direction:column !important;
    }

    .ust-islemler .duzenle-btn,
    .ust-islemler .iptal-btn{
        width:100% !important;
        min-width:unset !important;
    }

    .firma-yolcu-list-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .firma-yolcu-list-table thead{
        display:none !important;
    }

    .firma-yolcu-list-table tbody,
    .firma-yolcu-list-table tr,
    .firma-yolcu-list-table td{
        display:block !important;
        width:100% !important;
    }

    .firma-yolcu-list-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .firma-yolcu-list-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .firma-yolcu-list-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    .firma-yolcu-list-table td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .firma-yolcu-list-table td:nth-child(1)::before{content:"Yolcu";}
    .firma-yolcu-list-table td:nth-child(2)::before{content:"Telefon";}
    .firma-yolcu-list-table td:nth-child(3)::before{content:"Sefer";}
    .firma-yolcu-list-table td:nth-child(4)::before{content:"Saat";}
    .firma-yolcu-list-table td:nth-child(5)::before{content:"Durak";}
}

/* iPad yatay */
@media (min-width:1025px) and (max-width:1180px) and (orientation:landscape){

    .panel{
        flex-direction:row !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:sticky !important;
        top:0 !important;
        left:auto !important;
        width:250px !important;
        height:100vh !important;
    }

    main{
        padding:24px !important;
    }
}
/* FİRMA YOLCULARI - iPad uyumu */

/* =====================================================
   TÜM PANEL - iPad YATAY GENEL SABİT DÜZEN
   1024px - 1366px arası yatay tabletler
===================================================== */

@media (min-width:1000px) and (max-width:1366px) and (orientation:landscape){

    body{
        overflow-x:hidden !important;
    }

    .panel{
        display:block !important;
        min-height:100vh !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:fixed !important;
        left:0 !important;
        top:0 !important;
        width:230px !important;
        height:100vh !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        z-index:9999 !important;
        padding:14px 12px !important;
    }

    main{
        margin-left:230px !important;
        width:calc(100% - 230px) !important;
        min-height:100vh !important;
        padding:22px !important;
        overflow-x:hidden !important;
    }

    .sidebar-logo{
        gap:9px !important;
    }

    .sidebar-k-logo{
        width:38px !important;
        height:38px !important;
        font-size:20px !important;
        flex-shrink:0 !important;
    }

    .sidebar-logo h3{
        font-size:15px !important;
        line-height:1.1 !important;
    }

    .sidebar-logo p{
        font-size:11px !important;
    }

    .sidebar-menu{
        gap:5px !important;
    }

    .sidebar-menu a{
        font-size:13px !important;
        padding:9px 10px !important;
        border-radius:10px !important;
        white-space:nowrap !important;
    }

    .logout-link{
        margin-top:8px !important;
    }

    .sidebar-footer{
        padding:10px !important;
        gap:8px !important;
    }

    .sidebar-footer img{
        width:32px !important;
        height:32px !important;
    }

    .sidebar-footer strong{
        font-size:12px !important;
    }

    .sidebar-footer span{
        font-size:10px !important;
    }

    main h1{
        font-size:25px !important;
        margin-bottom:18px !important;
    }

    .cards{
        grid-template-columns:repeat(5,1fr) !important;
        gap:12px !important;
    }

    .card{
        padding:16px !important;
    }

    .card strong{
        font-size:27px !important;
    }

    .dashboard-actions{
        grid-template-columns:repeat(3,1fr) !important;
        gap:14px !important;
    }

    .dashboard-grid{
        grid-template-columns:1fr 1fr !important;
        gap:16px !important;
    }

    .form-box,
    .table-box{
        padding:18px !important;
        border-radius:16px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:repeat(3,1fr) !important;
        gap:12px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .gunler-box{
        grid-column:1 / -1 !important;
    }

    .arama-form{
        display:flex !important;
        gap:10px !important;
        align-items:center !important;
    }

    .arama-form input{
        flex:1 !important;
    }

    .table-box{
        overflow-x:auto !important;
    }

    table{
        font-size:13px !important;
    }

    th, td{
        padding:10px 8px !important;
    }

    .sofor-list-table{ min-width:760px !important; }
    .arac-list-table{ min-width:900px !important; }
    .musteri-list-table{ min-width:1050px !important; }
    .durak-list-table{ min-width:700px !important; }
    .sefer-list-table{ min-width:1150px !important; }
    .yolcu-list-table{ min-width:980px !important; }
    .bakim-list-table{ min-width:1100px !important; }
    .kullanici-list-table{ min-width:760px !important; }
    .firma-yolcu-list-table{ min-width:760px !important; }
    .sefer-yolcu-list-table{ min-width:720px !important; }

    .liste-pagination{
        justify-content:flex-end !important;
    }

    canvas{
        max-height:260px !important;
    }
}

/* =====================================================
   TÜM PANEL - iPad YATAY KUTU TABLO DÜZENİ
   1000px - 1366px landscape
===================================================== */

@media (min-width:1000px) and (max-width:1366px) and (orientation:landscape){

    body{
        overflow-x:hidden !important;
    }

    .panel{
        display:block !important;
        min-height:100vh !important;
    }

    .mobile-top-bar{
        display:none !important;
    }

    .sidebar{
        position:fixed !important;
        left:0 !important;
        top:0 !important;
        width:230px !important;
        height:100vh !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        z-index:9999 !important;
        padding:14px 12px !important;
    }

    main{
        margin-left:230px !important;
        width:calc(100% - 230px) !important;
        min-height:100vh !important;
        padding:22px !important;
        overflow-x:hidden !important;
    }

    .sidebar-menu{
        gap:5px !important;
    }

    .sidebar-menu a{
        font-size:13px !important;
        padding:9px 10px !important;
        border-radius:10px !important;
        white-space:nowrap !important;
    }

    .sidebar-logo h3{
        font-size:15px !important;
    }

    .sidebar-logo p{
        font-size:11px !important;
    }

    .sidebar-footer{
        padding:10px !important;
    }

    .sidebar-footer strong{
        font-size:12px !important;
    }

    .sidebar-footer span{
        font-size:10px !important;
    }

    .form-box,
    .table-box{
        padding:18px !important;
        border-radius:16px !important;
    }

    .form-box form{
        display:grid !important;
        grid-template-columns:repeat(3,1fr) !important;
        gap:12px !important;
    }

    .form-box form button,
    .form-box form .iptal-btn{
        width:100% !important;
    }

    .gunler-box{
        grid-column:1 / -1 !important;
    }

    .arama-form{
        display:flex !important;
        gap:10px !important;
        align-items:center !important;
    }

    .arama-form input{
        flex:1 !important;
    }

    .table-box{
        overflow-x:hidden !important;
    }

    .sofor-list-table,
    .arac-list-table,
    .musteri-list-table,
    .durak-list-table,
    .sefer-list-table,
    .yolcu-list-table,
    .bakim-list-table,
    .kullanici-list-table,
    .firma-yolcu-list-table,
    .sefer-yolcu-list-table,
    .mobile-card-table{
        min-width:unset !important;
        width:100% !important;
        border-collapse:separate !important;
        border-spacing:0 !important;
    }

    .sofor-list-table thead,
    .arac-list-table thead,
    .musteri-list-table thead,
    .durak-list-table thead,
    .sefer-list-table thead,
    .yolcu-list-table thead,
    .bakim-list-table thead,
    .kullanici-list-table thead,
    .firma-yolcu-list-table thead,
    .sefer-yolcu-list-table thead,
    .mobile-card-table thead{
        display:none !important;
    }

    .sofor-list-table tbody,
    .sofor-list-table tr,
    .sofor-list-table td,
    .arac-list-table tbody,
    .arac-list-table tr,
    .arac-list-table td,
    .musteri-list-table tbody,
    .musteri-list-table tr,
    .musteri-list-table td,
    .durak-list-table tbody,
    .durak-list-table tr,
    .durak-list-table td,
    .sefer-list-table tbody,
    .sefer-list-table tr,
    .sefer-list-table td,
    .yolcu-list-table tbody,
    .yolcu-list-table tr,
    .yolcu-list-table td,
    .bakim-list-table tbody,
    .bakim-list-table tr,
    .bakim-list-table td,
    .kullanici-list-table tbody,
    .kullanici-list-table tr,
    .kullanici-list-table td,
    .firma-yolcu-list-table tbody,
    .firma-yolcu-list-table tr,
    .firma-yolcu-list-table td,
    .sefer-yolcu-list-table tbody,
    .sefer-yolcu-list-table tr,
    .sefer-yolcu-list-table td,
    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td{
        display:block !important;
        width:100% !important;
    }

    .sofor-list-table tr,
    .arac-list-table tr,
    .musteri-list-table tr,
    .durak-list-table tr,
    .sefer-list-table tr,
    .yolcu-list-table tr,
    .bakim-list-table tr,
    .kullanici-list-table tr,
    .firma-yolcu-list-table tr,
    .sefer-yolcu-list-table tr,
    .mobile-card-table tr{
        background:#fff !important;
        border:1px solid #e5e7eb !important;
        border-radius:14px !important;
        padding:12px !important;
        margin-bottom:14px !important;
        box-shadow:0 4px 14px rgba(15,23,42,.08) !important;
    }

    .sofor-list-table td,
    .arac-list-table td,
    .musteri-list-table td,
    .durak-list-table td,
    .sefer-list-table td,
    .yolcu-list-table td,
    .bakim-list-table td,
    .kullanici-list-table td,
    .firma-yolcu-list-table td,
    .sefer-yolcu-list-table td,
    .mobile-card-table td{
        padding:8px 0 !important;
        border-bottom:0 !important;
        font-size:14px !important;
    }

    .sofor-list-table td + td,
    .arac-list-table td + td,
    .musteri-list-table td + td,
    .durak-list-table td + td,
    .sefer-list-table td + td,
    .yolcu-list-table td + td,
    .bakim-list-table td + td,
    .kullanici-list-table td + td,
    .firma-yolcu-list-table td + td,
    .sefer-yolcu-list-table td + td,
    .mobile-card-table td + td{
        border-top:1px dashed #e5e7eb !important;
    }

    td::before{
        display:block !important;
        font-size:12px !important;
        font-weight:700 !important;
        color:#64748b !important;
        margin-bottom:3px !important;
    }

    .liste-pagination{
        justify-content:center !important;
    }

    .duzenle-btn,
    .sil-btn{
        text-align:center !important;
    }
}

/* SADECE LOGIN - daha yakın / kompakt görünüm */
@media (max-width:1366px){

    body.ks-login-page{
        overflow:hidden !important;
    }

    .ks-login-shell{
        min-height:100vh !important;
        height:100vh !important;
        padding:12px !important;
        gap:12px !important;
    }

    .ks-login-left{
        padding:16px !important;
    }

    .ks-brand{
        margin-bottom:10px !important;
    }

    .ks-login-content{
        padding:18px !important;
        border-radius:18px !important;
    }

    .ks-login-content h1{
        font-size:22px !important;
        margin-bottom:4px !important;
    }

    .ks-login-content > p{
        font-size:12px !important;
        margin-bottom:12px !important;
    }

    .ks-input-group{
        height:42px !important;
        margin-bottom:9px !important;
    }

    .ks-login-btn{
        height:42px !important;
    }

    .ks-divider{
        margin:9px 0 !important;
    }

    .ks-back-btn{
        height:38px !important;
    }

    .ks-slide-content{
        padding:24px !important;
    }

    .ks-slide-content h1{
        font-size:28px !important;
        line-height:1.15 !important;
    }

    .ks-slide-content p{
        font-size:13px !important;
        margin-bottom:12px !important;
    }

    .ks-feature-row{
        gap:8px !important;
    }

    .ks-feature-row div{
        padding:10px 8px !important;
        font-size:11px !important;
    }
}

/* iPad dikey + mobil üst menü altında kalma düzeltmesi */
@media (max-width:1024px){

    body:not(.ks-login-page) main{
        padding-top:86px !important;
    }

    .mobile-top-bar{
        height:56px !important;
        min-height:56px !important;
    }
}

/* iPad dikeyde biraz daha ferah */
@media (min-width:769px) and (max-width:1024px) and (orientation:portrait){

    body:not(.ks-login-page) main{
        padding:92px 22px 24px !important;
    }

    main h1{
        margin-top:0 !important;
    }
}

/* iPad Yatay - Kompakt Menü */
@media (min-width:769px) and (max-width:1366px) and (orientation:landscape){

    .sidebar{
        width:240px !important;
        padding:12px !important;
    }

    .sidebar-menu{
        gap:4px !important;
    }

    .sidebar-menu a{
        padding:8px 12px !important;
        min-height:40px !important;
        font-size:13px !important;
        border-radius:10px !important;
    }

    .sidebar-menu a i{
        font-size:16px !important;
    }

    .sidebar-footer{
        margin-top:10px !important;
        padding:10px !important;
    }

    .sidebar-footer img{
        width:34px !important;
        height:34px !important;
    }

    .sidebar-footer strong{
        font-size:13px !important;
    }

    .sidebar-footer span{
        font-size:11px !important;
    }

    main{
        margin-left:240px !important;
        width:calc(100% - 240px) !important;
    }
}