@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html,
body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    font-family: 'Ubuntu Mono', monospace;
    -webkit-overflow-scrolling: touch;
}

#maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 1.5rem;
    z-index: 10000;
    padding: 20px;
}

#maintenance-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#maintenance-overlay p {
    max-width: 600px;
    font-size: 1.2rem;
    color: #ccc;
}

#maintenance-overlay button {
    margin-top: 30px;
    padding: 10px 24px;
    font-size: 1rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.main_container {
    display: flex;
    flex: 1;
    position: relative;
}

.container_left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container_top {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid lightgray;
}

.container_top.hidden {
    display: none;
}

.container_content {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.container_content canvas {
    position: absolute;
    touch-action: none;
    width: 100%;
    height: 100%;
    display: block;
}

.container_right {
    background-color: white;
    width: 400px;
    flex-shrink: 0;
    position: relative;
    border-left: 1px solid lightgray;
    border-top: unset;
    max-height: 100vh;
}

.container_right.minimized {
    width: 0;
    height: 100vh;
}

.button_toggle_hud {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0;
    /* Prevent text baseline interference */
    background-color: gray;
    color: white;
    border: none;
    cursor: pointer;
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    border: 1px solid white;
}

.button_toggle_hud i {
    font-size: 32px;
    /* Adjust as needed */
}


.container_overlap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.container_overlap.hidden {
    display: none;
}

.loading_spinner {
    font-size: 16px;
    color: black;
    animation: pulse 1s infinite;
}

.haus-katalog-loader {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border: 1px solid lightgray;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    pointer-events: none;
}

.spinner-graphic {
    width: 18px;
    height: 18px;
    border: 3px solid #ccc;
    border-top-color: #007BFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}


@keyframes pulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    justify-content: flex-end;
}


.logo {
    height: 35px;
    margin-right: 10px;
}

.logo_mobile {
    height: 35px;
    margin-right: 10px;
    display: none;
}

.top-input {
    padding: 5px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 35px;
}

.button {
    padding: 6px 10px;
    font-size: 16px;
    border: 1px solid gray;
    background-color: white;
    color: black;
    border-radius: 4px;
    cursor: pointer;
    height: 35px;
    white-space: nowrap;
    /* Prevents wrapping */
    display: inline-flex;
    /* Aligns icon and text inline */
    align-items: center;
    /* Vertically centers contents */
    gap: 6px;
    /* Space between icon and text */
}

.button:disabled {
    border-color: #ccc;
    color: #aaa;
    background-color: #f9f9f9;
    cursor: not-allowed;
    opacity: 0.6;
}

.black_button {
    background-color: black;
    color: white;
}

.button_full {
    background-color: black;
    color: white;
}

.button:hover {
    background-color: lightgray;

}


/* --- Unified input style (matching dropdown) --- */
input[type="text"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: white;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    border-color: #007BFF;
    outline: none;
}

/* --- Label spacing --- */
.card label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
    color: #333;
}

/* --- Input row for grouped inputs --- */
.input-row {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.input-row>div {
    flex: 1;
}



.product-checkbox-list label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    gap: 10px;
}

.product-checkbox-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007BFF;
}


.product-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.product-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
}

.product-row a {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
    white-space: nowrap;
}

.product-row a:hover {
    text-decoration: underline;
}


#container_parcel_dropdown {
    position: absolute;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    max-height: 250px;
    width: 100%;
    max-width: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
    top: calc(100% + 5px);
    /* cleaner than 115% */
    left: 0;
    transform: none;
}


/* Dropdown item styling */
#container_parcel_dropdown .dropdown-item {
    display: flex;
    /* Align checkbox and label horizontally */
    align-items: center;
    /* Vertically center items */
    padding: 12px;
    /* Larger padding for easy tapping */
    cursor: pointer;
    /* Pointer cursor for better interactivity */
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    /* Smooth effects */
    border-radius: 4px;
    /* Rounded corners for modern look */
    background-color: #f9f9f9;
    /* Light background for items */
    margin-bottom: 6px;
    /* Spacing between items */
    font-size: 16px;
    /* Slightly larger font for better readability */
}

/* Hover effect for dropdown items */
#container_parcel_dropdown .dropdown-item:hover {
    background-color: #e0f7fa;
    /* Light teal hover background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Slight shadow for hover */
}

/* Checkboxes */
#container_parcel_dropdown .dropdown-item input[type="checkbox"] {
    width: 20px;
    /* Larger checkbox for easier clicking */
    height: 20px;
    /* Match width for square shape */
    margin-right: 12px;
    /* Space between checkbox and text */
    accent-color: #007BFF;
    /* Modern blue checkbox accent */
}

/* Scrollbar styling */
#container_parcel_dropdown::-webkit-scrollbar {
    width: 8px;
    /* Thin scrollbar width */
}

#container_parcel_dropdown::-webkit-scrollbar-thumb {
    background-color: #ccc;
    /* Subtle scrollbar thumb */
    border-radius: 4px;
    /* Rounded scrollbar */
}

