/**
 * 2025 LP TechLabs
 *
 * NOTICE OF LICENSE
 *
 * This file is proprietary software and is not open source. Redistribution, resale, sharing, 
 * or use of this file or its portions in other projects without prior authorization is strictly prohibited.
 * 
 * This software may be used in final products, but may not be resold, redistributed, or used in 
 * any other way that violates the terms outlined by LP TechLabs.
 * 
 * The software is licensed only under the terms outlined by LP TechLabs for use in final products 
 * that do not involve resale or redistribution of the software itself.
 *
 * DISCLAIMER
 *
 * LP TechLabs does not provide support for issues resulting from unauthorized modifications 
 * or alterations made to this file.
 *
 * @author LP TechLabs
 * @copyright 2025 LP TechLabs
 * @license Proprietary - For use only under the terms outlined by LP TechLabs
 */

body .cookieconsent-alert {
    display: none;
    position: fixed;
    box-sizing: border-box;
    padding: 16px;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    border-top: 1px solid rgba(192, 192, 192, .3);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

body .cookieconsent-full-width-bar {
    width: 100%;
    bottom: 0;
    left: 0;
    animation: cookieconsent-bar-slide-up .3s ease-out forwards;
}

body .cookieconsent-left-box,
body .cookieconsent-right-box {
    width: 537px;
    bottom: 16px;
    border-radius: 6px;
    animation: cookieconsent-box-slide-up .3s ease-out forwards;
}

.cookieconsent-left-box {
    left: 16px;
}

.cookieconsent-right-box {
    right: 16px;
}

@media screen and (max-width: 585px) {

    body .cookieconsent-left-box,
    body .cookieconsent-right-box {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        animation: cookieconsent-bar-slide-up .3s ease-out forwards;
    }
}

@keyframes cookieconsent-bar-slide-up {
    from {
        bottom: -100%;
    }

    to {
        bottom: 0;
    }
}

@keyframes cookieconsent-box-slide-up {
    from {
        bottom: -100%;
    }

    to {
        bottom: 16px;
    }
}

.cookieconsent-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    animation: cookieconsent-fade .15s linear forwards;
    z-index: 9999;
}

@keyframes cookieconsent-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fallback for IE11 */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .cookieconsent-overlay {
        animation: none;
        opacity: 1;
    }
}

.cookieconsent-preferences {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 250%);
    max-width: 900px;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
    animation: cookieconsent-slide-down .3s ease-out forwards;
}

.cookieconsent-alert p,
.cookieconsent-preferences p {
    margin: 8px 0;
    text-align: justify;
    text-align-last: left;
    -ms-text-align-last: left;
    font-size: 16px;
    line-height: 1.4;
    color: #555;
}

@keyframes cookieconsent-slide-down {
    from {
        transform: translate(-50%, 250%);
    }

    to {
        transform: translate(-50%, -50%);
    }
}

@media screen and (min-width: 632px) {
    .cookieconsent-preferences {
        min-width: 600px;
    }
}

@media screen and (max-width: 900px) {
    .cookieconsent-preferences {
        min-width: calc(100% - 32px);
    }
}

.cookieconsent-preferences-header {
    padding: 16px 16px 0;
    border-bottom: 1px solid rgba(192, 192, 192, .3);
}

.cookieconsent-alert h3,
.cookieconsent-preferences h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 20px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.4;
}

.cookieconsent-categories {
    max-height: 421px;
    overflow-y: auto;
}

.cookieconsent-category {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.cookieconsent-category:not(:first-of-type) {
    border-top: 1px solid rgba(192, 192, 192, .3);
}

.cookieconsent-category h5 {
    margin: 8px 0 0 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.cookieconsent-category p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookieconsent-link {
    font-family: inherit;
    font-size: inherit;
    text-decoration: underline;
}

.cookieconsent-link:hover {
    text-decoration: none;
}

.cookieconsent-buttons {
    display: flex;
}

.cookieconsent-alert .cookieconsent-buttons {
    padding-top: 8px;
}

.cookieconsent-full-width-bar .cookieconsent-buttons,
.cookieconsent-preferences .cookieconsent-buttons {
    justify-content: flex-end;
}

.cookieconsent-left-box .cookieconsent-buttons,
.cookieconsent-right-box .cookieconsent-buttons {
    justify-content: space-between;
}

.cookieconsent-preferences .cookieconsent-buttons {
    padding: 16px;
    border-top: 1px solid rgba(192, 192, 192, .3);
}

.cookieconsent-btn {
    padding: 8px 20px;
    font-weight: 600;
    display: inline-block;
    min-width: 160px;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    font-size: 16px;
    border-radius: 6px;
    outline: none;
    transition: box-shadow .15s;
}

.cookieconsent-btn-preferences {
    margin: 0 8px;
}

.cookieconsent-btn-preferences,
.cookieconsent-btn-reject {
    background-color: transparent;
    border: 2px solid;
}

.cookieconsent-btn-preferences:hover,
.cookieconsent-btn-reject:hover {
    filter: brightness(110%);
}

.cookieconsent-btn-preferences:focus,
.cookieconsent-btn-reject:focus {
    filter: brightness(90%);
}

.cookieconsent-btn-accept {
    color: #fff;
}

.cookieconsent-btn-accept:hover {
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.10);
}

.cookieconsent-btn-accept:focus {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.10);
}

@media screen and (max-width: 619px) {
    .cookieconsent-buttons {
        flex-direction: column;
    }

    .cookieconsent-btn {
        width: 100%;
        margin: 0;
    }

    .cookieconsent-btn-preferences {
        margin: 8px 0;
    }
}

.cookieconsent-switch {
    display: inline-block;
    position: relative;
    width: 52px;
    height: 28px;
    margin-left: 16px;
    padding: 0;
    transform: translateY(25%);
    cursor: pointer;
    overflow: hidden;
}

.cookieconsent-switch input {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 0;
    height: 0;
}

.cookieconsent-switch input+span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #d3d3d3;
    border-radius: 20px;
    box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

.cookieconsent-switch:has(input:disabled) {
    cursor: not-allowed;
}

.cookieconsent-switch input+span:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    transition: all .15s;
}

.cookieconsent-switch input:checked+span:before {
    left: 26px;
}

.cookieconsent-preferences-link {
    display: inline-flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 64px;
    padding: 4px 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: #fff;
    color: #333;
    border: none;
    border-top: 1px solid rgba(192, 192, 192, .3);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

.cookieconsent-preferences-link>svg {
    margin-right: 4px;
}