﻿   :root {
            --primary: #4318FF;
            --text-primary: #2B3674;
            --text-secondary: #707EAE;
            --bg-light: #F8FAFC;
            --white: #FFFFFF;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            line-height: 1.6;
        }

        .contract-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .contract-card {
            background: var(--white);
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        }

        .contract-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .logo {
            width: 120px;
            margin-bottom: 30px;
        }

        .contract-title {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
        }

        .contract-meta {
            display: flex;
            justify-content: center;
            gap: 30px;
            color: var(--text-secondary);
            font-size: 14px;
            margin-bottom: 30px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .meta-item i {
                color: var(--primary);
            }

        .divider {
            height: 4px;
            width: 60px;
            background: var(--primary);
            margin: 0 auto;
            border-radius: 2px;
        }

        .contract-content {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.8;
            margin-top: 40px;
        }

            .contract-content p {
                margin-bottom: 20px;
            }

            .contract-content strong {
                color: var(--text-primary);
                font-weight: 600;
            }

        .print-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--primary);
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(67, 24, 255, 0.2);
            border: none;
        }

            .print-button:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 25px rgba(67, 24, 255, 0.3);
            }

            .print-button i {
                font-size: 20px;
            }

        @media (max-width: 768px) {
            .contract-card {
                padding: 30px 20px;
                border-radius: 20px;
            }

            .contract-title {
                font-size: 24px;
            }

            .contract-meta {
                flex-direction: column;
                gap: 15px;
                align-items: center;
            }

            .print-button {
                bottom: 20px;
                right: 20px;
            }
        }

        @media print {
            body {
                background: white;
            }

            .contract-container {
                margin: 0;
                padding: 0;
            }

            .contract-card {
                box-shadow: none;
                padding: 20px;
            }

            .print-button {
                display: none;
            }
        }

            /* Mevcut meta-item stillerine ek olarak */
                    .back-button {
                        cursor: pointer;
                        padding: 8px 16px;
                        background: var(--bg-light);
                        border-radius: 30px;
                        transition: all 0.3s ease;
                    }

                        .back-button:hover {
                            background: var(--primary);
                            color: var(--white);
                            transform: translateX(-4px);
                        }

                        .back-button i {
                            font-size: 14px;
                            color: inherit; /* hover durumunda ikon renginin de değişmesi için */
                        }

                    /* Mobil görünüm için güncelleme */
                    @media (max-width: 768px) {
                        .contract-meta {
                            flex-direction: column;
                            gap: 15px;
                            align-items: center;
                        }

                        .back-button {
                            order: -1; /* En üstte görünmesi için */
                            width: auto;
                            padding: 10px 20px;
                        }
                    }



                         /* Sayfa yüklendiğinde yumuşak giriş animasyonu */
        .contract-card {
            animation: fadeInUp 0.6s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Yazdırma butonu hover animasyonu */
        .print-button {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

            .print-button:hover {
                transform: translateY(-4px) scale(1.05);
                box-shadow: 0 8px 30px rgba(67, 24, 255, 0.35);
            }

        ::selection {
            background: rgba(67, 24, 255, 0.1);
            color: var(--primary);
        }

        html {
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg-light);
        }

        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-light);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }