/* Modern CSS Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Menu Styles */
#navigation-menu {
    position: fixed;
    top: 20px;
    left: 340px;
    z-index: 999;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.nav-btn.active {
    background: #6366f1;
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    min-height: 100vh;
    color: #09090b;
    line-height: 1.6;
}

/* Modern Settings Panel */
#settings-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    border-right: 1px solid #e4e4e7;
    padding: 2rem;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

#settings-panel h2 {
    color: #09090b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Modern Form Elements */
.setting-item {
    margin-bottom: 1.5rem;
}

.setting-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #09090b;
    font-size: 0.875rem;
}

.styled-select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.375rem;
    background: white;
    color: #09090b;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.65rem;
}

.styled-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Textarea Styles */
textarea.styled-select {
    resize: vertical;
    min-height: 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    background-image: none;
}

textarea.styled-select:focus {
    outline: none;
    border-color: #09090b;
    box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.1);
}

/* Altı Çizgili Metin Stili */
.underlined-text {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: #667eea;
    font-weight: 500;
}

/* Modern Buttons */
#export-pdf-container {
    position: fixed;
    top: 80px;
    right: 2rem;
    z-index: 1001;
}

#export-pdf-btn {
    background: #09090b;
    color: white;
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

#export-pdf-btn:hover {
    background: #18181b;
}

/* Modern Range Input */
.setting-item input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    appearance: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

/* Modern Number Input */
.number-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 0.375rem;
    overflow: hidden;
}

.number-input-container button {
    width: 36px;
    height: 36px;
    border: none;
    background: #fafafa;
    color: #09090b;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.number-input-container button:hover {
    background: #f4f4f5;
}

.number-input-container span {
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
    color: #09090b;
}

/* Modern Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.checkbox-container:hover {
    border-color: #a1a1aa;
}

.checkbox-container label {
    margin-bottom: 0;
    cursor: pointer;
    flex: 1;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #09090b;
    cursor: pointer;
}

#load-questions-btn {
    width: 100%;
    padding: 0.625rem;
    background: #09090b;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

#load-questions-btn:hover {
    background: #18181b;
}

/* Image Generation Button */
.generate-image-btn {
    background: #09090b;
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.generate-image-btn:hover {
    background: #18181b;
}

.generate-image-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.image-button-container {
    margin: 10px 0;
    text-align: center;
}

.question-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    display: block;
}

/* Modern Apply Button */
#apply-settings {
    width: 100%;
    padding: 0.625rem;
    background: #09090b;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

#apply-settings:hover {
    background: #18181b;
}

#apply-settings:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modern Main Content */
#main-content {
    margin-left: 320px;
    padding: 0;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#settings-toggle-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    background: white;
    color: #09090b;
    border: 1px solid #e4e4e7;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
    transition: background 0.2s ease;
}

#settings-toggle-btn:hover {
    background: #f4f4f5;
}

/* Modern Questions Container */
#questions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

#exam-container {
    background: transparent;
    width: 100%;
    min-height: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    margin: 0;
}

/* Legacy styles removed - using modern question-container styles instead */

#exam-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 10px;
    border-top: 2px solid #000;
    font-style: italic;
}

#export-pdf {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#export-pdf:hover {
    background-color: #0056b3;
}

/* Modern Question Cards */
.question-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.question-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.question-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.question-header p {
    margin: 0;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

.story {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #f59e0b;
    font-style: italic;
    color: #92400e;
}

.premise {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.question-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 500;
}

.options {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.option:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 1rem;
    font-size: 0.9rem;
}

/* Modern Toggle Buttons */
.toggle-answer-btn,
.toggle-solution-btn,
.toggle-hint-btn,
.toggle-pedagogical-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0.5rem 0.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.toggle-answer-btn:hover,
.toggle-solution-btn:hover,
.toggle-hint-btn:hover,
.toggle-pedagogical-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.toggle-pedagogical-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.toggle-pedagogical-btn:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Content Sections */
.answer,
.solution,
.hint,
.pedagogical-analysis {
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid;
}

.answer {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-left-color: #10b981;
    color: #065f46;
}

.solution {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
    color: #92400e;
}

.hint {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left-color: #3b82f6;
    color: #1e40af;
}

.pedagogical-analysis {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-left-color: #8b5cf6;
    color: #6b21a8;
}

/* Settings Toggle Button */
#settings-toggle-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #4a5568;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#settings-toggle-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Welcome Placeholder */
.welcome-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
}

.welcome-content {
    text-align: center;
    max-width: 600px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: welcomeFadeIn 1s ease-out;
}

.welcome-icon {
    margin-bottom: 2rem;
    animation: welcomeFloat 3s ease-in-out infinite;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.welcome-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

.feature-item span {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.welcome-action {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.action-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.highlight {
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes welcomeFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes welcomeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.loading-content h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.loading-content p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.loading-tips {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #667eea;
}

.loading-tips p {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #settings-panel {
        transform: translateX(-100%);
        width: 100%;
    }
    
    #settings-panel.active {
        transform: translateX(0);
    }
    
    #main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .question-container {
        padding: 1.5rem;
    }
    
    .question-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .loading-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .welcome-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
}

@media print {
    body {
        background-color: #fff;
    }
    #export-pdf, #settings-panel, #settings-toggle-btn {
        display: none;
    }
    #exam-container {
        box-shadow: none;
        border: none;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
    #main-content {
        margin-left: 0 !important;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 600;
}

