
/* --- AVM GÜVENLİK SİSTEMİ - MERKEZİ STİL v2.6.0 (FINAL CLEAN) --- */

/* 1. GENEL STANDARTLAR */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    padding-top: 100px !important; 
}
body { 
    font-family: 'Segoe UI', -apple-system, sans-serif; 
    background: #f0f2f5; 
    min-height: 100vh;
    color: #333;
}

/* SAYFA KİLİDİ: Rapor detay dışındaki sayfalarda kaymayı önler */
body:not(.rapor-detay-sayfasi) {
    max-width: 100%;
    overflow-x: hidden;
}

/* 2. GİRİŞ SAYFASI (LOGIN) */
.login-body { display: flex; justify-content: center; align-items: center; }
.login-kart { 
    background: white; padding: 30px; border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 90%; 
    max-width: 400px; margin: 100px auto; text-align: center; 
}
.logo-alan img { width: 100%; max-width: 250px; height: auto; margin-bottom: 20px; display: block; margin: 0 auto; }

/* 3. HEADER (ÜST BAR) BİLEŞENLERİ */
.ust-bar-panel { 
    background: #1a2a6c; padding: 0 15px; display: flex; 
    justify-content: space-between; align-items: center; color: white; 
    position: sticky; top: 0; z-index: 1000; height: 75px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); width: 100%; box-sizing: border-box;
}

.sol-alan, .ust-buton-grubu { display: flex; gap: 10px; align-items: center; }

