/* ===== Cookie Consent Modal ve Banner Stilleri ===== */

/* Cookie Consent Banner (Alt Bar) */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    padding: 1rem 0;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-banner a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-consent-banner a:hover {
    color: #5dade2;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.cookie-consent-container {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10002;
}

.cookie-consent-modal.show .cookie-consent-container {
    transform: scale(1);
}

.cookie-consent-header {
    padding: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
}

.cookie-consent-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-consent-header p {
    margin: 0;
    opacity: 0.9;
}

.cookie-consent-body {
    padding: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.cookie-category strong {
    color: #2c3e50;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-category .small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Form Switch Stilleri */
.form-check-input:checked {
    background-color: #27ae60;
    border-color: #27ae60;
}

.form-check-input:focus {
    border-color: #3498db;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.form-check-input:disabled {
    background-color: #95a5a6;
    border-color: #95a5a6;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-consent-footer {
    padding: 1.5rem;
    border-top: 2px solid #ecf0f1;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.cookie-consent-footer .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cookie-consent-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .cookie-consent-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .cookie-consent-header,
    .cookie-consent-body,
    .cookie-consent-footer {
        padding: 1rem;
    }
    
    .cookie-consent-footer .d-flex {
        flex-direction: column;
    }
    
    .cookie-consent-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cookie-consent-banner .row {
        text-align: center;
    }
    
    .cookie-consent-banner .col-md-4 {
        margin-top: 1rem;
    }
}

/* Animasyonlar */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-consent-banner.show {
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-modal.show {
    animation: fadeIn 0.3s ease-out;
}

