/* KVKK Cookie Banner Styles */

.pemk-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 4px solid #2563eb;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pemk-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pemk-cookie-text {
    margin-bottom: 15px;
}

.pemk-cookie-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.pemk-cookie-text p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.pemk-cookie-text a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.pemk-cookie-text a:hover {
    text-decoration: underline;
}

.pemk-cookie-details {
    display: none;
    margin: 15px 0;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
}

.pemk-cookie-details.active {
    display: block;
}

.pemk-cookie-category {
    margin-bottom: 15px;
}

.pemk-cookie-category:last-child {
    margin-bottom: 0;
}

.pemk-cookie-category h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.pemk-cookie-category p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.pemk-cookie-category label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.pemk-cookie-category input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.pemk-cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.pemk-btn-primary,
.pemk-btn-secondary {
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pemk-btn-primary {
    background: #2563eb;
    color: #fff;
}

.pemk-btn-primary:hover {
    background: #1d4ed8;
}

.pemk-btn-secondary {
    background: #e5e7eb;
    color: #1f2937;
}

.pemk-btn-secondary:hover {
    background: #d1d5db;
}

#pemk-cookie-details-toggle {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: 10px;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pemk-cookie-banner {
        border-top: 3px solid #2563eb;
    }

    .pemk-cookie-content {
        padding: 15px;
    }

    .pemk-cookie-text h3 {
        font-size: 16px;
    }

    .pemk-cookie-text p {
        font-size: 13px;
    }

    .pemk-cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .pemk-btn-primary,
    .pemk-btn-secondary {
        width: 100%;
        padding: 12px 8px;
        font-size: 13px;
    }

    .pemk-cookie-details {
        margin: 10px 0;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .pemk-cookie-banner {
        position: fixed;
        bottom: 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .pemk-cookie-content {
        padding: 12px;
    }

    .pemk-cookie-text p {
        font-size: 12px;
    }

    .pemk-cookie-category {
        margin-bottom: 10px;
    }

    .pemk-cookie-actions {
        grid-template-columns: 1fr;
    }
}
