﻿/* KVKK Modal Styles */
.kvkk-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    animation: kvkkFadeIn 0.3s ease;
}

    .kvkk-modal-overlay.show {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

.kvkk-modal {
    background: var(--bg-primary);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    animation: kvkkSlideUp 0.4s ease;
    overflow: hidden;
}

.kvkk-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.kvkk-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.kvkk-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.kvkk-modal-content {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

    .kvkk-modal-content p {
        color: var(--text-primary);
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        text-align: center;
    }

.kvkk-details {
    margin-bottom: 25px;
}

    .kvkk-details h4 {
        color: var(--text-primary);
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 10px;
        margin-top: 20px;
    }

        .kvkk-details h4:first-child {
            margin-top: 0;
        }

    .kvkk-details ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .kvkk-details li {
        color: var(--text-secondary);
        font-size: 0.95rem;
        padding: 5px 0;
        padding-left: 20px;
        position: relative;
    }

        .kvkk-details li::before {
            content: '•';
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

.kvkk-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.kvkk-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

    .kvkk-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-1px);
    }

.kvkk-modal-footer {
    padding: 25px;
    background: var(--bg-secondary);
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

.kvkk-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.kvkk-btn-reject {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

    .kvkk-btn-reject:hover {
        background: #e74c3c;
        color: white;
        border-color: #e74c3c;
        transform: translateY(-2px);
    }

.kvkk-btn-accept {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

    .kvkk-btn-accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
    }

/* Animations */
@keyframes kvkkFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes kvkkSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes kvkkFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes kvkkSlideDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
}

.kvkk-modal-overlay.hide {
    animation: kvkkFadeOut 0.3s ease;
}

    .kvkk-modal-overlay.hide .kvkk-modal {
        animation: kvkkSlideDown 0.3s ease;
    }

/* Custom scrollbar */
.kvkk-modal-content::-webkit-scrollbar {
    width: 6px;
}

.kvkk-modal-content::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.kvkk-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .kvkk-modal {
        max-width: 400px;
        margin: 10px;
    }

    .kvkk-modal-header {
        padding: 20px;
    }

    .kvkk-icon {
        font-size: 2rem;
    }

    .kvkk-modal-header h3 {
        font-size: 1.2rem;
    }

    .kvkk-modal-content {
        padding: 20px;
    }

    .kvkk-modal-footer {
        flex-direction: column;
        padding: 20px;
    }

    .kvkk-links {
        flex-direction: column;
        align-items: center;
    }
}
