/* --- GENEL AYARLAR --- */
:root { 
    --primary-color: #1e69de; 
    --primary-light: #eaf6ff; 
    --secondary-color: #2c3e50; 
    --success-color: #27ae60; 
    --danger-color: #c0392b; 
    --warning-color: #f39c12; 
    --light-bg: #f8f9fa; 
    --modal-bg: #f3f4f6; 
    --border-color: #e9ecef; 
    --text-dark: #343a40; 
    --text-muted: #6c757d; 
    --sidebar-width: 360px; 
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, sans-serif; }

/* Ana Sayfa İçin Serbest Bırakma (Blog vs için) */
body { background-color: var(--light-bg); color: var(--text-dark); display: flex; flex-direction: column; overflow-x: hidden; margin: 0; min-height: 100vh; }

/* ========================================================= */
/* HARİTA SAYFASI KİLİDİ (Sayfanın aşağı kaymasını engeller) */
/* ========================================================= */
body.map-page { height: 100vh !important; overflow: hidden !important; }
body.map-page .container { height: 100vh !important; overflow: hidden !important; }

.container { display: flex; flex: 1; position: relative; width: 100%; overflow: hidden; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

/* ========================================================= */
/* SOL PANEL (SIDEBAR)                                       */
/* ========================================================= */
.sidebar { 
    width: var(--sidebar-width); 
    background: white; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 2px 0 15px rgba(0,0,0,0.05); 
    z-index: 2000; 
    transition: transform 0.3s ease, margin-left 0.3s ease; 
    height: 100%; 
}
.sidebar.closed { margin-left: calc(var(--sidebar-width) * -1); position: absolute; }

.sidebar-header { padding: 20px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.header-top-section { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }

/* Logo ve Marka Alanı (60px olarak düzeltilmişti, korundu) */
.brand-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex: 1; 
    text-decoration: none; 
    color: inherit; 
}

.brand-wrapper img { 
    height: 60px; 
    width: auto; 
}

.brand-text-group { display: flex; flex-direction: column; justify-content: center; }
.brand-title { font-size: 1.35rem; font-weight: 800; color: var(--primary-color); line-height: 1; margin-bottom: 4px; }
.brand-slogan { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; margin: 0; }

.btn-close-sidebar { display: flex; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; transition: 0.2s; }
.btn-close-sidebar:hover { color: var(--danger-color); background: #fdf2f2; }

.profile-card-mini { display: flex; align-items: center; justify-content: space-between; background: white; padding: 10px 15px; border-radius: 16px; cursor: pointer; border: 2px solid var(--border-color); transition: 0.2s; }
.profile-card-mini:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(30, 105, 222, 0.15); }
.profile-text { text-align: left; }
.p-name { display: block; font-weight: 700; font-size: 0.95rem; color: var(--secondary-color); }
.p-lvl { color: var(--primary-color); font-weight: 600; font-size: 0.8rem; }
.profile-avatar img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--light-bg); object-fit: cover; }

.search-ticker-area { background: var(--light-bg); padding: 15px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.search-box { display: flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--border-color); padding: 10px 15px; border-radius: 8px; margin-bottom: 10px; }
.search-box input { border: none; flex: 1; outline: none; }
.news-ticker { display: flex; align-items: center; gap: 10px; background: white; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; color: var(--text-muted); border: 1px solid var(--border-color); }
.news-ticker i { color: var(--primary-color); animation: pulse 2s infinite; }
.ticker-wrapper { flex: 1; overflow: hidden; }
.ticker-content { white-space: nowrap; animation: tickerMove 15s linear infinite; }
@keyframes tickerMove { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.list-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); background: white; font-weight: 600; flex-shrink: 0; }
.count-badge { background: var(--border-color); color: var(--text-muted); padding: 2px 8px; border-radius: 12px; font-size: 0.85rem; }