#container_parcel_dropdown::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
    /* Darker thumb on hover */
}


/* --- Tab Container --- */
.tabs {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* --- Tab Header (matches container_top height) --- */
.tab-header {
    display: flex;
    height: 60px;
    border-bottom: 1px solid #ccc;
    background-color: #f5f5f5;
}

/* --- Tab Buttons --- */
.button_tab {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.2s ease;
    border-bottom: 2px solid transparent;
    color: #333;
}

.button_tab:hover {
    background-color: #eaeaea;
}

.button_tab.active {
    border-bottom: 2px solid black;
    background-color: white;
}

/* --- Tab Button Icons (Phosphor) --- */
.button_tab i {
    font-size: 16px;
    line-height: 1;
}

/* --- Tab Content Wrapper --- */
.tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    padding-bottom: 80px;
    height: calc(100% - 60px);
    /* subtract tab header height */
    background-color: white;
}

/* --- Tab Panels --- */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Optional: Style links in tab content */
.tab-panel a {
    color: #007BFF;
    text-decoration: none;
}

.tab-panel a:hover {
    text-decoration: underline;
}

/* Optional: Basic image responsiveness */
.tab-panel img {
    max-width: 100%;
    height: auto;
    display: block;
}


.card {
    background-color: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    max-width: 100%;
    border: 1px solid lightgray;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 15px;
    color: #555;
}


.dropdown-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-select {
    position: relative;
    width: 100%;
}

.dropdown {
    width: 100%;
    padding: 10px 40px 10px 10px;
    /* space on the right for the chevron */
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-bottom: 10px !important;
}


.dropdown-with-auto {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-with-auto .custom-select {
    flex: 1;
}

.dropdown-with-auto .auto-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}


.chevron {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #555;
}

.category {
    border: 1px solid gray;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.price-summary {
    margin-top: 15px;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    color: #333;
}

.price-row {
    display: flex;
    justify-content: space-between;
}

.price-row.total {
    border-top: 1px solid #aaa;
    padding-top: 10px;
    font-size: 16px;
}

#label_parcel_numbers {
    display: block;
    max-width: 200px;
    white-space: normal;
    word-break: break-word;
    text-align: right;
}

#label_category {
    display: block;
    max-width: 200px;
    white-space: normal;
    word-break: break-word;
    text-align: right;
}

.label_help_contact {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}




.auto-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    user-select: none;
}

.slider-value-display {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}


