body.modal-open {
    overflow: hidden;
    /*padding-right: 17px;*/
}
.modal {
    z-index: 100000;
    width: 100%;
    height: 100vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);

}

.model-content {
    border-radius: 5px;
    width: 625px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
    0 2px 2px rgba(0, 0, 0, 0.12),
    0 4px 4px rgba(0, 0, 0, 0.12),
    0 8px 8px rgba(0, 0, 0, 0.12),
    0 16px 16px rgba(0, 0, 0, 0.12);

    transform: translateY(-20px);
    transition: transform 0.3s ease-in-out;

}

.model-header {
    width: 100%;
    padding: 15px 15px;
    margin: 0;
    border-bottom: 1px solid #e9e9e9;
    /*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);*/
}

.model-header h2 {
    font-size: 20px;
    letter-spacing: 3px;
    padding: 10px;
    text-transform: uppercase;
    margin: 0;
}

.model-text {
    padding: 10px 20px;
    line-height: 1.6;
}

.model-text p {
    font-size: 20px;
}

.model-body {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.consent-preferences-manager h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
    padding-left: 10px;
}

.cookie-category {
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.category-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.category-header:hover {
    background-color: #f0f0f0;
}

.category-header .toggle-icon {
    font-size: 18px;
    margin-right: 10px;
    transition: transform 0.3s ease;
    width: 20px;
    text-align: center;
}

.category-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    flex-grow: 1;
}

.category-header .status-label {
    font-size: 12px;
    color: #3860be;
    margin-right: 10px;
    white-space: nowrap;
}

.category-details {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.cookie-category.active .category-details {
    max-height: 200px !important;
    padding: 15px;
}

.cookie-category.active .toggle-icon {
    transform: rotate(45deg);
}


.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin-left: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Disabled Switch */
input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;

}

input:disabled:checked + .slider {
    background-color: #2196F3;
}

input:disabled + .slider:before {
    background-color: #bbb;
}
input:checked + .slider{
    background-color: #2196F3;
}
div.first-modal-content {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 760px;
    display: flex;
    padding: 30px;
    background-color: white;
}

div.first-modal-content p {
    flex: 2;
    font-size: 15px;
    padding: 10px 5px;
}

div.first-modal-content div {
    flex: 1;
}

div.first-modal-content div.buttons {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
}

div.first-modal-content button {
    background-color: black;
    width: 100%;
    color: white;
    border: 0;
    font-size: 17px;
    padding: 15px 20px;
}
div.first-modal-content button:hover{
    cursor: pointer;
    background-color: gray;
    border: 0;
}

@media (max-width: 768px) {
    .modal{
        align-items: end;
        max-width: 100vw;
    }
    div.first-modal-content{
        flex-direction: column;
        width: 100%;
        position: unset;
        /*padding: 0;*/
        max-width: 100vw;
        margin-bottom: 65px;
    }
    div.buttons{
        /*padding-bottom: 55px!important;*/
    }
    .model-content {
        width: 90%;
        max-height: max-content;
    }

    .model-header h2 {
        font-size: 16px;
    }

    .model-text p {
        font-size: 14px;
    }

    .category-header h4 {
        font-size: 12px;
        font-weight: normal!important;
    }

    .switch {
        width: 34px;
        height: 18px;
    }

    .slider:before {
        height: 12px;
        width: 12px;
        left: 3px;
        bottom: 3px;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(16px);
        -ms-transform: translateX(16px);
        transform: translateX(16px);
    }

    .slider.round {
        border-radius: 18px;
    }

    .model-buttons {
        -ms-overflow-y: scroll;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 75px;
    }

    .model-buttons button {
        width: 50px;
        font-size: 12px;
        padding: 5px !important;
    }
}

.model-buttons {
    display: flex;
    justify-content: end;
    gap: 5px;
    margin-top: 10px;
    border-top: 1px solid #e9e9e9;
    padding-top: 15px;
    padding-bottom: 15px;
}

.model-buttons button {
    background-color: black !important;
    text-transform: none !important;
    cursor: pointer;
    color: white !important;
    border: black !important;
    width: 200px;
    padding: 8px !important;
    font-size: .70em !important;
}

.model-buttons button:hover {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2)
}

.model-body hr {
    max-width: 100% !important;
    width: 100%;
    height: 5px;
}
div.cooker-button-div{
    display: inline-block;
    margin-left: 5px;
}
div.cooker-button-div button{
    color: #68b631;
    border: 1px solid #68b631;
    padding: 20px 15px;
    background-color: transparent;
}

div.cooker-button-div button:hover{
    background-color: #68b631;
    color: white;
    cursor: pointer;
}
P#UUID{
    font-size: 16px;
}
P#UUID small{
    font-style: italic;
    color: gray;
}