/* Cookie Consent Popup Styles */

#cookieConsentPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#cookieConsentPopup.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.cookie-consent-modal {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.cookie-consent-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
}

.cookie-consent-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-consent-header i {
    font-size: 1.5rem;
    margin-right: 8px;
    vertical-align: middle;
}

.cookie-consent-body {
    padding: 20px;
    color: #333;
}

.cookie-consent-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-consent-body a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

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

.cookie-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.cookie-option {
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.2s;
}

.cookie-option:hover {
    background: #e9ecef;
}

.cookie-option label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-option strong {
    display: block;
    margin-bottom: 4px;
    color: #2c3e50;
}

.cookie-option small {
    color: #6c757d;
    font-size: 0.85rem;
}

.cookie-consent-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-consent-footer .btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.cookie-consent-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cookie-consent-footer .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.cookie-consent-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

.cookie-consent-footer .btn-secondary:hover {
    background: #5a6268;
}

.cookie-consent-footer .btn-outline-secondary {
    background: white;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.cookie-consent-footer .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

.cookie-consent-footer .btn-success {
    background: #28a745;
    color: white;
}

.cookie-consent-footer .btn-success:hover {
    background: #218838;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-modal {
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 12px 12px 0 0;
    }

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

    .cookie-consent-header h4 {
        font-size: 1.1rem;
    }

    .cookie-consent-body {
        padding: 15px;
    }

    .cookie-consent-footer {
        padding: 12px 15px;
        flex-direction: column;
    }

    .cookie-consent-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Settings Button (Footer'da olabilir) */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 9999;
}

.cookie-settings-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.cookie-settings-btn i {
    margin-right: 5px;
}
