Body {
    background-color: var(--tk-color-light) !important;
}

.hold__animate {
    opacity: 1;
}

.topbar {
    background-color: var(--tk-color-primary-dark);
    padding: 35px 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100vw;
    position: absolute;
    z-index: -1 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
}

main {
    position: relative;
    z-index: 2 !important;
}

main .container {
    max-width: 90%;
    margin: 30px auto 60px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.header,
.footer {
    width: 100%;
    border-bottom: 3px solid var(--tk-color-primary);
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    max-width: 135px;
    height: auto;
}

.selector {
    height: 60px;
    padding: 0 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .1);
}

.selector-item {
    position: relative;
    flex-basis: 100%;
    margin: 0 5px;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service__option {
    appearance: none;
    display: none;
}

.service__option__label {
    position: relative;
    height: 80%;
    width: 100%;
    padding: 5px 20px;
    text-align: center;
    border-radius: 10px;
    line-height: 30px;
    font-weight: 700;
    font-size: 10px;
    background-color: #efefef;
    transition-duration: .5s;
    transition-property: transform, box-shadow;
    transform: none;
}

.service__option__label:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 1px solid #efefef;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    opacity: 0;
}

.service__option:checked+.service__option__label {
    background-color: var(--tk-color-primary);
    color: var(--bs-white);
}

.service__option:checked+.service__option__label:after {
    top: 100%;
    border-top: 10px solid var(--tk-color-primary);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    transition: 0.2s;
    opacity: 1;
}

.section {
    display: none;
    opacity: 0;
    margin-bottom: 0;
    transition: opacity 0.5s ease;
}

.section.active {
    display: block;
    opacity: 1;
}

.dataText {
    font-size: 11px;
}

.progress-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.progress-content {
    flex-grow: 1;
}

.progress-content .label {
    font-size: 11px;
}

.description {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.grade {
    font-size: 10px;
}

.percentage {
    font-weight: bold;
    position: absolute;
    bottom: 18px;
}

.progress-bar-container {
    background-color: #e9ecef;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 5px;
}

.circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 20px 30px;
}

.circle-inner {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circle-container .progress-label {
    font-size: 18px;
    font-weight: bold;
}

.circle-container .circle-text {
    font-size: 32px;
    font-weight: bold;
    z-index: 1;
}

.accordion {
    max-width: 100%;
    margin: 40px auto 0;
}

.accordion__header {
    width: 100%;
    font-size: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 15px 20px;
    color: var(--tk-color-primary);
}

.accordion__header:after {
    display: none;
    content: "\f13a";
    position: absolute;
    left: 20px;
    transform-origin: center;
    font-family: "Font Awesome 6 Pro";
    font-size: 1.2em;
    font-weight: 900;
    color: var(--tk-color-primary);
    transition: transform 200ms ease-out;
}

.accordion__item {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion__item:hover .accordion__header {
    color: var(--tk-color-primary-dark);
}

.accordion__item:first-child .accordion__header {
    border-top: none;
}

.accordion__content {
    padding: 0 20px;
    height: 0;
    background-color: #fff;
    overflow: hidden;
    transition: padding 200ms ease-in-out;
}

.accordion input {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    border: 0;
    z-index: 999;
}

.accordion input[hidden=hidden] {
    visiblity: hidden;
    top: -100%;
}

.accordion input[hidden=hidden]+.accordion__header:after {
    display: block;
}

.accordion input:focus {
    outline: none;
}

.accordion input:checked~.accordion__content {
    padding: 0 20px 20px 20px;
    height: auto;
}

.accordion input:checked+.accordion__header {
    color: var(--tk-color-primary-dark);
}

.accordion input:checked+.accordion__header:after {
    transform: rotate(-180deg);
    font-weight: 400;
}

.note__item {
    margin-bottom: 5px;
}

.note__item:last-child {
    margin-bottom: 0;
}

.img-popup {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.img-popup-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
}

.img-popup-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.footer {
    display: none;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    border-top: 3px solid var(--tk-color-primary);
}

.tk__footer {
    background-color: var(--bs-white);
    width: 100%;
    z-index: 1;
}

.image__item {
    height: 150px;
    width: 150px;
}

@media (max-width: 768px) {
    .selector {
        margin: 0 -20px;
    }

    .selector-item {
        height: auto;
    }

    .selector label {
        line-height: 1.5;
        align-items: center;
        height: auto;
    }

    .service__option:checked+.service__option__label:after {
        border-top: 6px solid var(--tk-color-primary);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
    }

    .dataText {
        font-size: 10px;
    }

    .printReport,
    .shareReport {
        display: none !important;
    }
}

@media print {
    @page {
        size: A4;
        /*margin: 30px 10px!important;*/
    }

    body {
        background-color: var(--bs-white) !important;
        margin: 20px 0 0 !important;
        padding-top: 120px;
        padding-bottom: 100px;
    }

    #print-content {
        overflow-y: hidden;
    }

    .showPrint {
        display: inline !important;
    }

    .showPrintBlock,
    .blockPrint {
        display: block !important;
    }

    .hidePrint,
    .tk__footer,
    .leaflet-control-zoom {
        display: none !important;
    }

    .watermark {
        display: block;
    }

    .topbar {
        padding: 45px 0;
        border-bottom-left-radius: 100%;
        border-bottom-right-radius: 100%;
    }

    main .container {
        width: 100% !important;
        max-width: 210mm !important;
        margin: 0 auto !important;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .header,
    .footer {
        position: fixed !important;
        top: 0;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 35px 10px;
        background: var(--bs-white) !important;
        z-index: 99999;
    }

    .section {
        display: block;
        opacity: 1;
    }

    .section__data {
        page-break-inside: avoid !important;
        position: relative;
    }

    .dataText {
        font-size: 10px;
    }

    #order-details .section__data,
    #property-details .section__data {
        margin-top: -15px !important;
    }

    #map,
    .propertyImage {
        min-height: 270px;
        max-height: 270px !important;
    }

    .stamp {
        position: absolute;
        bottom: 30px;
        left: 100px;
        display: inline-block;
        padding: 10px 30px;
        color: #0000ff;
        font-size: 14px;
        text-align: center;
        width: max-content;
        filter: blur(0.2px);
        transform: rotate(-14deg);
    }

    .stamp::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border: 2px solid #0000ff;
        opacity: 0.5;
        filter: blur(0.1px);
    }

    .progress-container {
        margin-bottom: 5px !important;
    }

    .progress-content {
        font-size: 9px;
    }

    .circle-container .progress-label {
        font-size: 14px;
    }

    .circle-container .circle-text {
        font-size: 17px;
    }

    .accordion {
        margin: 10px auto 0;
        z-index: 99999;
        position: relative;
        background: var(--bs-white);
    }

    .accordion__header:after {
        display: none !important;
    }

    .accordion__content {
        height: max-content !important;
        padding: 0 20px 20px 20px !important;
    }

    .footer {
        position: relative !important;
        display: block;
        font-size: 9px;
        padding: 10px 30px 0;
        max-width: 100%;
        overflow: hidden;
    }

    .footer .contents {
        width: 95%;
        margin: 0 auto;
    }

    .page-start,
    .section.page-start {
        padding-top: 110px !important;
        margin-top: 0 !important;
    }

    .page-start.letter {
        padding-top: 240px !important;
    }

    .page-break {
        page-break-after: always;
    }

    #report-details {
        margin-bottom: 30px;
    }

    .image__item {
        height: 160px;
    }
}
