/* Çerez Banner */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 5px;
    left: 5px;
    right: 0;
    background-color: #ffe6d7;
    color: #fff;
    padding: 20px;
    z-index: 999999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    max-width: 33%;
    border-radius: 16px;
}

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

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

#cookie-banner .cookie-banner-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.6;
}

#cookie-banner .cookie-banner-text a {
    color: #ff8724;
    text-decoration: underline;
}

#cookie-banner .cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#cookie-banner .cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

#cookie-banner .cookie-btn-primary {
    background-color: #fe6908;
    color: #ffffff;
}

    #cookie-banner .cookie-btn-primary:hover {
        background-color: #3b3737;
    }

#cookie-banner .cookie-btn-secondary {
    background-color: transparent;
    color: #fb6808;
    border: 1px solid #fe6908;
}

#cookie-banner .cookie-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#cookie-banner .cookie-btn-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    opacity: 0.8;
}

#cookie-banner .cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* Çerez Modal */
#cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#cookie-modal .cookie-modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-modal .cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, #fe6a08 0%, #fa6511 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
}

#cookie-modal .cookie-modal-header > div:first-child {
    flex: 1;
}

#cookie-modal .cookie-modal-header h2 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

#cookie-modal .cookie-modal-subtitle {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

#cookie-modal .cookie-policy-link {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    margin: 0 15px;
    white-space: nowrap;
}

#cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background-color: #ffe6d7;
    border-bottom: 1px solid #fc670c;
    justify-content: flex-end;
}

#cookie-modal .cookie-action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(135deg, #fc670d 0%, #fb660e 100%);
    color: #fff;
    transition: all 0.3s;
}

#cookie-modal .cookie-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

#cookie-modal .cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

#cookie-modal .cookie-modal-close:hover {
    background-color: #f0f0f0;
}

#cookie-modal .cookie-modal-body {
    padding: 20px;
    background: #ffede3;
}

#cookie-modal .cookie-category {
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

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

#cookie-modal .cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
    background-color: #ffe6d7;
    transition: background-color 0.2s;
}

    #cookie-modal .cookie-category-header:hover {
        background-color: #fe6a08;
  
    }

        #cookie-modal .cookie-category-header:hover .cookie-category-title {
            color: white;
        }

        #cookie-modal .cookie-category-title-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
        }

#cookie-modal .cookie-category-icon {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s;
    display: inline-block;
}

#cookie-modal .cookie-category.active .cookie-category-icon {
    transform: rotate(180deg);
}

#cookie-modal .cookie-category-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

#cookie-modal .cookie-category-status {
    font-size: 12px;
    color: #999;
    margin-right: 10px;
}

#cookie-modal .cookie-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #ffede3;
}

#cookie-modal .cookie-category.active .cookie-category-content {
    max-height: 1000px;
}

#cookie-modal .cookie-category-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    padding: 15px;
    padding-top: 0;
}

/* Toggle Switch */
#cookie-modal .cookie-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
}

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

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

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

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

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

#cookie-modal .cookie-toggle-input:focus + .cookie-toggle-slider {
    box-shadow: 0 0 1px #6a4c93;
}

#cookie-modal .cookie-modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #ffe6d7;
}

#cookie-modal .cookie-modal-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#cookie-modal .cookie-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

#cookie-modal .cookie-modal-btn-primary {
    background: linear-gradient(135deg, #fc680d 0%, #fc670d 100%);
    color: #fff;
    border: none;
}

#cookie-modal .cookie-modal-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    #cookie-banner .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    #cookie-banner .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    #cookie-banner .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    #cookie-modal {
        padding: 10px;
    }
    
    #cookie-modal .cookie-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    #cookie-modal .cookie-modal-buttons {
        width: 100%;
    }
    
    #cookie-modal .cookie-modal-btn {
        flex: 1;
    }

    #cookie-banner {
        max-width: 97%;
       
    }
}