/* ========================================================= */
/* İSTASYON LİSTESİ İÇİN SABİT KAYDIRMA ÇUBUĞU (SCROLLBAR)   */
/* ========================================================= */
.results-list { 
    flex: 1; 
    overflow-y: auto; 
    padding: 15px; 
    background: var(--light-bg); 
    min-height: 0; 
}

.results-list::-webkit-scrollbar { width: 8px; }
.results-list::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; border: 1px solid #e2e8f0; }
.results-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.results-list::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

.station-card { background: white; border: 1px solid var(--border-color); border-radius: 10px; padding: 12px 15px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; cursor: pointer; }
.station-card:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card-info { flex: 1; }
.card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-weight: 600; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }
.status-ok { background: #e8f8f5; color: var(--success-color); }
.status-err { background: #fdedec; color: var(--danger-color); }
.status-pending { background: #fff3cd; color: var(--warning-color); }
.card-actions { display: flex; gap: 8px; }
.btn-icon-action { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; transition: 0.2s; background: var(--primary-color); }

/* ========================================================= */
/* HARİTA VE BUTONLAR                                        */
/* ========================================================= */
.map-container { flex: 1; position: relative; height: 100%; width: 100%; background: #e5e5e5; }
#map { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; z-index: 1; }

.btn-toggle { position: absolute; top: 20px; left: 20px; z-index: 1500; background: white; width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--secondary-color); transition: 0.2s; }
.btn-toggle:hover { background: var(--primary-color); color: white; }
.btn-home { position: absolute; top: 20px; right: 20px; z-index: 1500; background: white; width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-color); transition: 0.2s; text-decoration: none; }
.btn-home:hover { background: var(--primary-color); color: white; }
.btn-gps { position: absolute; bottom: 30px; right: 20px; z-index: 1001; background: white; width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-dark); transition: 0.2s; font-size: 1.2rem; }
.leaflet-top.leaflet-left { margin-top: 80px; }

.map-legend { position: absolute; bottom: 30px; z-index: 1001; background: white; padding: 15px 20px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.1); transition: 0.3s; }
.map-legend h4 { font-size: 0.9rem; margin-bottom: 10px; font-weight: 700; }
.map-legend ul { list-style: none; }
.map-legend li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; margin-bottom: 5px; color: var(--text-muted); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; }
.legend-dot.status-ok { background: var(--success-color); }
.legend-dot.status-err { background: var(--danger-color); }
.legend-dot.status-pending { background: var(--warning-color); }
@media (min-width: 769px) { .map-legend { left: 380px; } body:has(.sidebar.closed) .map-legend { left: 20px; } }

/* ========================================================= */
/* MODALLAR GENEL                                            */
/* ========================================================= */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 3000; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-content { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.25); position: relative; }
.close-icon-light, .close-icon-dark, .close-btn { position: absolute; top: 20px; right: 25px; font-size: 28px; cursor: pointer; z-index: 50; background: white; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); color: var(--text-muted); transition: 0.2s; }
.close-icon-dark:hover, .close-btn:hover { color: var(--danger-color); }

