/* ====================================
   📜 KVKK MODAL STYLES
   KVKK aydınlatma metni için stiller
   ==================================== */

/* Modal Large Size */
.modal-large {
    max-width: 900px !important;
}

.modal-large .modal-content {
    max-height: 95vh;
    display: flex;
    flex-direction: column;
}

.modal-large .modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* KVKK Content Container */
.kvkk-content {
    flex: 1;
    max-height: 65vh;
    overflow-y: auto;
    padding: 2rem;
    background: rgba(249, 250, 251, 0.5);
    border-radius: 16px;
    margin: 0;
}

[data-theme="dark"] .kvkk-content {
    background: rgba(30, 30, 35, 0.5);
}

/* Scrollbar Styles */
.kvkk-content::-webkit-scrollbar {
    width: 10px;
}

.kvkk-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.kvkk-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 10px;
}

.kvkk-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* KVKK Text */
.kvkk-text {
    color: #1f2937;
    line-height: 1.8;
    font-size: 0.95rem;
}

[data-theme="dark"] .kvkk-text {
    color: #f9fafb;
}

/* Headings */
.kvkk-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid rgba(59, 130, 246, 0.2);
    letter-spacing: -0.02em;
}

.kvkk-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="dark"] .kvkk-text h4 {
    color: #e5e7eb;
}

.kvkk-text h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
}

/* Paragraphs */
.kvkk-text p {
    margin-bottom: 1.25rem;
    color: #4b5563;
    line-height: 1.8;
}

[data-theme="dark"] .kvkk-text p {
    color: #d1d5db;
}

/* Lists */
.kvkk-text ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.kvkk-text li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: #4b5563;
    line-height: 1.7;
    transition: all 0.3s ease;
}

[data-theme="dark"] .kvkk-text li {
    color: #d1d5db;
}

.kvkk-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
}

.kvkk-text li:hover {
    padding-left: 2.25rem;
    color: #1f2937;
}

[data-theme="dark"] .kvkk-text li:hover {
    color: #f9fafb;
}

/* Strong/Bold Text */
.kvkk-text strong {
    color: #3b82f6;
    font-weight: 600;
}

[data-theme="dark"] .kvkk-text strong {
    color: #60a5fa;
}

/* Links */
.kvkk-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.kvkk-text a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Info Boxes */
.kvkk-info-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

[data-theme="dark"] .kvkk-info-box {
    background: rgba(59, 130, 246, 0.15);
}

.kvkk-info-box p {
    margin: 0;
    color: #1f2937;
}

[data-theme="dark"] .kvkk-info-box p {
    color: #f9fafb;
}

/* Footer Info */
.kvkk-text > p:last-child {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(229, 231, 235, 0.5);
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

[data-theme="dark"] .kvkk-text > p:last-child {
    border-top-color: rgba(75, 85, 99, 0.3);
    color: #9ca3af;
}

/* Modal Footer */
.modal-footer {
    padding: 1.5rem 2.5rem;
    border-top: 2px solid rgba(229, 231, 235, 0.5);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-shrink: 0;
}

[data-theme="dark"] .modal-footer {
    border-top-color: rgba(75, 85, 99, 0.3);
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
    font-size: 1.2rem;
}

[data-theme="dark"] .loading-spinner {
    color: #9ca3af;
}

.loading-spinner i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Custom Checkbox for KVKK Consent */
.custom-control-kvkk {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .custom-control-kvkk {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.custom-control-kvkk:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.custom-control-kvkk input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.custom-control-kvkk label {
    flex: 1;
    cursor: pointer;
    line-height: 1.6;
    color: #1f2937;
    font-size: 0.95rem;
}

[data-theme="dark"] .custom-control-kvkk label {
    color: #f9fafb;
}

.custom-control-kvkk label a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-control-kvkk label a:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-large {
        max-width: 95% !important;
    }
    
    .kvkk-content {
        padding: 1.25rem;
        max-height: 60vh;
    }
    
    .kvkk-text {
        font-size: 0.9rem;
    }
    
    .kvkk-text h3 {
        font-size: 1.5rem;
    }
    
    .kvkk-text h4 {
        font-size: 1.1rem;
    }
    
    .kvkk-text li {
        padding-left: 1.75rem;
    }
    
    .kvkk-text li::before {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .modal-footer .btn-modern {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .kvkk-content {
        max-height: none;
        overflow: visible;
    }
    
    .modal-footer {
        display: none;
    }
}
