body.valuation-page {
    min-height: 100vh;
    color: #000;
    background-color: #d7dbd9;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    font-family: "Nokio", sans-serif;
    font-size: 14px;
    text-align: center;
}

.valuation-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.valuation-header-inner {
    min-height: 92px;
}

.valuation-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.valuation-title {
    color: #000;
    font-size: 1.15rem;
}

.language-button {
    min-width: 40px;
    padding: 0.2rem 0.45rem;
    color: #000;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.language-button.is-active,
.language-button:hover,
.language-button:focus {
    background: #000;
    color: #fff;
}

.valuation-main {
    min-height: calc(90vh - 92px);
}

.valuation-hero {
    padding: 2rem 1rem 1.5rem;
}

.valuation-heading {
    margin-bottom: 1.4rem;
    color: #000;
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 400;
}

.valuation-shield {
    display: block;
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    margin: 0 auto 0.5rem;
    object-fit: contain;
}

.address-form {
    max-width: 900px;
    margin: 0 auto;
}

.address-form .input-group-text,
.address-form .form-control {
    min-height: 38px;
    border-color: #d0d0d0;
    border-radius: 0;
}

.address-form .input-group-text {
    width: 40px;
    justify-content: center;
    color: #000;
    background: #fff;
}

.address-form .form-control {
    color: #000;
    font-family: inherit;
}

.address-form .form-control::placeholder {
    color: #777;
    opacity: 1;
}

.pac-container {
    z-index: 1100;
}

.cadastre-results {
    max-width: 900px;
    margin: 1rem auto 0;
    padding: 1rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
}

.cadastre-results h2 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cadastre-status {
    margin: 0 0 0.75rem;
}

.cadastre-status.is-error {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.75rem 0.9rem;
    color: #842029;
    background: #f8d7da;
    border-left: 4px solid #b02a37;
    line-height: 1.45;
}

.cadastre-status-icon {
    flex: 0 0 auto;
    font-size: 1.25rem;
    line-height: 1.35;
}

.cadastre-spinner {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.45rem;
    border: 2px solid #c7ccca;
    border-top-color: #000;
    border-radius: 50%;
    vertical-align: -0.1rem;
    animation: cadastre-spin 0.75s linear infinite;
}

@keyframes cadastre-spin {
    to {
        transform: rotate(360deg);
    }
}

.cadastre-list {
    display: grid;
    gap: 0.5rem;
}

.cadastre-unit-filter {
    display: grid;
    gap: 0.35rem;
    grid-column: 1 / -1;
    padding: 0.25rem 0 0.5rem;
}

.cadastre-unit-filter label {
    font-size: 0.85rem;
    font-weight: 600;
}

.cadastre-unit-filter input {
    min-height: 38px;
    padding: 0.45rem 0.65rem;
    border: 1px solid #c7ccca;
    font: inherit;
}

.cadastre-unit-filter select {
    min-height: 38px;
    padding: 0.45rem 0.65rem;
    border: 1px solid #c7ccca;
    background: #fff;
    font: inherit;
}

.cadastre-unit-headers,
.cadastre-option.cadastre-unit-option {
    display: grid;
    grid-template-columns: minmax(11rem, 2fr) minmax(6rem, 1.2fr) repeat(4, minmax(2.75rem, 0.6fr)) minmax(3.5rem, 0.7fr) minmax(8rem, 1.4fr);
    align-items: center;
    gap: 0.35rem;
}

.cadastre-unit-headers {
    padding: 0.35rem 0.75rem;
    color: #555;
    border-bottom: 2px solid #212529;
    font-size: 0.78rem;
    font-weight: 700;
}

.cadastre-option.cadastre-unit-option {
    width: 100%;
    text-align: left;
}

.cadastre-unit-option > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cadastre-unit-option small {
    display: block;
    margin-top: 0.15rem;
    color: #555;
    font-size: 0.75rem;
}

@media (max-width: 700px) {
    .cadastre-unit-headers {
        display: none;
    }

    .cadastre-option.cadastre-unit-option {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0.55rem 0.65rem;
        box-sizing: border-box;
    }

    .cadastre-unit-option > span {
        display: grid;
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: 0.4rem;
        align-items: baseline;
        padding: 0.12rem 0;
        font-size: 0.78rem;
    }

    .cadastre-unit-option > span::before {
        content: attr(data-label);
        color: #555;
        font-size: 0.68rem;
        font-weight: 700;
    }
}

.cadastre-option {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    color: #000;
    border: 1px solid #c7ccca;
    background: #fff;
    text-align: left;
}

.cadastre-photo {
    flex: 0 0 72px;
    width: 72px;
    height: 48px;
    margin-right: 0.75rem;
    object-fit: cover;
    background: #e9ecef;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cadastre-photo:hover {
    position: relative;
    z-index: 2;
    transform: scale(2.75);
    box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.3);
}

.cadastre-option-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cadastre-option:hover,
.cadastre-option.is-selected {
    border-color: #000;
    background: #eef0ef;
}

.cadastre-option span {
    font-size: 0.85rem;
}