.accordion {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.accordion-header {
    background-color: #f7f7f7;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #eaeaea;
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.accordion-content {
    display: none;
    flex-direction: column;
    padding: 16px;
    background-color: white;
    border-top: 1px solid #ccc;
}

.accordion.open .accordion-content {
    display: flex;
}

.accordion.open .accordion-icon {
    transform: rotate(45deg);
}


.accordion-content label {
    margin-top: 18px;
    /* adds space *above* each label */
    display: block;
    /* ensures margin applies properly */
}

.accordion-content label:first-of-type {
    margin-top: 0;
    /* no top margin on the first label in the section */
}

.accordion-inner {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.accordion-inner-header {
    background-color: #f7f7f7;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-inner-header:hover {
    background-color: #eaeaea;
}

.accordion-inner-icon {
    font-size: 20px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.accordion-inner.open .accordion-inner-icon {
    transform: rotate(45deg);
}

.accordion-inner-content {
    display: none;
    flex-direction: column;
    padding: 16px;
    background-color: white;
    border-top: 1px solid #ccc;
}

.accordion-inner.open .accordion-inner-content {
    display: flex;
}

.inner-modell-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}


.ios-toggle-wrapper {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ios-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    cursor: pointer;
}

.ios-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-switch .slider {
    position: relative;
    width: 42px;
    height: 24px;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
}

.ios-switch .slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.ios-switch input:checked+.slider {
    background-color: #4cd964;
}

.ios-switch input:checked+.slider::before {
    transform: translateX(18px);
}

.ios-switch .label-text {
    user-select: none;
}


.container_overlap {
    display: flex;
    flex-direction: column;
}

#map_canvas {
    flex: 1;
    width: 100%;
    height: auto;
    /* Allow height to be controlled by flexbox */
}

.map-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    height: 60px;
    width: 100%;
    background-color: white;
    border-top: 1px solid lightgray;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.map-button {
    padding: 5px;
    font-size: 16px;
    border: 1px solid gray;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.map-button:hover {
    background-color: #e0e0e0;
}

#error-message {
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid black;
    padding: 16px 28px;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90%;
}

.house-model-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.camera-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
}

.camera-button {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
}

.toggle-container {
    display: flex;
    justify-content: space-between;
    /* ← pushes toggle to the right */
    align-items: center;
    width: 100%;
}

.toggle-label {
    font-size: 14px;
    white-space: nowrap;
}



.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.switch input:checked+.slider {
    background-color: #4cd964;
}

.switch input:checked+.slider::before {
    transform: translateX(20px);
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    /* Adds spacing between label and input */
}

.form-group.notice {
    text-align: center;
    color: red;
    font-weight: normal;
}


.modell-card {
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.modell-card:hover {
    border-color: #007BFF;
}

.modell-card.selected {
    border-color: #007BFF;
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: #f5f5f5;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modell-card-title {
    padding: 6px 8px;
    font-size: 14px;
    text-align: center;
    color: #333;
}

.modell-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    overflow-y: auto;
    max-height: 300px;
    /* ✅ Adjust this value as needed */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}

/* Optional: make scrollbar prettier */
.modell-gallery::-webkit-scrollbar {
    width: 6px;
}

.modell-gallery::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.modell-card-price {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-top: 4px;
}

.modell-card-link {
    display: block;
    text-align: center;
    margin-top: 6px;
    font-size: 13px;
    color: #007BFF;
    text-decoration: none;
}

.modell-card-link:hover {
    text-decoration: underline;
}

.info-icon {
    background: none;
    border: none;
    font-size: 14px;
    padding: 4px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

.info-box {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 250px;
    z-index: 1000;
    display: none;
    color: gray;
}

.scroll-table-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.scroll-table {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fafafa;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scroll-table .table-header {
    background-color: #eee;
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 1px solid #ccc;

    position: sticky;
    top: 0;
    z-index: 2;
    /* Ensures it stays above rows */
    background-color: #eee;
    /* Reinforce background to avoid overlap */
}

.table-header-average {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.scroll-table .table-body {
    padding: 3px;
}

.scroll-table .table-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.scroll-table .cell {
    flex: 1;
    padding: 0 6px;
    word-break: break-word;
    text-align: right;

}

.kostenrahmen-table .table-row .cell:nth-child(1) {
    flex: 0 0 30px !important;
    text-align: center;
}

.kostenrahmen-table .table-row .cell:nth-child(2) {
    flex: 2;
}




.kostenrahmen-table .cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    border: 1px solid lightgray;
}


.btn-unlock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid white;

    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;

    background-color: #4cd964;
    color: white;
    border-radius: 4px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-unlock i {
    font-size: 16px;
}

.btn-unlock:hover {
    background-color: #e0e0e0;
    border-color: #999;
}

.btn-unlock:active {
    background-color: #d6d6d6;
    border-color: #777;
}


.button_inputs {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.button-export {
    width: 100%;
    justify-content: center;
}

.cell.dummy-value {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.cell.dummy-value.unlocked {
    filter: none;
    pointer-events: auto;
    user-select: auto;
    opacity: 1;
}

.btn-unlock.button_purchase_geodata {
    background-color: white;
    margin-bottom: 10px;
    color: #4cd964;
    border: 1px solid #4cd964;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-unlock.button_purchase_geodata i {
    font-size: 18px;
    color: #4cd964;
}

.loading-placeholder .cell {
    font-style: italic;
    color: #888;
    user-select: none;
    pointer-events: none;
}


.viz-screenshot-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: auto;
}

/* Dropdown & Textareas */
.viz-screenshot-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.viz-screenshot-container label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
}

.viz-screenshot-container select,
.viz-screenshot-container textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    resize: vertical;
}

/* Image preview */
.house-model-preview {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #eee;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.full-width-button {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    background-color: #333;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.full-width-button:hover {
    background-color: #000;
}

textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    resize: vertical;
    min-height: 120px;
}

.ai-button-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
}

.ai-button-row .button {
    flex: 1;
    padding: 6px 8px;
    /* reduce horizontal padding */
    font-size: 14px;
    /* optional: smaller text if needed */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-content: center;
}

.product-summary-list {
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}



@media (max-width: 1200px) {

    .modell-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }


    .map-toolbar {
        justify-content: space-between;
        padding: 8px 12px;
        height: auto;
        flex-wrap: wrap;
    }

    .map-button {
        flex: 1;
        min-width: 80px;
    }

    .container_overlap {
        flex-direction: column-reverse;
        /* Moves toolbar to top */
    }

    .logo {
        height: 35px;
        margin-right: 10px;
        display: none;
    }

    .logo_mobile {
        height: 35px;
        margin-right: 10px;
        display: block;
    }

    #container_top {
        padding: 0 5px;

    }

    #input_address {
        width: 50%;
    }

    #input_parcel_names {
        width: 30%;
    }

    .main_container {
        flex-direction: column;
    }

    .container_right {
        width: 100%;
        height: 50vh;
        left: 0;
        right: 0;
        border-top: 1px solid lightgray;
        border-left: unset;
    }

    .container_right.minimized {
        height: 0;
        width: 100vw;
    }

    .button_toggle_hud {
        left: 30px;
        top: calc(-70px - env(safe-area-inset-bottom, 0));
        transform: translateX(-50%);
        z-index: 100;
    }

    .label_help_contact {
        display: none !important;
    }

    .button_hide_on_mobile {
        display: none;
    }

    .tab-content {
        padding-bottom: 80px;
    }
}