/* Çerez Onay Kutusu Stilleri */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 20px;
    z-index: 1050;
    display: none;
    backdrop-filter: blur(10px);
    border-top: 3px solid #ccff00;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h5 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #ccff00;
    font-weight: bold;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.cookie-consent-btn-accept {
    /* background: linear-gradient(135deg, #ccff00 0%, #a8d600 100%); */
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.3);
}

.cookie-consent-btn-accept:hover {
    background: linear-gradient(135deg, #a8d600 0%, #ccff00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.4);
}

.cookie-consent-btn-decline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #666;
}

.cookie-consent-btn-decline:hover {
    background: #666;
    color: white;
    border-color: #666;
}

.cookie-consent-btn-settings {
    background: transparent;
    color: #f348fc;
    border: 2px solid #f348fc;
}

.cookie-consent-btn-settings:hover {
    background: #f348fc;
    color: #000;
    font-weight: bold;
}

.cookie-consent-btn-policy {
    background: transparent;
    color: #ccff00;
    border: 2px solid #ccff00;
    font-size: 0.85rem;
}

.cookie-consent-btn-policy:hover {
    background: #ccff00;
    color: #000;
    font-weight: bold;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 15px;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-text {
        min-width: auto;
        margin-bottom: 15px;
    }

    .cookie-consent-actions {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .cookie-consent-btn {
        flex: 1;
        min-width: 200px;
        padding: 10px 15px;
    }

    .cookie-consent-btn-policy {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .cookie-settings-content {
        margin: 10px;
        padding: 20px;
    }

    .cookie-settings-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-settings-actions .cookie-consent-btn {
        width: 100%;
    }
}

/* Çerez ayarları modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid #ccff00;
}

.cookie-settings-content h4 {
    color: #000;
    margin-bottom: 20px;
    font-weight: bold;
}

.cookie-settings-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
}

.cookie-settings-close:hover {
    color: #000;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #ccff00;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.cookie-category h6 {
    margin: 0 0 10px 0;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

.cookie-category p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background-color: #ccff00;
}

.cookie-toggle input:checked+.cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled+.cookie-toggle-slider {
    background-color: #ccff00;
    cursor: not-allowed;
}

.cookie-settings-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ccff00;
}

.cookie-settings-actions .cookie-consent-btn-accept {
    background-color: #a8d600;
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.3);
}

.cookie-settings-actions .cookie-consent-btn-accept:hover {
    background: linear-gradient(135deg, #a8d600 0%, #ccff00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.4);
}

.cookie-settings-actions .cookie-consent-btn-decline {
    background: transparent;
    color: #666;
    border: 2px solid #666;
}

.cookie-settings-actions .cookie-consent-btn-decline:hover {
    background: #666;
    color: white;
}