﻿body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif, system-ui, -apple-system;
}

button { font-family: 'Montserrat', sans-serif, system-ui, -apple-system; }

.display-none { display: none; }

.mobrog-2-privacy-button-openCookie img {
    position: fixed;
    top: 40%;
    right: 0;
    width: 3.2em;
    cursor: pointer;
    z-index: 200;
}

.mobrog-2-privacy-manager-first,
.mobrog-2-privacy-manager-second,
.mobrog-2-detailed-summaries { text-align: left; }

.mobrog-2-privacy-manager-first a,
.mobrog-2-privacy-manager-second a,
.mobrog-2-detailed-summaries a { text-decoration: underline; }

.mobrog-2-privacy-manager-first {
    position: fixed;
    z-index: 999;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 30px;
    padding: 2em;
    box-shadow: 0 5px 10px 5px #b1b1b164;
    max-width: 35em;
    max-height: 80vh;
    overflow-y: auto;
    width: auto;
    margin: 1em;
    bottom: 0; left: 0;
}

.mobrog-2-privacy-manager-first > .mobrog-2-privacy-first > h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1em;
}

.mobrog-2-privacy-manager-first > .mobrog-2-privacy-first > .main-text {
    max-height: 15em;
    overflow-y: auto;
    margin-bottom: 2em;
}

.mobrog-2-privacy-manager-first > .mobrog-2-privacy-first > .main-text > p {
    margin-bottom: 1em;
    padding-right: 2em;
}

.mobrog-2-privacy-manager-first .mobrog-2-privacy-first-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    flex-wrap: wrap;
}

.mobrog-2-privacy-buttons-container {
    display: flex;
    gap: 0.5em;
}

.mobrog-2-privacy-items-list {
    display: flex;
    gap: 0.5em;
}

.mobrog-2-privacy-manager-first .mobrog-2-privacy-first-buttons > button {
    position: relative;
    display: flex;
    gap: 0.5em;
    justify-content: center;
    align-items: center;
    min-width: 45%;
    flex-grow: 1;
    flex-basis: 0;
    margin-top: 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 100%;
    cursor: pointer;
}

.mobrog-2-privacy-allow,
.mobrog-2-privacy-decline {
    padding: 0.8em 0.5em;
}

.mobrog-2-privacy-first-buttons > button {
    background-color: #2C5CCE;
    border: none;
    color: #FFFFFF;
}

.mobrog-2-privacy-manage {
    border: none;
    padding: 1.2em 0.8em;
}

.mobrog-2-privacy-first-buttons > button > i { font-size: 30px; margin-bottom: 0;}

.mobrog-2-privacy-first-buttons > button > img,
.mobrog-2-privacy-first-buttons > button > span { z-index: 1; }


.mobrog-2-privacy-first-buttons > button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: 0;
    transition: all 0.6s ease;
}

.mobrog-2-privacy-allow:hover {
    color: #FFFFFF;
    border: unset;
}

.mobrog-2-privacy-first-buttons > button::before {
    background: linear-gradient(to left, #2C5CCE 50%, #143A94 50%) right;
    background-size: 210% 110%;
}


.mobrog-2-privacy-first-buttons > button:hover::before {
    background-position: left;
}

@media screen and (max-width: 450px){
    .mobrog-2-privacy-manager-first .mobrog-2-privacy-first-buttons { flex-direction: column; }
}

.mobrog-2-privacy-manager-second {
    position: fixed;
    z-index: 999;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 30px;
    padding-bottom: 2em;
    box-shadow: 0 5px 10px 5px #b1b1b164;
    max-width: 60em;
    max-height: 80vh;
    overflow-y: auto;
    width: 96%;
    bottom: 2%; left: 2%;
}

.mobrog-2-privacy-manager-second .header-buttons {
    background-color: #f5f5f5;
    border-radius: 30px;
    box-shadow: 0 5px 10px 0px #b1b1b164;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4em;
    padding: 1.5em 2em;
}

.cookie-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    max-width: 65em;
    width: 100%;
    flex-wrap: wrap;
}

.cookie-options > .cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    flex-grow: 1;
    flex-basis: 0;
    width: 100%;
    cursor: pointer;
}

.cookie-option > input[type="checkbox"] {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: solid 1px #CDCDCD;
    cursor: pointer;
}

.cookie-option > .option-item {
    background-color: #FFFFFF;
    border: solid 1px #CDCDCD;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 1.2em;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
    color: #707070;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    text-align: left;
}

.option-item > img { margin-left: 0.5em; }

