/* ==========================================================================
   1. GLOBAL DEĞİŞKENLER VE SIFIRLAMA
   ========================================================================== */
:root { 
    --primary: #E67E22; 
    --dark: #0A0A0A; 
    --bg-card: #161616; 
    --white: #FFF; 
    --gray: #B3B3B3; 
    --shadow: 0 10px 20px rgba(0,0,0,0.5); 
}
* { margin:0; padding:0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--white); font-family: 'Roboto', sans-serif; line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.section { padding: 100px 0; }
.bg-dark { background: var(--bg-card); }
.title { font-family: 'Teko', sans-serif; font-size: 3.5rem; color: var(--primary); margin-bottom: 40px; }
.title.center { text-align: center; }
.title.left { text-align: left; margin-bottom: 20px; }

/* ==========================================================================
   2. ORTAK ARAYÜZ (NAVBAR & BUTONLAR)
   ========================================================================== */
.navbar { background: #000; height: 100px; border-bottom: 2px solid var(--primary); position: fixed; width: 100%; top: 0; z-index: 1000; }
.mobile-btns { display: none; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 95%; max-width: 1400px; margin: 0 auto; height: 100px; }
.main-logo { height: 200px !important; width: auto !important; max-width: 300px !important; min-width: 150px !important; object-fit: contain; display: inline-block !important; transition: 0.3s ease; }
.main-logo:hover { transform: scale(1.05); filter: drop-shadow(0px 0px 8px var(--primary)); }
.logo { display: flex; align-items: center; padding-left: 20px; }
.logo a { display: flex; align-items: center; height: 100%; text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 20px; margin: 0; padding: 0; white-space: nowrap; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-btns { display: flex; gap: 12px; align-items: center; }

.btn { padding: 10px 22px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 0.8rem; border: none; cursor: pointer; transition: 0.3s; }
.nav-btns .btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; width: 145px !important; padding: 0; font-size: 0.8rem; font-weight: 700; margin: 10px; }
.btn-login { background-color: transparent; color: #fff; border: 1px solid transparent; }
.btn-login:hover { color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff !important; border: 2px solid var(--primary); text-decoration: none !important; }
.btn-primary:hover { background: transparent; color: var(--primary) !important; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #000; }
.btn-main { background: var(--primary); color: #fff; padding: 15px 40px; text-decoration: none; border-radius: 4px; font-weight: bold; margin-right: 15px; display: inline-block; }
.btn-sub { background: var(--primary); color: #fff; padding: 15px 40px; text-decoration: none; border-radius: 4px; font-weight: bold; margin-right: 15px; display: inline-block;}
.block-btn { width: 100%; height: 50px; font-size: 1.1rem; margin-top: 10px; cursor: pointer; }

/* ==========================================================================
   3. ANASAYFA (INDEX.PHP) STİLLERİ
   ========================================================================== */
.hero { height: 100vh; background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?q=80&w=2000'); background-size: cover; background-position: center; display: flex; align-items: center; text-align: center; }
.hero h1 { font-family: 'Teko', sans-serif; font-size: 5rem; line-height: 1; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--gray); font-size: 1.3rem; margin-bottom: 40px; }
.about-modern-grid { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px; align-items: center; }
.about-icon i { font-size: 4rem; color: var(--primary); }
.about-text-box p { color: var(--gray); font-size: 1.1rem; margin-bottom: 15px; }
.about-stats-box { display: flex; flex-direction: column; gap: 20px; }
.stat-card { background: var(--dark); padding: 25px; border-left: 5px solid var(--primary); border-radius: 4px; text-align: center; }
.stat-card h3 { font-family: 'Teko', sans-serif; font-size: 3rem; color: var(--primary); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #111; padding: 40px 30px; border: 1px solid #222; text-align: center; border-radius: 12px; transition: all 0.3s ease; }
.card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 20px rgba(230, 126, 34, 0.15); }
.card i { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(230,126,34,0.4)); }
.price-grid-equal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 900px; margin: auto; }
.p-card { background: #111; padding: 50px 30px; border: 1px solid #222; position: relative; text-align: center; border-radius: 12px; transition: all 0.3s ease; }
.p-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 20px rgba(230, 126, 34, 0.15); }
.p-card.featured { border-color: var(--primary); box-shadow: 0 0 15px rgba(230, 126, 34, 0.2); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 0.7rem; font-weight: bold; color:#000; }
.amt { font-size: 3.5rem; font-weight: bold; color: var(--primary); margin: 20px 0; }
.p-card ul { list-style: none; text-align: left; color: var(--gray); margin-bottom: 20px; }
.p-card ul li:before { content: "✓ "; color: var(--primary); }
.sss-grid-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.sss-box { background: #111; padding: 30px; border: 1px solid #222; border-radius: 12px; transition: 0.3s ease; }
.sss-box:hover { border-color: var(--primary); background: #151515; }
.sss-box h4 { color: var(--primary); margin-bottom: 15px; }
.sss-box p { color: var(--gray); font-size: 0.95rem; }
.iletisim-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.iletisim-info { display: flex; flex-direction: column; gap: 20px; }
.info-box { display: flex; align-items: center; background: #111; padding: 20px; border-radius: 12px; border: 1px solid #222; transition: all 0.3s ease; }
.info-box:hover { border-color: var(--primary); transform: translateX(10px); box-shadow: 0 5px 15px rgba(230, 126, 34, 0.1); }
.icon-circle { width: 50px; height: 50px; background: rgba(230, 126, 34, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 20px; flex-shrink: 0; }
.icon-circle i { color: var(--primary); font-size: 1.5rem; }
.info-text h4 { color: var(--white); margin-bottom: 5px; font-size: 1.1rem; }
.info-text p { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* Anasayfa Formları */
.contact-form { background: #111; padding: 40px; border-radius: 12px; border: 1px solid #222; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px 20px; background: #1a1a1a; border: 1px solid #333; color: #fff; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: all 0.3s ease; outline: none; }
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); background: #222; box-shadow: 0 0 10px rgba(230, 126, 34, 0.2); }

/* Footer */
.modern-footer { background: #000; border-top: 2px solid var(--primary); padding-top: 70px; color: var(--gray); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary); }
.footer-logo-img { height: 80px; width: auto; margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(230,126,34,0.3)); transition: transform 0.3s ease; }
.footer-logo-img:hover { transform: scale(1.05); }
.footer-desc { font-size: 0.95rem; margin-bottom: 25px; line-height: 1.7; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #111; color: var(--white); border-radius: 50%; text-decoration: none; transition: all 0.3s ease; border: 1px solid #222; font-size: 1.1rem; }
.social-icons a:hover { background: var(--primary); color: #000; transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: var(--primary); transform: translateX(8px); }
.footer-contact-info p { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 0.95rem; }
.footer-contact-info i { color: var(--primary); font-size: 1.2rem; }
.footer-bottom { background: #050505; border-top: 1px solid #151515; padding: 25px 0; font-size: 0.85rem; color: #999; }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.legal-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legal-links a { color: #999; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: var(--primary); }

.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: #0a0a0a; border-top: 2px solid var(--primary); box-shadow: 0 -5px 25px rgba(0,0,0,0.8); padding: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.5s ease-in-out; }
.cookie-banner.goster { bottom: 0; }
.cookie-content { display: flex; align-items: center; gap: 20px; max-width: 80%; }
.cookie-icon { font-size: 2rem; color: var(--primary); }
.cookie-content p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.cookie-content a { color: var(--primary); text-decoration: underline; }

/* Giriş / Kayıt 3D Modal */
.auth-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.auth-modal-overlay.active { opacity: 1; visibility: visible; }
.auth-modal-container { background: transparent; width: 420px; height: 650px; perspective: 1000px; position: relative; }
.close-modal { position: absolute; top: -40px; right: 0; color: var(--gray); font-size: 1.8rem; cursor: pointer; z-index: 10001; transition: 0.3s; }
.close-modal:hover { color: var(--primary); transform: scale(1.1); }
.flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.auth-modal-container.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #111; border: 1px solid #222; border-radius: 12px; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 20px 50px rgba(0,0,0,0.7); }
.flip-card-back { transform: rotateY(180deg); }
.flip-card-front h3, .flip-card-back h3 { color: var(--primary); font-family: 'Teko', sans-serif; font-size: 2.8rem; margin-bottom: 5px; letter-spacing: 1px; line-height: 1; }
.auth-subtitle { color: var(--gray); font-size: 0.95rem; margin-bottom: 30px; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form input { width: 100%; padding: 15px 20px; background: #1a1a1a !important; border: 1px solid #333 !important; color: #fff !important; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: all 0.3s ease; outline: none; }
.auth-form input:focus { border-color: var(--primary) !important; background: #222 !important; box-shadow: 0 0 10px rgba(230, 126, 34, 0.2); }
.auth-switch { margin-top: 25px; font-size: 0.95rem; color: var(--gray); }
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: bold; transition: 0.3s; }
.auth-switch a:hover { text-decoration: underline; }

/* ==========================================================================
   4. USTA PANELİ & AYARLAR (ORTAK YAPI)
   ========================================================================== */
body.panel-page { background: #050505; margin: 0; padding: 0; display: flex; height: 100vh; overflow: hidden; }
.panel-page .sidebar { width: 260px; background: #0a0a0a; border-right: 1px solid #222; display: flex; flex-direction: column; flex-shrink: 0;}
.panel-page .sidebar-logo { padding: 25px 20px; border-bottom: 1px solid #222; text-align: center; }
.panel-page .sidebar-logo img { width: 80%; filter: drop-shadow(0 0 5px rgba(230,126,34,0.3)); }
.panel-page .sidebar-menu { list-style: none; padding: 20px 0; margin: 0; flex-grow: 1; }
.panel-page .sidebar-menu li { margin-bottom: 5px; }
.panel-page .sidebar-menu a { display: flex; align-items: center; gap: 15px; padding: 15px 25px; color: var(--gray); text-decoration: none; font-size: 1.05rem; transition: 0.3s; border-left: 3px solid transparent; }
.panel-page .sidebar-menu a i { font-size: 1.2rem; width: 25px; text-align: center; }
.panel-page .sidebar-menu a:hover, .panel-page .sidebar-menu li.active a { background: #111; color: var(--white); border-left-color: var(--primary); }
.panel-page .sidebar-menu li.active a i { color: var(--primary); }

.panel-page .main-content { flex-grow: 1; padding: 30px 40px; overflow-y: auto; }
.panel-page .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.panel-page .panel-header h2 { font-family: 'Teko', sans-serif; font-size: 2.5rem; color: var(--white); letter-spacing: 1px; margin: 0; }
.panel-page .header-right { display: flex; gap: 15px; align-items: center; }
.panel-page .user-badge { background: #111; border: 1px solid var(--primary); color: var(--primary); padding: 8px 20px; border-radius: 20px; font-weight: bold; display: flex; align-items: center; gap: 10px; }
.panel-page .btn-logout { background: rgba(255, 68, 68, 0.1); border: 1px solid #ff4444; color: #ff4444; padding: 8px 20px; border-radius: 20px; font-weight: bold; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.panel-page .btn-logout:hover { background: #ff4444; color: #fff; box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); transform: translateY(-2px); }

/* Dashboard Grid & Tables */
.panel-page .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-bottom: 40px; }
.panel-page .stat-card { background: #111; border: 1px solid #222; padding: 25px; border-radius: 12px; display: flex; align-items: center; gap: 20px; transition: 0.3s; }
.panel-page .stat-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 5px 15px rgba(230, 126, 34, 0.1); }
.panel-page .stat-icon { width: 60px; height: 60px; background: rgba(230, 126, 34, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; color: var(--primary); }
.panel-page .stat-info h4 { color: var(--gray); font-size: 0.9rem; margin-bottom: 5px; text-transform: uppercase; }
.panel-page .stat-info span { color: var(--white); font-size: 1.8rem; font-weight: bold; }

.panel-page .action-banner { background: linear-gradient(45deg, #111, #1a1a1a); border: 1px solid var(--primary); border-radius: 12px; padding: 30px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; box-shadow: 0 0 20px rgba(230, 126, 34, 0.1); }
.panel-page .action-text h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 5px; }
.panel-page .action-text p { color: var(--gray); margin: 0; }
.panel-page .btn-huge { background: var(--primary); color: #000; font-size: 1.2rem; font-weight: bold; padding: 15px 40px; border-radius: 8px; text-decoration: none; transition: 0.3s; border: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.panel-page .btn-huge:hover { background: #fff; transform: scale(1.05); }

.panel-page .table-container { background: #111; border: 1px solid #222; border-radius: 12px; padding: 25px; }
.panel-page .table-header-flex { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 15px; margin-bottom: 20px; }
.panel-page .table-container h3 { color: var(--white); font-size: 1.3rem; margin: 0; }
.panel-page .search-box { position: relative; }
.panel-page .search-box i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--gray); }
.panel-page .search-box input { background: #1a1a1a !important; border: 1px solid #333 !important; color: #fff !important; padding: 10px 15px 10px 40px; border-radius: 20px; outline: none; transition: 0.3s; font-family: inherit; }
.panel-page .search-box input:focus { border-color: var(--primary) !important; box-shadow: 0 0 8px rgba(230, 126, 34, 0.2); }
.panel-page .table-container table { width: 100%; border-collapse: collapse; text-align: left; }
.panel-page .table-container th { color: var(--gray); padding: 15px; border-bottom: 2px solid #222; font-weight: 500; }
.panel-page .table-container td { color: var(--white); padding: 15px; border-bottom: 1px solid #222; }
.panel-page .table-container tr:hover td { background: #151515; }
.panel-page .text-success { color: #00C851 !important; font-weight: bold; font-size: 1.1rem; }
.panel-page .text-warning { color: var(--primary) !important; font-weight: bold; }
.panel-page .action-btns { display: flex; gap: 8px; }
.panel-page .btn-icon { background: #1a1a1a; border: 1px solid #333; color: var(--gray); padding: 8px 12px; border-radius: 6px; cursor: pointer; transition: 0.3s; }
.panel-page .btn-icon:hover { background: var(--primary); color: #000; border-color: var(--primary); transform: translateY(-2px); }
.panel-page .truncate-text { max-width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ==========================================================================
   5. AYARLAR SAYFASI (AYARLAR.PHP) ÖZEL STİLLERİ (BEYAZ KUTU HATASI ÇÖZÜLDÜ)
   ========================================================================== */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.settings-card { background: #111; border: 1px solid #222; border-radius: 12px; padding: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.settings-card h3 { color: var(--primary); margin-bottom: 20px; font-family: 'Teko', sans-serif; font-size: 1.8rem; letter-spacing: 1px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.settings-card .form-group { margin-bottom: 15px; }
.settings-card .form-group label { display: block; color: var(--gray); font-size: 0.85rem; margin-bottom: 5px; font-weight: bold; text-align: left; }

/* Ayarlar sayfasındaki kutuların arka planı kesin siyah (Karanlık tema) yapıldı */
.settings-card .form-group input, 
.settings-card .form-group textarea { width: 100%; padding: 12px 15px; background: #0a0a0a !important; border: 1px solid #333 !important; color: #fff !important; border-radius: 6px; font-family: inherit; outline: none; transition: 0.3s; font-size: 0.95rem; box-sizing: border-box; resize: vertical; }
.settings-card .form-group input:focus, 
.settings-card .form-group textarea:focus { border-color: var(--primary) !important; box-shadow: 0 0 8px rgba(230,126,34,0.2) !important; }
.settings-card .form-group input[disabled] { background: #151515 !important; color: #666 !important; cursor: not-allowed; border-color: #222 !important; }

/* Abonelik Durumu Rozeti */
.sub-card { background: linear-gradient(45deg, #1a1a1a, #111); border: 1px solid var(--primary); padding: 25px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(230, 126, 34, 0.1); transition: 0.3s; }
.sub-info h4 { color: #fff; font-size: 1.4rem; margin-bottom: 5px; }
.sub-info p { color: var(--gray); font-size: 0.95rem; margin: 0; }
.sub-badge { padding: 8px 15px; border-radius: 30px; font-weight: bold; border: 1px solid transparent; font-size: 0.95rem; text-align: center; }

/* ==========================================================================
   6. PANEL İÇİ MODALLAR VE KATALOG SİSTEMİ
   ========================================================================== */
.panel-page .bakim-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; z-index: 10000; opacity: 0; visibility: hidden; transition: 0.3s; padding: 20px; box-sizing: border-box; }
.panel-page .bakim-modal-overlay.active { opacity: 1; visibility: visible; }
.panel-page .bakim-modal-container { background: #111; width: 100%; max-width: 700px; border-radius: 12px; border: 1px solid var(--primary); box-shadow: 0 10px 30px rgba(230,126,34,0.2); overflow: hidden; transform: translateY(-50px); transition: 0.3s; max-height: 90vh; display: flex; flex-direction: column; }
.panel-page .bakim-modal-overlay.active .bakim-modal-container { transform: translateY(0); }
.panel-page .bakim-modal-header { background: #1a1a1a; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; flex-shrink: 0;}
.panel-page .bakim-modal-header h3 { color: var(--primary); margin: 0; font-family: 'Teko', sans-serif; font-size: 1.8rem; letter-spacing: 1px; }
.panel-page .close-bakim { color: var(--gray); font-size: 2rem; cursor: pointer; transition: 0.3s; line-height: 1; }
.panel-page .close-bakim:hover { color: #ff4444; }
.panel-page .bakim-form { padding: 25px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 30px; }
.panel-page .form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.panel-page .form-row .form-group { flex: 1; margin-bottom: 0; }
.panel-page .bakim-form label { display: block; color: var(--gray); font-size: 0.85rem; margin-bottom: 5px; font-weight: bold; text-align: left; }
.panel-page .bakim-form input[type="file"] { padding: 9px 15px; background: #151515 !important; color: var(--gray); cursor: pointer; }
.panel-page .bakim-form input[type="file"]::-webkit-file-upload-button { background: var(--primary); color: #000; border: none; padding: 5px 10px; border-radius: 4px; font-weight: bold; cursor: pointer; margin-right: 10px; }
.panel-page .bakim-form input, .panel-page .bakim-form textarea, .panel-page .bakim-form select { width: 100%; padding: 12px 15px; background: #0a0a0a !important; border: 1px solid #333 !important; color: #fff !important; border-radius: 6px; font-family: inherit; font-size: 0.95rem; outline: none; transition: 0.3s; box-sizing: border-box; }
.panel-page .bakim-form input:focus, .panel-page .bakim-form textarea:focus, .panel-page .bakim-form select:focus { border-color: var(--primary) !important; box-shadow: 0 0 8px rgba(230, 126, 34, 0.2); }

.katalog-kutu { background: #151515; border: 1px solid #333; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.katalog-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.katalog-grid select, .katalog-grid input { width: 100%; padding: 12px 15px; background: #0a0a0a !important; border: 1px solid #333 !important; color: #fff !important; border-radius: 6px; font-family: inherit; font-size: 0.95rem; outline: none; box-sizing: border-box; transition: 0.3s; }
.katalog-grid select:focus, .katalog-grid input:focus { border-color: var(--primary) !important; }
.katalog-grid select:disabled, .katalog-grid input:disabled { background: #111 !important; color: #555 !important; cursor: not-allowed; border-color: #222 !important; }
.katalog-toggle { color: var(--primary); font-size: 0.85rem; cursor: pointer; text-decoration: underline; margin-top: 10px; display: inline-block; transition: 0.3s; }
.katalog-toggle:hover { color: #fff; }

/* ==========================================================================
   7. KİLİT EKRANI & PAYTR (ÖDEME MODALI) SİSTEMLERİ
   ========================================================================== */
.lock-screen-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.98); z-index: 99999; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; backdrop-filter: blur(10px); }
.lock-screen-box { background: #111; border: 2px solid #ff4444; border-radius: 15px; padding: 50px 30px; max-width: 600px; width: 100%; box-shadow: 0 20px 50px rgba(255, 68, 68, 0.2); }
.lock-screen-box i.fa-lock { font-size: 5rem; color: #ff4444; margin-bottom: 20px; text-shadow: 0 0 15px rgba(255, 68, 68, 0.5); }
.lock-screen-box h2 { color: #fff; font-family: 'Teko', sans-serif; font-size: 3rem; margin-bottom: 15px; letter-spacing: 1px; line-height: 1; }
.lock-screen-box p { color: var(--gray); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }
.btn-paytr-trigger { background: #12b76a; color: #fff; border: 2px solid #12b76a; text-decoration: none; padding: 15px 30px; font-size: 1.2rem; font-weight: bold; border-radius: 8px; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; width: 100%; justify-content: center; margin-bottom: 15px; cursor: pointer; }
.btn-paytr-trigger:hover { background: #0e9f5d; border-color: #0e9f5d; transform: translateY(-3px); }

.paytr-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(8px); padding: 20px; box-sizing: border-box;}
.paytr-overlay.active { opacity: 1; visibility: visible; }
.paytr-box { background: #fff; width: 100%; max-width: 450px; border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); transform: translateY(-50px); transition: 0.3s; }
.paytr-overlay.active .paytr-box { transform: translateY(0); }
.paytr-header { background: #f8f9fa; padding: 20px; text-align: center; border-bottom: 1px solid #e9ecef; position: relative; display: flex; justify-content: center; align-items: center; flex-direction: column;}
.paytr-header h3 { color: #333; margin: 0; font-size: 1.5rem; font-family: 'Roboto', sans-serif; font-weight: 700; }
.paytr-header p { color: #12b76a; font-weight: bold; margin: 5px 0 0 0; font-size: 0.9rem; }
.close-paytr { position: absolute; right: 20px; top: 20px; font-size: 1.5rem; color: #999; cursor: pointer; transition: 0.3s; }
.close-paytr:hover { color: #ff4444; }
.paytr-body { padding: 30px; }
.paytr-body .pay-input-group { margin-bottom: 18px; text-align: left; }
.paytr-body .pay-input-group label { display: block; color: #555; font-size: 0.85rem; margin-bottom: 5px; font-weight: 600; }
/* PayTR kutuları özellikle beyaz yapıldı (Siyah temaya ezilmesin diye) */
.paytr-body .pay-input-group input { width: 100%; padding: 14px; background: #fff !important; border: 1px solid #ddd !important; border-radius: 6px; font-size: 1rem; color: #333 !important; transition: 0.3s; box-sizing: border-box; }
.paytr-body .pay-input-group input:focus { border-color: #12b76a !important; outline: none; box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.2) !important; }
.paytr-body .pay-row { display: flex; gap: 15px; }
.btn-paytr-submit { background: #12b76a; color: #fff; border: none; width: 100%; padding: 16px; font-size: 1.1rem; font-weight: bold; border-radius: 6px; cursor: pointer; margin-top: 10px; transition: 0.3s; }
.btn-paytr-submit:hover { background: #0e9f5d; }
.secure-badge { text-align: center; margin-top: 20px; color: #888; font-size: 0.85rem; display: flex; justify-content: center; align-items: center; gap: 8px; }
.secure-badge i { color: #12b76a; font-size: 1.2rem; }

/* ==========================================================================
   8. SORGULA (MÜŞTERİ RAPOR EKRANI)
   ========================================================================== */
.search-hero { padding: 80px 20px; text-align: center; background: linear-gradient(180deg, #111 0%, #050505 100%); border-bottom: 1px solid #222; margin-top: 100px;}
.search-hero h1 { font-family: 'Teko', sans-serif; font-size: 3.5rem; color: var(--primary); margin-bottom: 15px; line-height: 1; }
.search-hero p { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px auto; }
.secure-search-box { display: flex; gap: 15px; max-width: 800px; margin: 0 auto; }
.secure-search-box input { flex: 1; padding: 20px; font-size: 1.2rem; background: #1a1a1a !important; border: 2px solid #333 !important; border-radius: 8px; color: #fff !important; outline: none; transition: 0.3s; font-family: 'Roboto', sans-serif; font-weight: bold; }
.secure-search-box input:focus { border-color: var(--primary) !important; background: #222 !important; }
.secure-search-box button { background: var(--primary); color: #000; border: none; padding: 0 40px; font-size: 1.3rem; border-radius: 8px; cursor: pointer; transition: 0.3s; font-weight: bold; }
.secure-search-box button:hover { background: #fff; }

.results-container { max-width: 900px; margin: 50px auto; padding: 0 20px; }
.report-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.privacy-note { color: var(--gray); font-size: 0.85rem; font-style: italic; }
.btn-print { background: #1a1a1a; color: var(--gray); border: 1px solid #333; padding: 10px 20px; border-radius: 6px; cursor: pointer; transition: 0.3s; font-weight: bold; }
.btn-print:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.print-header { display: none; }
.car-info-card { background: #111; border: 1px solid var(--primary); border-radius: 12px; padding: 30px; display: flex; align-items: center; gap: 25px; margin-bottom: 25px; box-shadow: 0 10px 25px rgba(230, 126, 34, 0.15); }
.car-info-icon { width: 80px; height: 80px; background: rgba(230, 126, 34, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2.5rem; color: var(--primary); flex-shrink: 0; }
.car-info-details h2 { font-family: 'Teko', sans-serif; font-size: 2.5rem; margin: 0 0 5px 0; line-height: 1; color: #fff; }
.car-info-details p { color: var(--gray); margin: 0; font-size: 1.1rem; }
.report-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.rs-box { background: #0a0a0a; border: 1px solid #222; border-radius: 12px; padding: 20px; text-align: center; }
.rs-box i { font-size: 1.8rem; color: var(--primary); margin-bottom: 10px; }
.rs-box span { display: block; color: var(--gray); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 5px; font-weight: bold; }
.rs-box strong { display: block; color: #fff; font-size: 1.5rem; font-family: 'Teko', sans-serif; letter-spacing: 1px; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: #333; }
.timeline-item { position: relative; margin-bottom: 40px; page-break-inside: avoid; } 
.timeline-dot { position: absolute; left: -40px; top: 5px; width: 32px; height: 32px; background: #050505; border: 2px solid var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--primary); font-size: 0.9rem; z-index: 2; }
.timeline-content { background: #111; border: 1px solid #222; border-radius: 12px; padding: 25px; transition: 0.3s; }
.tl-header { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding-bottom: 15px; margin-bottom: 15px; align-items: center;}
.tl-date { color: var(--primary); font-weight: bold; font-size: 1.1rem; display: flex; align-items: center; gap: 8px;}
.tl-shop { background: #1a1a1a; padding: 5px 12px; border-radius: 6px; color: var(--gray); font-size: 0.9rem; border: 1px solid #333;}
.tl-body p { color: #fff; margin-bottom: 10px; font-size: 1.05rem;}
.tl-body .km-badge { color: var(--gray); display: inline-block; margin-right: 20px; font-size: 0.95rem; }
.tl-body .km-badge i { color: var(--primary); margin-right: 5px; }

.btn-download-invoice { background: rgba(230, 126, 34, 0.1); color: var(--primary); border: 1px solid var(--primary); padding: 8px 15px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: bold; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-download-invoice:hover { background: var(--primary); color: #000; }
.iban-card { background: linear-gradient(45deg, #111, #1a1a1a); border: 1px dashed var(--primary); border-radius: 12px; padding: 25px; text-align: center; margin-top: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.iban-card h4 { color: var(--gray); font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.iban-card .iban-number { font-family: 'Roboto', monospace; font-size: 1.5rem; color: #fff; letter-spacing: 2px; font-weight: bold; margin-bottom: 5px; user-select: all; cursor: pointer; }
.iban-card .shop-name { color: var(--primary); font-size: 1.1rem; }
.shop-badge { text-align: center; margin-bottom: 30px; padding: 20px; background: #0a0a0a; border-radius: 8px; border: 1px solid #222; }
.shop-badge h3 { color: #fff; margin-bottom: 5px; font-family: 'Teko', sans-serif; font-size: 2rem; letter-spacing: 1px; }
.shop-badge p { color: var(--gray); font-style: italic; margin: 0; }
.no-results { text-align: center; background: #111; padding: 60px 20px; border-radius: 12px; border: 1px dashed #333; }
.no-results i { font-size: 4rem; color: #ff4444; margin-bottom: 20px; }
.no-results h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.no-results p { color: var(--gray); }

/* ==========================================================================
   9. SÖZLEŞME VE GİZLİLİK SAYFALARI (LEGAL)
   ========================================================================== */
body.legal-page { background: #0A0A0A; color: #BBB; font-family: 'Roboto', sans-serif; padding: 30px; line-height: 1.8; margin-top: 100px;}
.legal-container { max-width: 900px; margin: auto; background: #111; padding: 40px; border: 1px solid #222; border-radius: 8px; }
.legal-container h1, .legal-container h2 { color: var(--primary); text-transform: uppercase; }
.legal-container h1 { font-size: 1.8rem; border-bottom: 2px solid var(--primary); padding-bottom: 10px; margin-bottom: 20px; }
.legal-container h2 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 15px; }
.legal-container p { margin-bottom: 15px; }
.legal-container ul { margin-bottom: 15px; padding-left: 20px; }
.legal-container li { margin-bottom: 8px; }
.legal-container .btn-back { display: inline-block; margin-bottom: 20px; color: var(--primary); text-decoration: none; font-weight: bold; transition: 0.3s; }
.legal-container .btn-back:hover { color: #fff; transform: translateX(-5px); }
.legal-highlight { color: #FFF; font-weight: bold; }
.legal-warning { background: #221100; border-left: 5px solid var(--primary); padding: 15px; margin: 20px 0; }
.legal-info-box { background: #1a1a1a; padding: 20px; border: 1px solid #333; margin: 20px 0; }

/* ==========================================================================
   10. MOBİL UYUM (MEDIA QUERIES) - KESİNLİKLE EN ALTTA KALMALI
   ========================================================================== */
.menu-toggle { display: none; color: var(--primary); font-size: 2rem; cursor: pointer; }
.desktop-only { display: block; }

@media (max-width: 1400px) {
    .navbar { height: 100px !important; display: flex; align-items: center; }
    .nav-flex { padding: 0 20px; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: rgba(0, 0, 0, 0.95); padding: 30px; border-bottom: 2px solid var(--primary); z-index: 999; }
    .nav-links.active { display: flex !important; }
    .nav-links li { margin: 15px 0; text-align: center; }
    .nav-links a { font-size: 1.1rem; }
    .menu-toggle { margin-right: 15px; display: flex; align-items: center; }
    .main-logo { height: 60px !important; width: auto !important; margin-left: 15px; max-height: 80px !important; }
    .hero h1 { font-size: 2.5rem; line-height: 1.2; }
    .desktop-only { display: none !important; }
    .about-modern-grid, .grid-3, .price-grid-equal, .sss-grid-box, .iletisim-grid, .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
    .about-title.left { text-align: center; }
    .mobile-btns { display: flex !important; flex-direction: column; gap: 15px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #333; }
    .mobile-btns .btn { width: 100% !important; height: 45px; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; gap: 40px; }
    .footer-logo-img { height: 55px !important; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    .footer-links { align-items: center; }
    .footer-links a { width: 140px; text-align: left; }
    .footer-contact-info { display: flex; flex-direction: column; align-items: center; }
    .footer-contact-info p { width: 260px; justify-content: flex-start; }
    .bottom-flex { flex-direction: column; text-align: center; gap: 15px; }
}

@media (max-width: 992px) {
    /* PANEL VE AYARLAR MOBİL HAP (PILL) MENÜ */
    body.panel-page { flex-direction: column; overflow: auto; }
    .panel-page .sidebar { width: 100% !important; border-right: none !important; border-bottom: 1px solid #222 !important; position: sticky !important; top: 0 !important; z-index: 1000 !important; background: #0a0a0a !important; box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important; flex-shrink: unset; }
    .panel-page .sidebar-logo { display: none !important; }
    .panel-page .sidebar-menu { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; justify-content: flex-start !important; gap: 12px !important; padding: 15px !important; margin: 0 !important; -webkit-overflow-scrolling: touch !important; }
    .panel-page .sidebar-menu::-webkit-scrollbar { display: none !important; }
    .panel-page .sidebar-menu li { margin: 0 !important; flex-shrink: 0 !important; }
    .panel-page .sidebar-menu li[style] { margin-top: 0 !important; border-top: none !important; padding-top: 0 !important; }
    .panel-page .sidebar-menu a { padding: 10px 20px !important; border: 1px solid #333 !important; border-radius: 30px !important; font-size: 0.9rem !important; white-space: nowrap !important; background: #151515 !important; color: var(--gray) !important; display: flex !important; align-items: center !important; gap: 8px !important; }
    .panel-page .sidebar-menu a:hover, .panel-page .sidebar-menu li.active a { background: var(--primary) !important; color: #000 !important; border-color: var(--primary) !important; }
    .panel-page .sidebar-menu li.active a i { color: #000 !important; }

    /* PANEL MOBİL İÇERİK DÜZENİ */
    .panel-page .main-content { padding: 20px !important; }
    .panel-page .action-banner { flex-direction: column !important; text-align: center !important; gap: 20px !important; }
    .panel-page .panel-header { flex-direction: column !important; align-items: flex-start !important; gap: 15px !important; }
    .panel-page .panel-header h2 { font-size: 2rem; } 
    .panel-page .header-right { flex-direction: row !important; flex-wrap: wrap !important; width: 100% !important; justify-content: flex-start !important; }
    .panel-page .table-header-flex { flex-direction: column !important; gap: 15px !important; align-items: flex-start !important; }
    .panel-page .table-container table { display: block !important; overflow-x: auto !important; white-space: nowrap !important; }
}

@media (max-width: 768px) {
    .secure-search-box { flex-direction: column; }
    .report-summary-grid { grid-template-columns: 1fr; }
    .report-actions { flex-direction: column; gap: 15px; text-align: center; }
    .tl-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .car-info-card { flex-direction: column; text-align: center; }
    .iban-card .iban-number { font-size: 1.1rem; }
    .settings-grid { grid-template-columns: 1fr; } 
    .sub-card { flex-direction: column; text-align: center; gap: 15px; align-items: stretch; }
    .legal-container { padding: 20px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-nav a { margin: 0 10px; }
    .bottom-flex { flex-direction: column; gap: 10px; text-align: center; }
    .footer-logo img { height: 70px; }
    
    /* MOBİLDE FORMLARI VE MODALLARI DÜZENLE */
    .panel-page .form-row { flex-direction: column !important; gap: 15px !important; margin-bottom: 15px !important; }
    .katalog-grid { grid-template-columns: 1fr !important; }
    .panel-page .bakim-modal-container { width: 95%; max-height: 95vh; }
    
    /* MOBİLDE KİLİT EKRANI VE ÖDEME MODALI KÜÇÜLTÜLSÜN */
    .paytr-box { width: 95%; }
    .lock-screen-box { width: 95%; padding: 30px 20px; }
    .lock-screen-box h2 { font-size: 2.2rem; }
    .lock-screen-box i.fa-lock { font-size: 3.5rem; }
    .btn-paytr-trigger { font-size: 1rem; padding: 12px 20px; }
}

@media (max-width: 500px) {
    .auth-modal-container { width: 90%; height: 500px; }
    .flip-card-front, .flip-card-back { padding: 40px 25px; }
    .pay-row { flex-direction: column; gap: 15px; }
}

/* ==========================================================================
   11. YAZICI ÇIKTISI (PDF ALIRKEN ÇALIŞAN KODLAR)
   ========================================================================== */
@media print {
    body { background: #fff !important; color: #000 !important; padding-top: 0 !important; margin: 0 !important;}
    .navbar, .search-hero, .report-actions, .shop-badge { display: none !important; }
    .results-container { margin: 0 !important; max-width: 100% !important; padding: 0 !important; }
    .car-info-card, .timeline-content, .rs-box { border: 1px solid #ccc !important; background: #fff !important; box-shadow: none !important; }
    .car-info-details h2, .car-info-details p, .tl-date, .tl-body p, .rs-box span, .rs-box strong, .car-info-icon i, .rs-box i, .timeline-dot i { color: #000 !important; }
    .car-info-icon { background: transparent !important; border: 1px solid #000 !important; }
    .timeline-dot { border-color: #000 !important; background: #fff !important; }
    .timeline::before { background: #ccc !important; }
    .tl-header { border-bottom: 1px solid #ccc !important; }
    .tl-shop { border: 1px solid #ccc !important; color: #000 !important; background: #f9f9f9 !important; }
    .km-badge { color: #333 !important; }
    .km-badge i { color: #000 !important; }
    hr { border-top: 1px solid #ccc !important; }
    .btn-download-invoice { display: none !important; }
    .iban-card { border: 1px solid #000 !important; background: #fff !important; margin-top: 30px !important; padding: 15px !important; box-shadow: none !important;}
    .iban-card h4, .iban-card .iban-number, .iban-card .shop-name { color: #000 !important; }
    .print-header { display: flex !important; justify-content: space-between !important; align-items: center !important; border-bottom: 3px solid #000 !important; padding-bottom: 20px !important; margin-bottom: 30px !important; }
    .print-header img { height: 60px !important; max-width: 250px !important; object-fit: contain !important; filter: grayscale(100%) !important; }
    .print-header .print-title { font-family: 'Teko', sans-serif !important; font-size: 2.2rem !important; font-weight: bold !important; color: #000 !important; margin: 0 !important; text-align: right !important; }
    .print-header .print-slogan { font-size: 1.1rem !important; color: #555 !important; font-style: italic !important; text-align: right !important;}
    .report-summary-grid { display: flex !important; justify-content: space-between !important; gap: 20px !important; margin-bottom: 40px !important; }
    .rs-box { flex: 1 !important; margin-bottom: 0 !important; padding: 15px !important; }
}