﻿.cookie-consent-banner {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    background-color: hsla(0, 0%, 96%, .975);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-popup__body {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 15px;
    align-content: stretch;
    justify-content: space-evenly;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
}

    .cookie-content h3 {
        margin: 0;
        font-size: 1.2rem;
    }

    .cookie-content p {
        flex: 1;
        margin: 0;
        font-size: 0.9rem;
    }

.cookie-buttons {
    display: flex;
    grid-gap: 24px;
}

.cookie-categories {
    flex-direction: row;
    display: flex;
    -webkit-box-flex: 0;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    margin-top: 1rem;
}

.category {
    flex-basis: 50%;
    max-width: 50%;
    padding-right: 12px;
    flex-grow: 0;
}

.category__title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    grid-gap: 4px;
    align-items: center;
}

.category__text {
    margin-top: 16px;
    margin-bottom: 24px;
}

.button-accept {
    color: #ffffff;
    padding: 8px 0;
    border-radius: 999px;
    background: #354054;
    cursor: pointer;
    width: 25%;
    transition: all 0.2s ease;
    border-style: solid;
    border: none;
}

.button-save {
    padding: 8px 0;
    border-radius: 999px;
    cursor: pointer;
    width: 25%;
    transition: all 0.2s ease;
    background-color: transparent;
    border-color: #c4c4c4;
    color: #363636;
    border-style: solid;
}

.button-accept:hover {
    background-color: #fc9823;
}

.button-save:hover {
    color: #fc9823 !important;
}

input.custom-switch {
    position: relative;
    appearance: none;
    outline: none;
    width: 50px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #D9DADC;
    border-radius: 50px;
    box-shadow: inset -20px 0 0 0 #ffffff;
    transition-duration: 200ms;
}

    input.custom-switch:after {
        content: "";
        position: absolute;
        top: 1px;
        left: 1px;
        width: 26px;
        height: 26px;
        background-color: transparent;
        border-radius: 50%;
        box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
    }

    input.custom-switch:checked {
        border-color: #354054;
        box-shadow: inset 20px 0 0 0 #354054;
    }

    input.custom-switch:checked:after {
        left: 20px;
        box-shadow: -2px 4px 3px rgba(0, 0, 0, 0.05);
    }

    input.custom-switch:disabled {
        border-color: gray;
        box-shadow: inset 20px 0 0 0 grey;
    }

    .custom-a {
        text-decoration: underline;
    }

    .custom-a:hover {
        color: #0971aa;
    }


.custom-h2 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

    .custom-table th {
        padding: 0.75rem;
        text-align: left;
        background-color: #f8f9fa;
        font-weight: 600;
        border-bottom: 2px solid #dee2e6;
    }

    .custom-table td {
        padding: 0.75rem;
        border-bottom: 1px solid #dee2e6;
    }

    .custom-table tbody tr:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }

    .custom-table-stripped tbody tr:nth-child(odd) {
        background-color: rgba(0, 0, 0, 0.02);
    }

.custom-table-bordered {
    border: 1px solid #dee2e6;
}

    .custom-table-bordered th,
    .custom-table-bordered td {
        border: 1px solid #dee2e6;
    }

