﻿/* 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;
    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: #00457c;
        }

        .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: #00457c;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
    }

        .cookie-popup .popup-button:hover {
            background-color: #00457c;
        }

/* 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: #00457c;
}

    input:checked + .slider:before {
        transform: translateX(14px);
    }

/* ============================= */
/* ALT SABİT COOKIE BAR */
/* ============================= */

.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    color: #fff;
    padding: 25px 0;
    z-index: 9998;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.25);
}

    .cookie-bar .cookie-container {
        width: 90%;
        max-width: 1600px;
        margin: auto;
    }

    .cookie-bar p {
        margin: 0 0 15px 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .cookie-bar a {
        color: #00457c;
        font-weight: 600;
        text-decoration: underline;
    }

    .cookie-bar .buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        text-align:center;
        justify-content:center;
    }

    .cookie-bar .item {
        padding: 10px 18px;
        border-radius: 5px;
        border: none;
        font-size: 14px;
        cursor: pointer;
        transition: 0.3s;
    }

.cookieheader {
    text-align: center;
    color: #00457c;
}
#btn-cookie-consent-accept {
    background: #00457c;
    color: #fff;
}

    #btn-cookie-consent-accept:hover {
        background: #00457c;
    }

#btn-cookie-settings {
    background: #00457c;
    border: 1px solid #fff;
    color: #fff;
}

    #btn-cookie-settings:hover {
        background: #00457c;
        color: #fff;
    }

/* Mobil */
@media (max-width: 768px) {
    .cookie-bar {
        padding: 20px 15px;
    }

        .cookie-bar .buttons {
            flex-direction: column;
            align-items: stretch;
        }

        .cookie-bar .item {
            width: 100%;
            text-align: center;
        }
}