.close {
    color: #a0aec0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 0.25rem;
}

.close:hover {
    color: #e53e3e;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

.provider-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.provider-option:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.provider-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.provider-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.provider-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.provider-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .provider-option {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .provider-btn {
        width: 100%;
    }
}

/* ============================================
   🗑️ SORU SİLME MODAL STİLLERİ
   ============================================ */

/* Soru header düzeni */
.question-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
}

.question-header-info {
    flex: 1;
}

.question-header-info p {
    margin: 0.25rem 0;
}

/* Silme butonu */
.delete-question-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #9ca3af;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.delete-question-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.delete-question-btn:active {
    transform: scale(0.95);
}

/* Modal overlay */
.delete-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

/* Modal içerik */
.delete-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 450px;
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

/* Modal header */
.delete-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}

.delete-modal-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.delete-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.delete-modal-close:hover {
    color: #ef4444;
}

/* Modal body */
.delete-modal-body {
    padding: 1.5rem;
}

.delete-modal-question-info {
    text-align: center;
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

/* Seçenekler */
.delete-modal-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.delete-or-text {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Hızlı sil butonu */
.delete-quick-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-quick-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Neden belirt butonu */
.delete-feedback-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-feedback-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Feedback formu */
.delete-feedback-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    animation: fadeIn 0.3s ease;
}

.delete-feedback-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.delete-feedback-form select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    background: white;
    cursor: pointer;
}

.delete-feedback-form select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.delete-feedback-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 1rem;
}

.delete-feedback-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.delete-feedback-form textarea::placeholder {
    color: #9ca3af;
}

/* Onay butonu */
.delete-confirm-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Modal footer */
.delete-modal-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.delete-modal-note {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

/* Başarı toast mesajı */
.delete-success-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.delete-success-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .delete-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .delete-modal-options {
        flex-direction: column;
    }
    
    .delete-or-text {
        display: none;
    }
    
    .delete-quick-btn,
    .delete-feedback-btn {
        width: 100%;
        justify-content: center;
    }
    
    .delete-success-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* ============================================
    SORU DÜZENLEME MODAL STİLLERİ
   ============================================ */

/* Aksiyon butonları container */
.question-action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Düzenleme butonu */
.edit-question-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #9ca3af;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edit-question-btn:hover {
    background: #dbeafe;
    color: #3b82f6;
}

.edit-question-btn:active {
    transform: scale(0.95);
}

/* Modal overlay */
.edit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
    padding: 1rem;
    overflow-y: auto;
}

/* Modal içerik */
.edit-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

/* Modal header */
.edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f0f9ff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.edit-modal-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.edit-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.edit-modal-close:hover {
    color: #3b82f6;
}

/* Modal body */
.edit-modal-body {
    padding: 1.5rem;
}

/* Form grupları */
.edit-form-group {
    margin-bottom: 1.25rem;
}

.edit-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.edit-form-group textarea,
.edit-form-group input[type="text"],
.edit-form-group input[type="number"],
.edit-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.edit-form-group textarea:focus,
.edit-form-group input:focus,
.edit-form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.edit-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form row (yan yana) */
.edit-form-row {
    display: flex;
    gap: 1rem;
}

.edit-form-half {
    flex: 1;
}

/* Şıklar container */
.edit-options-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.edit-option-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edit-option-label {
    font-weight: 600;
    color: #3b82f6;
    min-width: 24px;
}

.edit-option-row input {
    flex: 1;
}

/* Modal footer */
.edit-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    position: sticky;
    bottom: 0;
}

.edit-cancel-btn {
    padding: 0.75rem 1.25rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-cancel-btn:hover {
    background: #e5e7eb;
}

.edit-save-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Başarı toast */
.edit-success-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.edit-success-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 640px) {
    .edit-modal-content {
        max-height: 95vh;
    }
    
    .edit-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .edit-success-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* ============================================
   📦 TOPLU ÜRETİM PANELİ STİLLERİ
   ============================================ */

.question-count-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bulk-toggle-btn {
    padding: 0.5rem 1rem;
    background: #09090b;
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bulk-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.bulk-generate-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bulk-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bulk-panel-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.bulk-panel-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.bulk-panel-close:hover {
    color: #111827;
}

.bulk-panel-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bulk-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.bulk-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.bulk-form-group input {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bulk-form-group input:focus {
    outline: none;
    border-color: #09090b;
    box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.1);
}

.bulk-hint {
    font-size: 0.75rem;
    color: #7c3aed;
}

.bulk-info {
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #5b21b6;
}

.bulk-info p {
    margin: 0 0 0.5rem 0;
}

.bulk-info p:last-child {
    margin-bottom: 0;
}

.bulk-submit-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bulk-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.bulk-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
