/* Çerez Yönetimi Popup Stilleri - Tema ile Uyumlu */

.cookie-consent-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    animation: slideUp 0.4s ease-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-consent-popup.active {
    display: block;
}

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

.cookie-consent-content {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 126, 120, 0.1) 100%);
    border: 2px solid rgba(0, 126, 120, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 126, 120, 0.3);
}

.cookie-consent-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cookie-consent-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-consent-body {
    margin-bottom: 1rem;
}

.cookie-consent-body p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-consent-body a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-consent-body a:hover {
    color: var(--primary-light);
}

.cookie-consent-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 126, 120, 0.05);
    border: 1px solid rgba(0, 126, 120, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-option:hover {
    background: rgba(0, 126, 120, 0.1);
    border-color: var(--primary-color);
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

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

.cookie-option span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.2rem;
}

.cookie-option small {
    color: var(--text-secondary);
    font-size: 0.75rem;
    display: block;
    line-height: 1.3;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cookie-consent-actions .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-consent-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.cookie-consent-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 126, 120, 0.4);
}

.cookie-consent-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cookie-consent-actions .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

.footer-legal-links span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-popup {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        padding: 1.5rem;
    }
    
    .cookie-consent-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .cookie-consent-header h3 {
        font-size: 1.25rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-consent-actions .btn {
        width: 100%;
    }
    
    .footer-legal-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-legal-links span {
        display: none;
    }
}