/* ========================================================= */
/* GİRİŞ YAP & KAYIT OL - KARAKTER ANİMASYONLARI             */
/* ========================================================= */
.login-modal-design { width: 850px; max-width: 95%; display: flex; height: 550px; max-height: 90vh; }
.lm-left { flex: 1; background: #eaf0f6; position: relative; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }

/* FİLİGRAN LOGO EKLENTİSİ - OPACITY 0.25 OLARAK ARTIRILDI */
.lm-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("vizi-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%; /* Logonun büyüklüğü */
    opacity: 0.25; /* GÖRÜNÜRLÜK ARTIRILDI (%25) */
    z-index: 0; /* Arka planda kalmasını sağlar */
}

/* Karakterlerin logonun üstünde kalması için z-index korundu */
.interactive-blobs { position: relative; width: 260px; height: 210px; z-index: 1; }
.blob { position: absolute; bottom: 0; transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.blob-purple { width: 90px; height: 160px; background: #6c38ff; left: 20px; border-radius: 45px 45px 0 0; z-index: 1; }
.blob-purple .eyes { display: flex; gap: 15px; margin-bottom: 10px; transition: all 0.3s ease;}
.blob-purple .eye { width: 18px; height: 18px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.2s; overflow: hidden; }
.blob-purple .pupil { width: 8px; height: 8px; background: #000; border-radius: 50%; transition: transform 0.1s, opacity 0.2s; }
.blob-purple .mouth { width: 12px; height: 4px; background: rgba(0,0,0,0.3); border-radius: 2px; transition: all 0.3s ease;}

.blob-black { width: 60px; height: 110px; background: #1a1a1a; left: 100px; border-radius: 30px 30px 0 0; z-index: 2; }
.blob-black .eyes { display: flex; gap: 10px; margin-bottom: 5px; transition: all 0.3s ease;}
.blob-black .eye { width: 14px; height: 14px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.2s; overflow: hidden; }
.blob-black .pupil { width: 6px; height: 6px; background: #000; border-radius: 50%; transition: transform 0.1s, opacity 0.2s; }

.blob-yellow { width: 60px; height: 80px; background: #ffc824; left: 160px; border-radius: 30px 30px 0 0; z-index: 3; }
.blob-yellow .eyes { display: flex; gap: 12px; margin-bottom: 8px; transition: all 0.3s ease;}
.blob-yellow .eye { width: 10px; height: 10px; background: transparent; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.blob-yellow .pupil { width: 10px; height: 10px; background: #000; border-radius: 50%; transition: transform 0.1s, height 0.2s; }
.blob-yellow .mouth { width: 8px; height: 3px; background: #333; border-radius: 2px; transition: all 0.3s ease;}

.blob-orange { width: 140px; height: 80px; background: #ff7e33; left: -20px; border-radius: 70px 70px 0 0; z-index: 4; padding-top: 20px; justify-content: flex-start; }
.blob-orange .eyes { display: flex; gap: 20px; margin-bottom: 12px; transition: all 0.3s ease;}
.blob-orange .eye { width: 12px; height: 12px; background: transparent; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.blob-orange .pupil { width: 12px; height: 12px; background: #000; border-radius: 50%; transition: transform 0.1s, height 0.2s; }
.blob-orange .mouth { width: 16px; height: 8px; border-bottom: 3px solid #333; border-radius: 0 0 16px 16px; transition: all 0.3s ease;}

.blindfolded .blob-purple .eye, .blindfolded .blob-black .eye { height: 4px; background: #333; border-radius: 2px; margin-top: 7px; }
.blindfolded .blob-purple .pupil, .blindfolded .blob-black .pupil { opacity: 0; }
.blindfolded .blob-yellow .pupil, .blindfolded .blob-orange .pupil { height: 4px; border-radius: 2px; margin-top: 4px; }
.blindfolded .blob-purple .mouth, .blindfolded .blob-yellow .mouth, .blindfolded .blob-orange .mouth {
    height: 10px; width: 10px; border-radius: 50%; border: 3px solid #333; background: transparent; border-bottom: 3px solid #333;
}

.lm-right { flex: 1.2; padding: 50px 40px; display: flex; flex-direction: column; position: relative; background: white; overflow-y: auto; }
.lm-right::-webkit-scrollbar { width: 6px; }
.lm-right::-webkit-scrollbar-track { background: transparent; }
.lm-right::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* Giriş modalları logo boyutu korundu (45px) */
.lm-right img[alt="Vizi Logo"] {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.auth-tabs { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 2px solid #e0e0e0; }
.auth-tab { background: transparent; border: none; padding: 5px 5px 10px; font-size: 1.3rem; font-weight: 800; color: #a0aec0; cursor: pointer; position: relative; transition: 0.3s; }
.auth-tab.active { color: var(--secondary-color); }
.auth-tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 4px; background: var(--primary-color); border-radius: 4px 4px 0 0; }
.lm-subtext { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.login-form input { width: 100%; padding: 14px 20px; border: 2px solid var(--border-color); border-radius: 12px; margin-bottom: 12px; font-size: 1rem; outline: none; transition: 0.3s; background: var(--light-bg); }
.login-form input:focus { border-color: var(--primary-color); background: white; }
.terms-box { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; }
.terms-box input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary-color); }
.btn-login-mail { width: 100%; padding: 16px; background: var(--secondary-color); color: white; border-radius: 12px; font-size: 1.1rem; font-weight: bold; border: none; cursor: pointer; transition: 0.2s; margin-bottom: 20px; }
.btn-login-mail:hover { background: #1a252f; }
.divider { display: flex; align-items: center; color: #aaa; margin-bottom: 20px; font-size: 0.9rem; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid #eee; }
.divider::before { margin-right: .5em; } .divider::after { margin-left: .5em; }
.btn-google-login { width: 100%; padding: 15px; border: 2px solid var(--border-color); background: white; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 1.05rem; font-weight: 600; transition: 0.2s; color: var(--text-dark); }

/* ========================================================= */
/* PROFİL MODALI                                             */
/* ========================================================= */
.profile-modal-design { width: 550px; max-width: 95%; border-radius: 24px; }
.pm-header { background: linear-gradient(135deg, var(--primary-color) 0%, #4ade80 100%); color: white; padding: 40px 35px 35px; position: relative; }
.pm-user-info { display: flex; align-items: center; gap: 25px; position: relative; z-index: 2; }
.pm-avatar-wrapper { position: relative; }
.pm-avatar { width: 90px; height: 90px; border-radius: 50%; background: white; border: 4px solid rgba(255,255,255,0.4); object-fit: cover; }
.pm-level-badge { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); background: #f39c12; color: white; font-size: 0.8rem; font-weight: 800; padding: 4px 12px; border-radius: 15px; border: 2px solid white; }
.pm-text h2 { font-size: 1.6rem; margin-bottom: 6px; font-weight: 800; }
.pm-text p { font-size: 1rem; opacity: 0.95; font-weight: 500; }
.pm-body { padding: 35px; background: white; }
.pm-stats-row { display: flex; gap: 15px; margin-bottom: 35px; }
.pm-stat-box { flex: 1; background: #f8fafc; border: 1px solid #e2e8f0; text-align: center; padding: 20px 10px; border-radius: 16px; }
.pm-stat-box i { font-size: 1.8rem; margin-bottom: 12px; display: inline-block; }
.pm-stat-box h3 { font-size: 1.7rem; color: var(--secondary-color); font-weight: 800; margin-bottom: 4px; }
.pm-stat-box p { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; }
.pm-progress-area { margin-bottom: 35px; background: #f8fafc; padding: 20px 25px; border-radius: 16px; border: 1px dashed #cbd5e1; }
.pm-prog-labels { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; font-weight: 800; margin-bottom: 15px; }
.pm-prog-bg { width: 100%; height: 16px; background: #e2e8f0; border-radius: 8px; overflow: hidden; }
.pm-prog-fill { height: 100%; background: linear-gradient(to right, var(--primary-color), var(--success-color)); border-radius: 8px; }
.pm-section-title { font-size: 1.15rem; color: var(--secondary-color); margin-bottom: 15px; font-weight: 800; }
.pm-badges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.pm-badge-card { background: white; border: 1px solid #e2e8f0; padding: 15px; border-radius: 16px; display: flex; align-items: center; gap: 15px; }
.pm-badge-card.locked { opacity: 0.55; filter: grayscale(100%); background: #f8fafc; }
.badge-icon { width: 45px; height: 45px; background: var(--primary-light); color: var(--primary-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.badge-info h5 { font-size: 1rem; color: var(--secondary-color); margin-bottom: 4px; font-weight: 800; }
.badge-info small { font-size: 0.75rem; color: var(--text-muted); display: block; font-weight: 500; }
.pm-footer-action { margin-top: 30px; text-align: center; }
.btn-logout { padding: 12px 25px; background: transparent; border: 2px solid #fee2e2; color: #ef4444; border-radius: 12px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.3s; }

/* ========================================================= */
/* BİLDİRİM VE DOĞRULAMA MODALLARI                           */
/* ========================================================= */
.report-modal-design { width: 900px; max-width: 95%; height: 650px; display: flex; flex-direction: column; border-radius: 20px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; border-bottom: 1px solid #f0f0f0; background: white; }
.modal-header h2 { font-size: 1.4rem; color: var(--secondary-color); font-weight: 800; }
.modal-body { display: flex; flex: 1; overflow: hidden; }
.visual-container { flex: 4; position: relative; border-right: 1px solid #f0f0f0; background: #fafafa; }
#mini-map { width: 100%; height: 100%; z-index: 1; position: absolute; top: 0; bottom: 0; left: 0; right: 0; }
.mini-map-overlay { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: white; padding: 10px 25px; border-radius: 30px; font-size: 0.95rem; z-index: 1000; font-weight: 700; color: var(--primary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.1); pointer-events: none; }

.form-container { flex: 3; padding: 30px; background: #ffffff; overflow-y: auto; display: flex; flex-direction: column; }
.form-container::-webkit-scrollbar { width: 6px; }
.form-container::-webkit-scrollbar-track { background: transparent; }
.form-container::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.form-friendly-header { text-align: center; margin-bottom: 20px; }
.form-friendly-header h3 { font-size: 1.3rem; color: var(--secondary-color); font-weight: 800; margin-bottom: 5px; }
.form-friendly-header p { font-size: 0.95rem; color: var(--text-muted); }

.issue-types-grid { display: flex; gap: 15px; margin-bottom: 20px; }
.issue-option { flex: 1; cursor: pointer; position: relative; }
.issue-option input { display: none; }
.issue-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 10px; border: 2px solid #e2e8f0; border-radius: 16px; background: #f8fafc; color: #64748b; transition: all 0.3s ease; height: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.issue-box i { font-size: 2.2rem; transition: transform 0.3s; color: #94a3b8; }
.issue-box span { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.5px; }
.issue-option:hover .issue-box { border-color: #cbd5e1; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.issue-option input:checked + .issue-box { border-color: var(--primary-color); background: var(--primary-light); color: var(--primary-color); box-shadow: 0 8px 20px rgba(30, 105, 222, 0.15); transform: translateY(-3px); }
.issue-option input:checked + .issue-box i { color: var(--primary-color); transform: scale(1.1); }

.selection-alert { padding: 12px; background: #fffbeb; border: 2px dashed #fcd34d; margin-bottom: 20px; border-radius: 12px; text-align: center; color: #b45309; font-size: 0.95rem; font-weight: 600; }
.selection-alert.selected { background: #f0fdf4; color: #15803d; border-color: #86efac; border-style: solid; }
.file-upload-wrapper { width: 100%; padding: 25px 20px; border: 2px dashed #cbd5e1; border-radius: 16px; background: #f8fafc; text-align: center; cursor: pointer; margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: 0.3s; }
.file-upload-wrapper:hover { border-color: var(--primary-color); background: var(--primary-light); }
.file-upload-wrapper #file-label, .file-upload-wrapper #verify-file-label { font-weight: 800; font-size: 1.05rem; color: var(--secondary-color); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
.shake-animation { animation: shake 0.4s ease-in-out; border-color: var(--danger-color) !important; background: #fef2f2 !important; color: var(--danger-color) !important; }
textarea { width: 100%; padding: 15px; border: 2px solid #e2e8f0; border-radius: 16px; resize: none; margin-bottom: 10px; font-size: 0.95rem; outline: none; background: #f8fafc; height: 80px; color: var(--text-dark); }
.btn-submit { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--primary-color) 0%, #3a7bd5 100%); color: white; border-radius: 16px; font-weight: 800; font-size: 1.15rem; border: none; cursor: pointer; transition: 0.3s; margin-top: auto; }

.verify-modal-design { width: 500px; text-align: center; border-radius: 20px; padding: 10px; }
.vm-header { padding: 20px; border-bottom: 1px solid #f0f0f0; }
.vm-header h3 { font-size: 1.3rem; color: var(--secondary-color); font-weight: 800; margin: 0; }
.vm-body { padding: 25px; display: flex; flex-direction: column; }
.vm-actions { display: flex; flex-direction: column; gap: 15px; margin-top: 10px; }
.btn-verify-action { display: flex; align-items: center; padding: 15px 20px; border: 2px solid #e2e8f0; border-radius: 16px; background: #f8fafc; text-align: left; cursor: pointer; transition: 0.3s; }
.btn-verify-action .icon-box { width: 45px; height: 45px; border-radius: 12px; background: white; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-right: 20px; }
.btn-still-broken .icon-box { color: var(--danger-color); }
.btn-fixed .icon-box { color: var(--success-color); }
.btn-verify-action .action-text strong { display: block; font-size: 1.1rem; color: var(--secondary-color); margin-bottom: 3px; }

/* MOBİL ÖZEL AYARLAR */
@media (max-width: 768px) {
    .sidebar { width: 100%; position: absolute; z-index: 99999; }
    .sidebar.closed { transform: translateX(-100%); margin-left: 0; }
    .login-modal-design { flex-direction: column; height: auto; max-height: 90vh; }
    .lm-left { display: none; }
    .lm-right { padding: 30px 20px; }
    .report-modal-design { width: 95%; height: 95dvh; }
    .modal-body { flex-direction: column; }
    .visual-container { flex: none; height: 250px; border-right: none; border-bottom: 1px solid var(--border-color); }
    .form-container { flex: 1; overflow-y: auto; padding: 20px; }
    .map-legend { left: 10px; bottom: 85px; max-width: 60%; transform: scale(0.9); transform-origin: bottom left; }
    .btn-gps { bottom: 25px; right: 20px; }
}

/* ========================================================= */
/* BLOG SAYFALARI İÇİN ÖZEL TASARIM                          */
/* ========================================================= */
.blog-page-container { max-width: 900px; margin: 0 auto; padding: 40px 20px; background-color: white; min-height: 100vh; box-shadow: 0 0 20px rgba(0,0,0,0.05); }
.blog-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.blog-nav .btn-home { position: static; box-shadow: none; background: transparent; color: var(--secondary-color); width: auto; height: auto; border-radius: 0; display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; }
.blog-nav .btn-home:hover { color: var(--primary-color); background: transparent; transform: translateX(-5px); }
.blog-nav .btn-map { background: var(--primary-color); color: white; text-decoration: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.blog-nav .btn-map:hover { background: #1557b0; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(30, 105, 222, 0.3); }
.blog-category { display: inline-block; background: var(--primary-light); color: var(--primary-color); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; }
.blog-title { font-size: 2.2rem; color: var(--secondary-color); font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
.blog-meta { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.blog-meta i { color: var(--primary-color); }
.blog-hero-image { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 16px; margin-bottom: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.blog-content { font-size: 1.1rem; line-height: 1.8; color: #4a5568; }
.blog-content h3 { color: var(--secondary-color); font-size: 1.5rem; font-weight: 800; margin-top: 35px; margin-bottom: 15px; }
.blog-content p { margin-bottom: 20px; }
.blog-content blockquote { border-left: 5px solid var(--primary-color); background: var(--primary-light); padding: 15px 20px; margin: 30px 0; font-style: italic; color: var(--secondary-color); border-radius: 0 8px 8px 0; }
@media (max-width: 768px) { .blog-page-container { padding: 20px 15px; } .blog-title { font-size: 1.8rem; } .blog-content { font-size: 1rem; } }

/* ========================================================= */
/* ANA SAYFA BLOG KARTLARI (KUSURSUZ GRID SİSTEMİ)           */
/* ========================================================= */
.blog-section {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    height: 100%; 
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.blog-tag {
    align-self: flex-start; 
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1; 
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto; 
    font-size: 1rem;
    transition: 0.2s ease;
}

.read-more:hover {
    color: #1557b0;
    gap: 12px; 
}
