﻿/* Küçük popup */
.cookie-wrapper {
    position: fixed;
    bottom: 50px;
    right: -370px;
    max-width: 345px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px 22px;
    transition: right 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

    .cookie-wrapper.show {
        right: 50px;
    }

@media (max-width: 767px) {
    .cookie-wrapper {
        left: auto; 
        right: -100%; 
        margin: 0;
    }

        .cookie-wrapper.show {
            right: 10px;
        }
}

.cookie-wrapper .cookie-header {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.cookie-header i {
    color: #4070f4;
    font-size: 28px;
    margin: 0;
}

.cookie-header h4 {
    color: #4070f4;
    font-weight: 500;
    font-size: 26px;
    margin: 0;
}

.cookie-wrapper .cookie-data p {
    color: #333;
    font-size: 16px;
}

.cookie-data p a {
    color: #4070f4;
    text-decoration: none;
}

    .cookie-data p a:hover {
        text-decoration: underline;
    }

.cookie-wrapper .cookie-buttons-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.cookie-buttons-wrapper .cookie-button {
    border: none;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    background: #4070f4;
    cursor: pointer;
    flex: 1 1 calc(33% - 6px);
    text-align: center;
    transition: all 0.2s ease;
    min-width: 80px;
}

.cookie-buttons-wrapper #cookie-acceptBtn:hover {
    background-color: #034bf1;
}

#cookie-declineBtn {
    border: 2px solid #4070f4;
    background-color: #fff;
    color: #4070f4;
}

    #cookie-declineBtn:hover {
        background-color: #4070f4;
        color: #fff;
    }

#cookie-settingsBtn {
    background: #555;
}

    #cookie-settingsBtn:hover {
        background: #333;
    }

/* Büyük ayar paneli */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.cookie-content {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    max-width: 700px;
    width: 100%;
    max-height: 90%;
    overflow-y: auto;
}

@media (max-width: 767px) {
    .cookie-content {
        width: 100%;
        max-height: 90%;
        padding: 20px;
    }
}

.cookie-content h2 {
    font-weight: bold;
    font-size: 24px;
    margin: 0 0 10px;
    color: black;
}

.cookie-content p {
    color: black;
    font-size: 14px;
    margin-bottom: 10px;
}

.cookie-option {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .cookie-option p {
        margin: 0;
        flex: 1 1 75%;
        font-size: 14px;
        color: #444;
    }

    .cookie-option h4 {
        font-weight: 500;
        font-size: 18px;
        margin: 0;
        color: black;
        flex: 1 1 100%;
    }

.cookie-content .cookie-buttons {
    text-align: right;
    margin-top: 20px;
}

.cookie-confirm-btn {
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    background: #4070f4;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

    .cookie-switch input {
        display: none;
    }

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .cookie-slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

.cookie-switch input:checked + .cookie-slider {
    background-color: #4070f4;
}

    .cookie-switch input:checked + .cookie-slider:before {
        transform: translateX(20px);
    }