.continue-valuation {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: #fff;
    background: #c45132;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.continue-valuation:hover,
.continue-valuation:focus {
    color: #fff;
    background: #a83f27;
    transform: translateY(-1px);
}

.continue-valuation:focus-visible {
    outline: 3px solid rgba(196, 81, 50, 0.35);
    outline-offset: 3px;
}

.continue-valuation-icon {
    font-size: 1.25rem;
    animation: continue-valuation-pulse 1.8s ease-in-out infinite;
}

@keyframes continue-valuation-pulse {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateX(0.2rem);
        opacity: 1;
    }
}

.valuation-form {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
    text-align: left;
}

.valuation-form .modal-content {
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.valuation-form .modal-header,
.valuation-form .modal-body {
    padding: 1.25rem 1.5rem;
}

.valuation-form .modal-title {
    font-size: 1.2rem;
}

.property-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin-top: 0.45rem;
    color: #555;
    font-size: 0.9rem;
}

.property-summary span {
    font-family: monospace;
}

.property-rc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.copy-property-rc {
    padding: 0.1rem 0.25rem;
    color: #555;
    border: 0;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
}

.copy-property-rc:hover,
.copy-property-rc:focus,
.copy-property-rc.is-copied {
    color: #000;
}

.valuation-form .fieldWrapper {
    padding: 0.5rem;
}

.valuation-form .fieldWrapper label {
    display: inline;
    margin-bottom: 0.35rem;
}

.valuation-form .fieldWrapper > .text-danger.mdi-asterisk {
    display: inline;
    margin-right: 0.25rem;
}

.valuation-form .fieldWrapper > .form-control {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
}

.valuation-form .fieldWrapper .form-control {
    min-height: 38px;
}

.valuation-result {
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 1.5rem 1.1rem;
    background: rgba(255, 255, 255, 0.96);
    text-align: left;
}

.valuation-form .valuation-result {
    max-width: none;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: transparent;
}

.valuation-form .valuation-result h2 {
    margin-left: 0;
}

.valuation-form .valuation-result .valuation-progress {
    margin-right: 0;
    margin-left: 0;
}

.valuation-result h2 {
    font-size: 1.2rem;
}

#valuation-result-content {
    white-space: pre-wrap;
}

.valuation-error {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    color: #6f1d1b;
    border-left: 4px solid #c0392b;
    background: #fbe9e7;
    white-space: normal;
}

.valuation-error strong,
.valuation-error p,
.valuation-error small {
    display: block;
}

.valuation-error p {
    margin: 0.45rem 0;
}

.restart-valuation {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.8rem;
    padding: 0.45rem 0.7rem;
    color: #fff;
    border: 0;
    background: #6f1d1b;
    font: inherit;
}

.restart-valuation:hover,
.restart-valuation:focus-visible {
    background: #481413;
}

.valuation-progress {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin: 1rem -1.5rem 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.valuation-progress img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.valuation-address {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    background: #e9ecef;
    color: #495057;
    font-size: 0.85rem;
    text-align: center;
}

.valuation-rating {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #dee2e6;
}

.valuation-stars {
    display: flex;
    color: #ced4da;
    font-size: 2rem;
    letter-spacing: 0.15rem;
}

.valuation-star {
    padding: 0 0.1rem;
    color: inherit;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: 1;
}

.valuation-star:hover,
.valuation-star.is-selected {
    color: #adb5bd;
}

.valuation-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: #fff;
    background: #212529;
}

.valuation-price-card {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    padding: 1.25rem 0.75rem;
    text-align: center;
}

.valuation-price-card .mdi {
    font-size: 2.5rem;
}

.valuation-price-card strong {
    font-size: 1.5rem;
}

.valuation-price-card small {
    opacity: 0.8;
}

.valuation-facts {
    padding: 0.75rem 0 0;
    text-align: center;
}

.valuation-facts p {
    margin: 0.25rem 0;
}

.valuation-rating input {
    width: min(100%, 700px);
    padding: 0.65rem;
    border: 1px solid #ced4da;
}

.valuation-rating select {
    width: min(100%, 700px);
    padding: 0.65rem;
    border: 1px solid #ced4da;
    background: #fff;
}

.valuation-rating-submit {
    padding: 0.55rem 1rem;
    color: #fff;
    border: 0;
    background: #6c757d;
}

.valuation-rating-submit:hover,
.valuation-rating-submit:focus {
    background: #212529;
}

.valuation-rating-status {
    min-height: 1.25rem;
    color: #198754;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .valuation-price-grid {
        grid-template-columns: 1fr;
    }

    .valuation-progress {
        margin-right: -1rem;
        margin-left: -1rem;
    }
}

.valuation-copy {
    padding: 0.8rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.42);
}

.valuation-copy p {
    margin: 0.6rem auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.valuation-copy .solution-line {
    margin-top: 1rem;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.valuation-benefits {
    padding: 1.2rem 1rem;
}

.valuation-badge {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    color: #000;
    background: #d7dbd9;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.2;
}

.portal-return {
    display: inline-block;
    padding: 0.55rem 0.8rem;
    color: #fff;
    background: #64788a;
    text-decoration: none;
}

.portal-return:hover,
.portal-return:focus {
    color: #fff;
    background: #000;
}

@media (max-width: 575.98px) {
    .valuation-header-inner {
        min-height: 110px;
    }

    .valuation-main {
        min-height: calc(90vh - 110px);
    }

    .valuation-header-inner > .container {
        flex-direction: column;
        gap: 0.4rem;
    }

    .valuation-hero {
        padding-top: 1.5rem;
    }
}
