/* ============================================================
           SCREEN STYLES (WCAG 2.1 Web Erişilebilirlik Standartları)
           ============================================================ */
        body {
            background-color: #f4f6f9; 
            font-family: sans-serif;
            color: #334155;
            -webkit-font-smoothing: antialiased;
        }

        /* --- AKILLI DÜZEN (SMART LAYOUT) --- */
        .policy-layout {
            display: flex;
            align-items: flex-start;
            gap: 30px;
            max-width: 1150px;
            margin: 40px auto;
            justify-content: center; 
            padding: 0 15px;
        }

        /* --- SOL MENÜ (Sidebar) --- */
        .policy-sidebar {
            flex: 0 0 280px; 
            position: sticky;
            top: 40px;
        }

        .policy-menu {
            background: #fff;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            border: 1px solid #e2e8f0;
        }

        .policy-menu-title {
            font-size: 14px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            padding-left: 10px;
        }

        .policy-menu a {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: #475569;
            text-decoration: none;
            font-weight: 400;
            font-size: 15px;
            border-radius: 8px;
            margin-bottom: 5px;
            transition: all 0.2s ease;
        }

        /* Phosphor ikon boyutlandırması */
        .policy-menu a i {
            font-size: 22px; /* İkon boyutunu büyüttük */
            width: 28px;
            color: #94a3b8;
            transition: 0.2s;
            display: flex;
            align-items: center;
        }

        .policy-menu a:hover {
            background-color: #f8fafc;
            color: #1e293b;
        }

        .policy-menu a.active {
            background-color: #eff6ff;
            color: #3D81FD;
        }

        .policy-menu a.active i {
            color: #3D81FD;
        }

        /* --- SÖZLEŞME İÇERİK ALANI (Main Content) --- */
        .policy-main {
            flex: 1; 
            max-width: 850px; 
            min-width: 0; 
        }

        .agreement-paper {
            background-color: #ffffff;
            padding: 40px; 
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border: 1px solid #e2e8f0;
            min-height: 80vh;
        }

        .doc-title {
            font-size: 28px;
            font-weight: 700;
            color: #0f172a;
            text-align: center;
            margin-bottom: 30px; 
            line-height: 1.3;
        }

        /* İçerik Tipografisi */
        .agreement-content {
            font-size: 16px; 
            line-height: 1.6;
            color: #475569;
            text-align: justify;
        }

        .section-title {
            font-size: 20px;
            font-weight: 700;
            color: #1e293b;
            margin-top: 35px;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid #f1f5f9;
        }

        .sub-title {
            font-size: 17px;
            font-weight: 600;
            color: #334155;
            margin-top: 25px;
            margin-bottom: 10px;
        }

        .agreement-content p { margin-bottom: 16px; }
        .agreement-content ul, .agreement-content ol { padding-left: 24px; margin-bottom: 20px; }
        .agreement-content li { margin-bottom: 8px; }

        .agreement-date {
            margin-top: 40px;
            font-weight: 600;
            color: #1e293b;
        }

        .payment-plan-container {
          color: #334155;
          max-width: 600px;
        }

        .payment-table {
          width: 100%;
          border-collapse: collapse;
          text-align: left;
            margin-bottom: 15px;
        }

        .payment-table th {
          font-size: 14px;
          font-weight: bold;
          padding: 16px 16px 16px 0;
          white-space: nowrap;
        }

        .payment-table td {
          font-size: 14px;
          font-weight: normal;
          padding: 16px 16px 16px 0;
          white-space: nowrap;
        }

        /* Aksiyon Barı */
        .action-bar {
            background-color: #ffffff;
            border-top: 1px solid #e2e8f0;
            padding: 20px 40px; 
            position: sticky;
            bottom: 0;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 -10px 20px rgba(255,255,255,0.9);
            margin: 40px -40px -40px -40px; 
        }

        .btn-print {
            background-color: #3D81FD;
            color: #ffffff;
            border: none;
            font-weight: 700;
            font-size: 16px;
            width: 100%;
            padding: 16px 20px;
            border-radius: 8px;
            transition: 0.2s;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 12px rgba(61, 129, 253, 0.2);
            text-decoration: none;
        }
        
        .btn-print:hover { 
            background-color: #2b6aeb; 
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(61, 129, 253, 0.3);
            color: #fff;
        }
        
        .btn-print i {
            font-size: 20px; /* Buton içi ikon boyutu */
        }

/* ============================================================
           MİNİMAL DİL DEĞİŞTİRİCİ STİLLERİ (Top Top Bar)
           ============================================================ */
        .top-action-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            padding: 5px 10px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
        }

        .lang-link {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #64748b;
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            padding: 5px 10px;
            border-radius: 6px;
            transition: 0.2s;
        }

        .lang-link:hover {
            background-color: #f1f5f9;
            color: #1e293b;
        }

        .lang-link.active {
            background-color: #eff6ff;
            color: #3D81FD;
        }

        .lang-link img {
            width: 20px;
            border-radius: 2px;
        }

        .lang-divider {
            width: 1px;
            height: 16px;
            background-color: #cbd5e1;
        }

        /* ============================================================
           PRINT STYLES (KAĞIT İSRAFINI ÖNLEYEN KODLAR)
           ============================================================ */
        @media print {
            body { background-color: #fff !important; color: #000 !important; }
            
            .policy-sidebar, .no-print { display: none !important; }
            .policy-layout { display: block !important; margin: 0 !important; padding: 0 !important; }
            .policy-main { max-width: 100% !important; flex: 0 0 100% !important; }
            
            .agreement-paper { box-shadow: none !important; border: none !important; margin: 0 !important; padding: 0 !important; }
            
            .agreement-content { font-size: 11pt !important; line-height: 1.4 !important; text-align: justify !important; }
            .doc-title { font-size: 16pt !important; margin-bottom: 20pt !important; }
            .section-title { font-size: 13pt !important; color: #000 !important; border-bottom: 1px solid #ccc !important; margin-top: 15pt !important; }
            .sub-title { font-size: 11.5pt !important; margin-top: 12pt !important; }
            .agreement-date { font-size: 11pt !important; margin-top: 20pt !important; }

            @page { margin: 1.5cm; }
            h1, h2, h3, h4, h5, .section-title, .sub-title { page-break-after: avoid; }
            p, li, ul, ol { page-break-inside: auto !important; }
            p, li { orphans: 2; widows: 2; }
        }

        /* Mobil Uyumluluk */
        @media (max-width: 991px) {
            .policy-layout { flex-direction: column; margin: 20px auto; }
            .policy-sidebar { flex: none; width: 100%; position: static; }
            .policy-main { max-width: 100%; }
            .agreement-paper { padding: 30px 20px; }
            .action-bar { margin: 30px -20px -30px -20px; padding: 20px; }
        }

/* --- SCROLL BUTONU CSS KODLARI --- */
        
        /* Butonun genel sabit konumu */
        .scroll-progress {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border: none;
            background: transparent;
            cursor: pointer;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(15px);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border-radius: 50%;
        }

        /* Sayfa aşağı kaydırıldığında butonu görünür yapan sınıf */
        .scroll-progress.is-visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Hover efekti (Üzerine gelince hafif büyüme) */
        .scroll-progress:hover {
            transform: translateY(-3px) scale(1.05);
        }

        /* İçindeki Ok İkonu */
        .scroll-progress .arrow {
            position: absolute;
            font-size: 24px;
            color: #0c83ff; /* Myeco mavisi */
            transition: all 0.2s ease;
        }

        /* SVG Çember Tasarımı */
        .progress-ring {
            transform: rotate(-90deg); /* Çemberin dolumunun en üstten başlaması için */
        }

        .progress-ring__background {
            fill: transparent;
            stroke: rgba(238, 238, 238, 0.9); /* Koyu temaya uygun arka plan çizgisi */
            stroke-width: 4;
        }

        .progress-ring__progress {
            fill: transparent;
            stroke: #0c83ff; /* Çember dolum rengi (Mavi) */
            stroke-width: 2;
            stroke-linecap: round;
            transition: stroke-dashoffset 0.1s linear;
        }