.option-item.active-option { border-color: #707070; }

.back-option {
    padding: 1em 2em;
    height: 100%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    color: #707070;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 5px 1px #CDCDCD;
    cursor: pointer;
}

@media screen and (max-width: 500px) {
    .mobrog-2-privacy-manager-second .header-buttons {
        flex-direction: column-reverse;
        gap: 2em;
        align-items: flex-end;
    }
    .cookie-options {
        flex-direction: column;
    }
    .cookie-option > .option-item { white-space: wrap; }
    .back-option {
        padding: 0.6em 1.2em;
        font-size: 14px;
    }
}

.cookie-option-summaries { padding: 1em 2em; }

.cookie-summary > h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0.5em 0;
    line-height: 1.2;
}

.cookie-more-details {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border: solid 1px #CDCDCD;
    border-radius: 5px;
    font-size: 14px;
    padding: 0.8em 1em;
    margin-top: 1.5em;
    color: #707070;
    font-weight: 500;
    cursor: pointer;
}

.cookie-more-details > img {
    padding: 0.25em;
    border: solid 2px #707070;
    border-radius: 50%;
    margin-right: 0.5em;
}

.mobrog-2-privacy-second-buttons {
    display: flex;
    gap: 1em;
    padding: 1em 2em;
    margin-top: 2em;
}

.mobrog-2-privacy-second-buttons > button {
    position: relative;
    display: flex;
    gap: 0.5em;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px;
    padding: 0.8em 1.2em;
    cursor: pointer;
    min-height: 4em;
    max-width: 12em;
    width: 100%;
    white-space: nowrap;
}

.mobrog-2-privacy-second-buttons > button > i { font-size: 150%; }

.mobrog-2-privacy-second-buttons > button > img,
.mobrog-2-privacy-second-buttons > button > span { z-index: 1; }

.mobrog-2-privacy-second-buttons > .mobrog-2-privacy-accept-selected {
    margin-left: auto;
    max-width: 20em;
}

.mobrog-2-privacy-second-buttons > button {
    background-color: #2C5CCE;
    border: none;
    color: #FFFFFF;
}

.mobrog-2-privacy-second-buttons > button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: 0;
    transition: all 0.6s ease;
}

.mobrog-2-privacy-second-buttons > button::before {
    background: linear-gradient(to left, #2C5CCE 50%, #143A94 50%) right;
    background-size: 210% 110%;
}

.mobrog-2-privacy-second-buttons > button:hover::before {
    background-position: left;
}

@media screen and (max-width: 768px) {
    .mobrog-2-privacy-second-buttons {
        flex-direction: column;
        align-items: center;
    }
    .mobrog-2-privacy-second-buttons > button {
        font-size: 14px;
        flex-grow: 1;
        flex-basis: 0;
        max-width: unset;
    }
    .mobrog-2-privacy-second-buttons > .mobrog-2-privacy-accept-selected {
        margin-left: 0;
        max-width: unset;
    }
}

@media screen and (max-width: 576px) {
    .cookie-summary { font-size: 80%; }
    .mobrog-2-privacy-second-buttons {
        margin-top: 1em;
        font-size: 14px;
    }
}

.mobrog-2-detailed-summaries {
    position: fixed;
    z-index: 999;
    height: auto;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 30px;
    box-shadow: 0 5px 10px 5px #b1b1b164;
    max-width: 30em;
    max-height: 80vh;
    width: auto;
    margin: 1em;
    bottom: 0; left: 0;
}

.mobrog-2-detailed-summaries > .back-button-container {
    padding: 1.5em 2em 1em;
    position: sticky;
    border-radius: 30px;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
}

.detailed-summary {
    padding: 0.5em 2em 2em;
    max-height: 35em;
    overflow-x: auto;
    margin-bottom: 2em;
}

.detailed-summary > h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5em;
    margin-top: 0;
}

.detailed-summary h3 {
    margin-top: 0.5em;
    font-size: 1.17rem;
    font-weight: bold;
}

.detailed-summary > p:not(p:last-of-type),
.detailed-summary ul {
    margin-bottom: 1em;
}

.detailed-summary ul > li {
    list-style: disc;
    margin-left: 1em;
}

/*Ensures container scroll goes to the end*/
.detailed-summary > :last-child { margin-bottom: 6em; }

@media screen and (max-width: 576px) {
    .mobrog-2-detailed-summaries { font-size: 80%; }
}

/*MOBROG app CSS starts*/
.mobrog-app-view-pm-first.mobrog-2-privacy-manager-first { padding: 1em 2em 2em; }
.mobrog-app-view-pm-first.mobrog-2-privacy-manager-first > .mobrog-2-privacy-first > h2 { margin-bottom: 0; }
/*MOBROG app CSS ends*/