        :root {
            --primary-color: #A06872;
            --primary-dark: #8E5A65;
            --primary-light: #CC8E98;
            --accent-color: #9E7F7F;
            --bg-color: #FFF9F9;
            --bg-secondary: #FFF0F5;
            --card-bg: #FFFFFF;
            --card-secondary: #FDF5F5;
            --note-bg: #FFF0F5;
            --text-primary: #4E342E;
            --text-secondary: #8D6E63;
            --text-muted: #A89080;
            --border-color: #F0E6E6;
            --error-color: #D32F2F;
            --success-color: #388E3C;
            --shadow-md: 0 4px 15px rgba(183, 110, 121, 0.15);
            --shadow-lg: 0 8px 25px rgba(183, 110, 121, 0.2);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 20px;
            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2rem;
            --spacing-xl: 3rem;
            --transition-base: 0.3s ease;
            --transition-fast: 0.15s ease;
        }

       [data-theme="dark"] {
           
                --primary-color: #CC8E98;
                --primary-dark: #A06872;
                --primary-light: #E0A4AC;
                --bg-color: #0D0D0D;
                --bg-secondary: #141414;
                --card-bg: #1A1A1A;
                --card-secondary: #222222;
                --note-bg: #252525;
                --text-primary: #F5F5F0;
                --text-secondary: #B0B0B0;
                --text-muted: #808080;
                --border-color: #2A2A2A;
                --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
                --shadow-lg: 0 8px 35px rgba(0, 0, 0, 0.5);
            }
        

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', 'Segoe UI', sans-serif;
            background: var(--bg-color);
            color: var(--text-primary);
            line-height: 1.7;
            min-height: 100vh;
            padding: clamp(30px, 6vw, 70px) clamp(15px, 4vw, 40px);
            transition: background-color var(--transition-base), color var(--transition-base);
        }

        .wrapper {
            max-width: 640px;
            margin: 0 auto;
          position: relative;
        }

        /* Başlık Alanı */
        .basmala {
            font-family: 'Scheherazade New', serif;
            font-size: clamp(1.6rem, 4vw, 2.1rem);
            font-weight: 700;
            text-align: center;
            direction: rtl;
            margin-bottom: var(--spacing-md);
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        #title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(1.6rem, 4vw, 2.2rem);
            font-weight: 700;
            text-align: center;
            line-height: 1.3;
            margin-bottom: var(--spacing-sm);
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        #description {
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.95rem;
            max-width: 460px;
            margin: 0 auto var(--spacing-xl);
        }

        /* Form Kabı */
        #survey-form {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: clamp(20px, 4vw, 40px);
        }

        .form-group {
            margin-bottom: var(--spacing-md);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-md);
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-primary);
        }

        input[type="text"],
        input[type="email"],
        input[type="number"],
        select,
        textarea {
            width: 100%;
            padding: 12px 16px;
            min-height: 48px;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            color: var(--text-primary);
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-sm);
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        input::placeholder,
        textarea::placeholder {
            color: var(--text-muted);
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(160, 104, 114, 0.15);
        }

        select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238D6E63' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
        }

        textarea {
            min-height: 140px;
            resize: vertical;
            line-height: 1.6;
        }

        /* Fieldset */
        fieldset {
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: var(--spacing-md);
            margin-bottom: var(--spacing-md);
            background: var(--card-secondary);
        }

        legend {
            padding: 0 10px;
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--primary-color);
        }

        .choice {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 12px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            color: var(--text-secondary);
            font-size: 0.95rem;
            transition: background-color var(--transition-fast), color var(--transition-fast);
        }

        .choice:hover {
            background: var(--note-bg);
            color: var(--primary-color);
        }

        .choice input[type="radio"],
        .choice input[type="checkbox"] {
            width: 18px;
            height: 18px;
            min-height: auto;
            flex-shrink: 0;
            margin: 0;
            accent-color: var(--primary-color);
            cursor: pointer;
        }

        /* Gönder Butonu */
        #submit {
            width: 100%;
            min-height: 50px;
            margin-top: var(--spacing-sm);
            padding: 14px 35px;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            background: var(--primary-color);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
        }

        #submit:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        #submit:active {
            transform: translateY(-1px);
        }

        /* Erişilebilirlik */
        :focus-visible {
            outline: 2px solid var(--primary-color);
            outline-offset: 3px;
        }

        /* Doğrulama */
        input:invalid:not(:placeholder-shown) {
            border-color: var(--error-color);
        }

        input:valid:not(:placeholder-shown) {
            border-color: var(--success-color);
        }

        /* Mobil */
        @media (max-width: 560px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                transition-duration: 0.01ms !important;
            }
        }
      
      /* THEME TOGGLE BUTON */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all var(--transition-base);
    z-index: 10;
}

.theme-toggle:hover {
    background: var(--note-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Dark mode'da icon güneş olsun */
[data-theme="dark"] .theme-toggle i.fas.fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle i.fas.fa-sun {
    display: inline-block;
}

/* Mobilde responsive */
@media (max-width: 768px) {
    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
}
      .form-feedback {
    margin-top: var(--spacing-md);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-base);
}

.form-feedback.success {
    display: block;
    background: var(--success-color);
    color: white;
}

.form-feedback.error {
    display: block;
    background: var(--error-color);
    color: white;
}
