.frontshield {
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 1.2;
    z-index: 2999999;
    overflow: hidden !important;
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.frontshield-banner {
    margin-left: auto;
    margin-right: auto;
    max-height: 80vh;
    max-width: 550px;
    width: 95%;
    align-self: center;
    border-radius: 10px;
    background-color: var(--background-color);
    color: var(--color);
    padding: 20px;
    overflow: auto;
}

.frontshield-links a {
    margin-right: 10px;
    color: var(--color);
    display: inline-block;
    text-decoration: underline;
}

.frontshield-links a:hover{
    text-decoration: none;
}

.frontshield-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.frontshield-btn {
    border-radius: 5px;
    padding: 10px 15px;
    border: none;
    font-weight: bold;
    flex: 1 1 auto;
    cursor: pointer;
    color: var(--btn-color);
    font-family: inherit;
    background-color: var(--btn-background-color);
    transition: opacity 0.3s;
}

.frontshield-btn:hover {
    opacity: 0.85;
}


.frontshield-btn-highlight {
    background-color: var(--highlight-background-color);
    color: var(--highlight-color);
}

.frontshield-edit {
    display: none;
}

.frontshield-cookie-category {
    margin-bottom: 20px;
    padding: 20px 80px 20px 20px;
    border: 2px solid #ebebeb;
    border-radius: 5px;
    position: relative;
}

.frontshield-cookie-category .frontshield-checkbox-label {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox-switch {
    width: 40px;
    height: 20px;
    border-radius: 20px;
    display: block;
    position: relative;
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    display: block;
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox:disabled + .frontshield-checkbox-switch {
    opacity: 0.6;
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox:not(:disabled) + .frontshield-checkbox-switch {
    cursor: pointer;
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox-switch:before {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 20px;
    content: "";
    display: block;
    background-color: #b0b0b0;
    transition: background-color 0.3s, opacity 0.3s;
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox-switch:after {
    position: absolute;
    top: 50%;
    left: 4px;
    border-radius: 50%;
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-color: #fff;
    transform: translateY(-50%);
    transition: left 0.3s, background-color 0.3s;
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox:checked + .frontshield-checkbox-switch:before {
    opacity: 0.5;
    background-color: var(--highlight-background-color);
}

.frontshield-cookie-category .frontshield-checkbox-label .frontshield-checkbox:checked + .frontshield-checkbox-switch:after {
    left: calc(100% - 18px);
    background-color: var(--highlight-background-color);
}

.frontshield-cookie-category > *:last-child {
    margin-bottom: 0;
}
.frontshield-title{
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
}

.frontshield-checkbox-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.frontshield-checkbox-title ~ *{
    font-size: 16px;
}

.frontshield p {
    margin: 0 0 10px;
}

.frontshield-content-blocker{
    display: flex;
    width: 100% !important;
    align-items: center;
    justify-content: center;
    position: relative;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}

.frontshield-content-blocker .frontshield-content-blocker-inner{
    text-align: center;
    padding: 20px;
    max-width: 90% !important;
    width: auto !important;
    background-color: var(--background-color);
    color: var(--color);
    border-radius: 5px;
}

.frontshield-content-blocker .frontshield-content-blocker-inner p{
    margin-top: 0;
}

.frontshield-content-blocker > *:not(.frontshield-content-blocker-inner){
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}