﻿/* Popup Genel Stili */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Varsayılan olarak gizli */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .cookie-popup .popup-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        max-width: 600px;
        width: 90%;
        text-align: left;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        font-family: Arial, sans-serif;
    }

    .cookie-popup .popup-header {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        color: #333;
    }

    .cookie-popup .popup-text {
        font-size: 14px;
        margin-bottom: 20px;
        color: #666;
    }

    .cookie-popup .cookie-category {
        margin-bottom: 20px;
    }

        .cookie-popup .cookie-category h4 {
            margin: 0;
            font-size: 16px;
            color: #407294;
        }

        .cookie-popup .cookie-category p {
            margin: 5px 0 10px;
            font-size: 14px;
            color: #333;
        }

    .cookie-popup .popup-buttons {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
    }

    .cookie-popup .popup-button {
        background-color: #407294;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
    }

        .cookie-popup .popup-button:hover {
            background-color: #305272;
        }

/* Switch Stili */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #407294;
}

    input:checked + .slider:before {
        transform: translateX(14px);
    }