.ikon-buton {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(255, 255, 255, 0.12); color: white !important;
    text-decoration: none; font-size: 16px; transition: 0.3s; border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative; flex-shrink: 0;
}
.ikon-buton:hover { background: #ffffff; color: #1a2a6c !important; transform: translateY(-2px); }

.header-personel-kart {
    display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px 5px 5px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none; max-width: 180px; flex-shrink: 1; min-width: 0;
}
.header-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; flex-shrink: 0; }
.header-bilgi { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.header-isim { color: white; font-size: 12px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.header-unvan { color: rgba(255, 255, 255, 0.7); font-size: 9px; font-weight: 600; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

/* ONLINE SAYACI VE CANLI IŞIK */
.online-etiket {
    background: rgba(46, 204, 113, 0.15); color: #2ecc71; padding: 5px 12px;
    border-radius: 20px; font-size: 11px; font-weight: 800; display: flex;
    align-items: center; gap: 6px; border: 1px solid rgba(46, 204, 113, 0.3); white-space: nowrap;
}
.canli-isik { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; display: inline-block; box-shadow: 0 0 8px #2ecc71; animation: darbe_isik 1.5s infinite; }
@keyframes darbe_isik { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.5; } }

/* 4. PANEL, MENÜ VE MODERN UYGULAMA KARTLARI */
.panel-konteynir { padding: 15px; max-width: 1200px; margin: auto; }
.menu-izgara { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 20px; 
}

.menu-kart { 
    background: white; 
    padding: 25px 15px; 
    border-radius: 22px; 
    text-align: center; 
    text-decoration: none; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-kart:active { transform: scale(0.92); }

.ikon-cerceve {
    width: 65px; height: 65px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; color: white; font-size: 28px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.uygulama-kart {
    background: white; border-radius: 18px; padding: 15px; margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #eef0f2;
}

/* DURUM ETİKETLERİ */
.durum-etiket { font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.durum-AmirOnayında { background: #fff3cd; color: #856404; }
.durum-MüdürOnayında { background: #cce5ff; color: #004085; }
.durum-Onaylandı { background: #d4edda; color: #155724; }
.durum-DüzeltmeBekliyor { background: #f8d7da; color: #721c24; }

/* 5. FORM ELEMANLARI */
input, select, textarea { 
    width: 100%; padding: 14px; background: #f7fafc; border: 1.5px solid #edf2f7; 
    border-radius: 12px; font-size: 15px; color: #2d3748; transition: all 0.3s; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: #1a2a6c; background: #fff; box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1); }

/* 6. RAPOR DETAY - RESMİ (A4) FORMATI */
@page { size: A4; margin: 0; }
.rapor-detay-sayfasi .a4-kapsayici { 
    width: 100%; max-width: 210mm; min-height: 297mm; padding: 15mm; 
    margin: 20px auto; background: white; box-shadow: 0 0 20px rgba(0,0,0,0.1); 
    box-sizing: border-box; overflow: visible !important;
}
.rapor-detay-sayfasi table { width: 100% !important; border-collapse: collapse; table-layout: fixed; border: 1.5pt solid black; }
.rapor-detay-sayfasi td { border: 1pt solid black; padding: 6px 10px; font-size: 11px; vertical-align: top; color: black; word-wrap: break-word; }
.gri { background: #eeeeee !important; font-weight: bold; text-align: center; vertical-align: middle; height: 26px; font-size: 10px; }
.baslik { text-align: center; font-size: 19px; font-weight: 900; vertical-align: middle; height: 65px; letter-spacing: 1px; }

/* 7. MOBİL UYUMLULUK (CEBİNE GÖRE JİLET) */
@media (max-width: 768px) {
    .panel-konteynir { padding: 10px; }
    .menu-izgara { grid-template-columns: repeat(2, 1fr); }
    .uygulama-kart { width: 100% !important; padding: 20px !important; }
    .kart-btn { height: 45px !important; font-size: 14px !important; flex: 1; }
}

@media (max-width: 480px) {
    .ust-bar-panel { padding: 0 8px; height: 65px; }
    .header-bilgi { display: none; }
    .ikon-buton { width: 35px; height: 35px; font-size: 14px; }
    .online-etiket { padding: 4px 8px; font-size: 10px; }
    
    /* Rapor Mobil Fix */
    .rapor-detay-sayfasi .a4-kapsayici { padding: 8px !important; margin: 10px 0 !important; box-shadow: none; width: 100% !important; }
    .rapor-detay-sayfasi table, .rapor-detay-sayfasi tr, .rapor-detay-sayfasi td { display: block !important; width: 100% !important; }
    .rapor-detay-sayfasi td { border: none !important; border-bottom: 1px solid #eee !important; padding: 10px !important; text-align: left !important; }
    .rapor-detay-sayfasi .gri { background: #1a2a6c !important; color: white !important; }
}

/* 8. YAZDIRMA AYARLARI */
@media print {
    .no-print, .ust-bar-panel { display: none !important; }
    .a4-kapsayici { box-shadow: none; margin: 0; padding: 10mm; width: 100%; }
}

/* 9. EKSTRA PREMIUM BİLEŞENLER */
.premium-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; color: #ffffff !important; text-decoration: none; font-size: 13px; font-weight: 600; transition: 0.3s; backdrop-filter: blur(5px);
}
.premium-link:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
.menu-kart span { color: #333; font-weight: 600; font-size: 14px; }
/* 3. RAPOR OLUŞTUR VE GÜNCELLEME (GENİŞ KART) */
.rapor-kart-genis {
    max-width: 900px !important;
    text-align: left !important;
}
.form-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
/* 4. GENEL FORM ELEMANLARI */
input, select, textarea { 
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border: 1.5px solid #eee; 
    border-radius: 10px; 
    font-size: 16px;
}

.btn-giris { 
    width: 100%; 
    padding: 15px; 
    background: #1a2a6c; 
    color: white; 
    border: none; 
    border-radius: 10px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer;
}
/* 5. MOBİL UYUMLULUK */
@media (max-width: 600px) {
    .menu-izgara { grid-template-columns: repeat(2, 1fr); }
    .rapor-kart-genis { padding: 20px; }
}

/* 6. RESMİ RAPOR (A4) ÇIKTI AYARLARI - Rapor Detay İçin */
@media print {
    body { background: white; }
    .no-print, .ust-bar-panel { display: none !important; }
    .a4-sayfa { margin: 0; border: none; box-shadow: none; width: 100%; }
}
/* --- GORP GÜVENLİK SİSTEMİ MERKEZİ STİL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', -apple-system, sans-serif; background: #f0f2f5; color: #333; }

/* PANEL ÜST BAR */
.ust-bar-panel { background: #1a2a6c; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; color: white; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.ust-bar-geri { color: white; text-decoration: none; font-weight: 600; font-size: 14px; }
.logo-alan-panel img { height: 30px; filter: brightness(0) invert(1); }

/* KONTEYNIR */
.panel-konteynir { padding: 15px; max-width: 800px; margin: auto; }

/* MODERN UYGULAMA KARTLARI */
.uygulama-kart {
    background: white;
    border-radius: 18px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eef0f2;
}

.kart-baslik-satir { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.kart-baslik-metin { font-weight: 700; color: #1a2a6c; font-size: 15px; flex: 1; padding-right: 10px; }

/* DURUM ETİKETLERİ */
.durum-etiket { font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; white-space: nowrap; }
.durum-AmirOnayında { background: #fff3cd; color: #856404; }
.durum-MüdürOnayında { background: #cce5ff; color: #004085; }
.durum-Onaylandı { background: #d4edda; color: #155724; }
.durum-DüzeltmeBekliyor { background: #f8d7da; color: #721c24; }

.kart-alt-bilgi { font-size: 12px; color: #718096; margin-bottom: 12px; display: flex; gap: 10px; }

/* BUTONLAR (APPLE TARZI) */
.kart-butonlar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kart-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 10px; border-radius: 10px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: 0.2s; color: white;
}
.kart-btn:active { transform: scale(0.95); }
.btn-lacivert { background: #1a2a6c; }
.btn-yesil { background: #28a745; }
.btn-turuncu { background: #e67e22; }
.btn-bekliyor { background: #f8f9fa; color: #a0aec0; border: 1px solid #edf2f7; }

/* GİRİŞ KARTI (LOGIN) */
.login-kart { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 90%; max-width: 400px; margin: 100px auto; text-align: center; }
input[type="text"], input[type="time"], select, textarea {
    width: 100%;
    padding: 14px;
    background: #f7fafc;
    border: 1.5px solid #edf2f7;
    border-radius: 12px; /* Apple tarzı yuvarlak köşeler */
    font-size: 15px;
    color: #2d3748;
    transition: all 0.3s;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: #1a2a6c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

textarea {
    line-height: 1.6;
}
/* --- PROFESYONEL NOT BALONU SİSTEMİ (KART BOYUNU BOZMAZ) --- */
.not-alani { 
    position: relative; 
    display: inline-block; 
    margin: 5px 0 10px 0; 
}

.not-ikon { 
    color: #e74c3c; 
    background: #fff5f5; 
    padding: 6px 12px; 
    border-radius: 20px; 
    font-size: 11px; 
    font-weight: 700;
    border: 1px solid #feb2b2; 
    cursor: help;
    display: flex;
    align-items: center;
    gap: 5px;
}

.not-balon {
    visibility: hidden;
    width: 240px;
    background-color: #2d3748;
    color: #fff;
    text-align: left;
    border-radius: 10px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 130%;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    pointer-events: none;
}

.not-balon::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 8px;
    border-style: solid;
    border-color: #2d3748 transparent transparent transparent;
}

.not-alani:hover .not-balon {
    visibility: visible;
    opacity: 1;
    transform: translateY(-5px);
}
/* Mobil Standartları (Cep Telefonu İçin) */
@media (max-width: 768px) {
    .panel-konteynir { padding: 10px; }
    
    .uygulama-kart {
        width: 100% !important; /* Kartı tam genişlik yap */
        margin-bottom: 15px;
        padding: 20px !important; /* İç boşluğu artır (parmak rahat bassın) */
    }

    .kart-baslik-metin {
        font-size: 18px !important; /* Başlığı büyüt */
        line-height: 1.3;
    }

    .kart-alt-bilgi {
        font-size: 14px !important; /* Yazıları okunur yap */
        margin-top: 10px;
    }

    .kart-btn {
        height: 45px !important; /* Butonları kalınlaştır */
        font-size: 14px !important;
        flex: 1; /* Butonlar yan yana tam yayılsın */
    }
}
/* Modern Üst Bar Butonları */
.premium-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1); /* Cam efekti */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Yuvarlak hatlar */
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.premium-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.premium-link i {
    font-size: 16px;
}

/* Çıkış Butonu İçin Kırmızı Vurgu (Opsiyonel) */
.premium-link.cikis-vurgu:hover {
    background: rgba(231, 76, 60, 0.8); /* Kırmızımsı geçiş */
    border-color: #e74c3c;
}
:root {
    --sy-bg: #F2F2F7;
    --sy-card: rgba(255,255,255,0.75);
    --sy-text: #1D1D1F;
    --sy-blue: #0A84FF;
    --sy-gray: #8E8E93;
}

/* BODY */
.sy-body {
    background: linear-gradient(180deg, #EDEEF3 0%, #F9F9FB 100%);
    color: var(--sy-text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 20px 10px;
}

/* CONTAINER */
.sy-container {
    width: 100%;
    max-width: 480px;
}

/* CARD */
.sy-card {
    backdrop-filter: blur(20px);
    background: var(--sy-card);
    border-radius: 28px;
    padding: 25px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* TITLE */
.sy-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

/* GRID */
.sy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E5EA;
}

@media (max-width: 480px) {
    .sy-grid {
        grid-template-columns: 1fr;
    }
}

/* LABEL */
.sy-label {
    font-size: 11px;
    color: var(--sy-gray);
    font-weight: 600;
    margin-bottom: 6px;
}

/* INPUT */
.sy-input {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-size: 15px;
    background: #F2F2F7;
    outline: none;
    transition: 0.25s;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.sy-input:focus {
    background: #fff;
    box-shadow: 
        0 0 0 2px rgba(10,132,255,0.2),
        inset 0 1px 2px rgba(0,0,0,0.05);
}

/* ITEM LIST */
.sy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #F2F2F7;
}

.sy-item:last-child {
    border-bottom: none;
}

.sy-name {
    font-size: 15px;
    font-weight: 500;
}

/* VALUE BOX */
.sy-val {
    width: 85px;
}

.sy-val input {
    text-align: center;
    font-weight: 600;
}

/* BUTTON */
.sy-btn {
    background: linear-gradient(180deg, #0A84FF, #0066CC);
    color: white;
    border: none;
    border-radius: 18px;
    padding: 16px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 6px 18px rgba(10,132,255,0.3);
}

.sy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(10,132,255,0.35);
}

.sy-btn:active {
    transform: scale(0.97);
}

/* FOOTER */
.sy-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}

.sy-footer a {
    color: var(--sy-blue);
    text-decoration: none;
}
.app-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E5E5EA;
}/* GORP Modern Tasarım */
:root {
    --gorp-primary: #007AFF;
    --gorp-bg: #f5f5f7;
    --gorp-card: #ffffff;
}

.gorp-main-wrapper {
    width: 100%;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: var(--gorp-bg);
    box-sizing: border-box;
}

.gorp-form-card {
    background: var(--gorp-card);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 900px; /* Web'de geniş durması için */
    padding: 30px;
}

.gorp-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1d1d1f;
    border-bottom: 2px solid #f2f2f7;
    padding-bottom: 15px;
}

/* Tablo Yapısı */
.gorp-row-header {
    display: flex;
    font-weight: 600;
    color: #86868b;
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;
}

.gorp-list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #efeff4;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.gorp-list-item:hover {
    border-color: var(--gorp-primary);
    box-shadow: 0 4px 12px rgba(0,122,255,0.05);
}

.gorp-point-name {
    flex: 2;
    font-size: 16px;
    font-weight: 500;
}

.gorp-input-area {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.gorp-qty-input {
    width: 120px;
    height: 45px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    background: #fbfbfd;
}

/* Mobil Ayarlar (Cep Telefonu) */
@media (max-width: 600px) {
    .gorp-form-card { padding: 15px; border-radius: 0; }
    .gorp-point-name { font-size: 14px; }
    .gorp-qty-input { width: 90px; height: 40px; }
    .gorp-row-header { display: none; } /* Mobilde başlığı gizle yer aç */
}
/* Buton Tasarımı - Kemal Bey Özel */
.gorp-submit-btn {
    display: inline-flex !important; /* İçindeki ikon ve yazıyı yan yana tutar */
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Yazıyı tek satırda tutar */
    font-size: 14px;
    transition: all 0.2s ease;
}

/* Mobilde butonlar alt alta düzgün gelsin diye */
@media (max-width: 768px) {
    .gorp-buttons-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    .gorp-submit-btn {
        flex: 1; /* Butonlar eşit genişlikte yayılır */
        font-size: 12px;
        padding: 0 10px;
    }
}

/* Web ve Mobil Genişlik Ayarı */
.gorp-form-card {
    max-width: 800px !important; /* Web'de daha geniş ve ferah */
    margin: 0 auto;
}

@media (max-width: 600px) {
    .gorp-form-card {
        max-width: 100% !important;
        padding: 15px;
        border-radius: 0;
    }
    .gorp-submit-btn {
        height: 50px;
        font-size: 16px;
        border-radius: 12px;
    }
}
/* Toplam Göstergesi Stili */
.gorp-total-badge {
    background: #E8F2FF;
    color: #007AFF;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    margin-left: 15px;
    border: 1px solid #007AFF;
}

/* Apple Tarzı Buton */
.gorp-submit-btn {
    width: 100%;
    height: 55px;
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,122,255,0.2);
}

.gorp-submit-btn:hover {
    background: #0062cc;
    transform: translateY(-1px);
}
/* Tarih ve Toplam Konteyner */
.gorp-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
}

/* Tarih Kutusu Daraltma */
.gorp-date-box {
    width: 180px; /* Sadece tarih sığacak kadar */
}

/* Premium Toplam Kartı */
.gorp-total-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.1);
    border: 1px solid #e1e8f0;
    min-width: 160px;
}

.gorp-total-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
}

.gorp-total-info {
    display: flex;
    flex-direction: column;
}

.gorp-total-label {
    font-size: 11px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gorp-total-number {
    font-size: 24px; /* 6 hane rahat sığar */
    font-weight: 800;
    color: #1d1d1f;
    line-height: 1;
}

@media (max-width: 600px) {
    .gorp-header-row { flex-direction: column; align-items: stretch; }
    .gorp-date-box { width: 100%; }
}
/* Logo Alanı Tasarımı */
.gorp-logo-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.gorp-logo-img {
    max-height: 150px; /* Logonun yüksekliğini buradan ayarlayabilirsiniz */
    width: auto;
    object-fit: contain;
    /* Hafif bir gölge logoyu daha premium gösterir */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Mobilde logo ve kartların alt alta binmemesi için */
@media (max-width: 600px) {
    .gorp-logo-area {
        order: -1; /* Mobilde logoyu en üste alır */
        margin-bottom: 20px;
        width: 100%;
    }
}
/* Filtre ve Buton Alanı Konteynırı */
.gorp-filter-row {
    display: flex;
    align-items: flex-end; /* Alt çizgiden hizalar */
    justify-content: space-between; /* İki uca yayar */
    gap: 15px;
    margin-bottom: 25px;
    background: #fcfdfe;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #f0f4f8;
}

/* Sol taraftaki filtre grubu */
.filter-inputs {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex: 1;
}

/* Sağ taraftaki aksiyon butonları grubu */
.action-buttons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/* Buton standart yüksekliği */
.gorp-submit-btn {
    height: 42px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 20px !important;
    margin: 0 !important; /* Üst üste binmeyi engeller */
}
/* Merdiven Takip Sistemi Özel Stilleri */
.merdiven-konteynir {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

.merdiven-kart {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 30px;
    border: 1px solid #eef2ff;
}

.merdiven-baslik {
    font-size: 22px;
    font-weight: 800;
    color: #1a2a6c;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
}

.m-form-satir {
    margin-bottom: 25px;
}

.m-label {
    display: block;
    font-weight: 700;
    color: #4b5563;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.m-input {
    width: 100%;
    height: 50px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    font-size: 15px;
    background: #f8faff;
    transition: 0.3s;
    box-sizing: border-box; /* Kutunun taşmasını engeller */
}

.m-input:focus {
    outline: none;
    border-color: #007AFF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

textarea.m-input {
    height: 120px;
    resize: vertical;
}

.m-buton {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #1a2a6c, #007AFF);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(26, 42, 108, 0.2);
}

.m-buton:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(26, 42, 108, 0.3);
}

/* Yan Yana Görünüm (Responsive) */
.m-flex {
    display: flex;
    gap: 20px;
}

.m-flex > div {
    flex: 1;
}

@media (max-width: 600px) {
    .m-flex { flex-direction: column; gap: 0; }

}
/* Başarı Kartı Animasyonu */
.info-card-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 42, 108, 0.9); z-index: 20000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.info-card { background: #fff; padding: 40px; border-radius: 30px; text-align: center; max-width: 400px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: scale(0.8); transition: 0.3s; }
.info-card.active { transform: scale(1); }
.info-icon { width: 80px; height: 80px; background: #27ae60; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 20px; animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
@keyframes bounceIn { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
/* GÜNCELLENMİŞ KURUMSAL PAYLAŞIM MODAL STİLLERİ */
.modal-overlay { 
    position: fixed; top:0; left:0; width:100%; height:100%; 
    background: rgba(0,0,0,0.8); z-index:10000; 
    display: none; align-items: center; justify-content: center; 
    backdrop-filter: blur(3px);
}

.k-modal { 
    background: #fff; width: 90%; max-width: 500px; /* Genişliği sabitledik */
    border-radius: 20px; overflow: hidden; 
    animation: slideIn 0.3s ease; box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.k-modal-header { 
    padding: 20px; border-bottom: 1px solid #eee; 
    display: flex; justify-content: space-between; align-items: center; 
    background: #f8f9fa;
}

.k-modal-body { 
    max-height: 450px; overflow-y: auto; padding: 15px; background: #fff; 
}

.k-firma-row { 
    background: #1a2a6c; color: #fff; padding: 8px 12px; 
    font-weight: 700; font-size: 12px; margin: 15px 0 10px 0; 
    border-radius: 6px; display: flex; align-items: center; gap: 8px;
}

.k-kisi-row { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 12px; border: 1px solid #f0f0f0; margin-bottom: 8px;
    border-radius: 10px; transition: 0.2s;
}

.k-kisi-row:hover { background: #fdfdfd; border-color: #ddd; }

.k-secim-grubu { 
    display: flex; gap: 12px; align-items: center;
}

.k-secim-grubu label { 
    display: flex; align-items: center; gap: 4px; 
    font-size: 11px; font-weight: 700; cursor: pointer; color: #555;
    margin-bottom: 0; /* Alt boşluğu sıfırladık */
}

.k-modal-footer { 
    padding: 20px; border-top: 1px solid #eee; 
    display: flex; gap: 10px; background: #f8f9fa;
}
/* Klasör Popup Arka Planı */
.klasor-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(15px); /* Arka planı bulanıklaştırır */
    display: none; align-items: center; justify-content: center; z-index: 10000;
}

/* Klasör İçeriği (Apple Kare Stili) */
.klasor-pencere {
    background: rgba(255, 255, 255, 0.85);
    width: 90%; max-width: 360px;
    border-radius: 40px; padding: 25px;
    display: grid; grid-template-columns: repeat(3, 1fr); /* 3'lü ikon dizilimi */
    gap: 20px;
    transform: scale(0.8); transition: 0.3s cubic-bezier(0.3, 1.5, 0.6, 1);
}

.klasor-overlay.aktif { display: flex; }
.klasor-overlay.aktif .klasor-pencere { transform: scale(1); }

/* Klasör İkonu (4'lü mini önizleme) */
.klasor-ikon-onizleme {
    width: 60px; height: 60px; background: rgba(255,255,255,0.5);
    border-radius: 18px; display: grid; grid-template-columns: 1fr 1fr;
    padding: 6px; gap: 4px; box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}
.mini-nokta { background: #1a2a6c; border-radius: 4px; opacity: 0.6; }