@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: Noto-Sans;
    src: url('/assets/Noto_Sans/NotoSans-Regular.ttf');
}

html,
body {
    background: transparent !important;
    font-family: Noto-Sans;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}
body, html, *{
     /* Firefox */
    scrollbar-width: none;

    /* IE & Edge (old) */
    -ms-overflow-style: none;
}
.open-configuration.disabled {
    cursor: default !important;
    pointer-events: none;
}

.open-configuration.disabled .house-card {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    opacity: 0.7;  /* optional - disabled look */
}
.uiWrapper{
    background: #f2f2f2;
    padding: 0 15px;
}
.house-card {
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.house-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.house-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.house-card-link:hover {
    color: inherit;
}

.house-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #000;
}

.house-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #f1f1f1;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    color: #555;
}

.house-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.house-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3rem;
    background: linear-gradient(to top, #fff, transparent);
}

.house-image {
    height: 8rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.house-card:hover .house-image {
    transform: scale(1.05);
}

.house-description {
    font-size: 0.875rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.stat-item {
    font-size: 0.75rem;
}

.stat-value {
    font-weight: 600;
    color: #000;
    font-size: 0.875rem;
}

.stat-label {
    color: #999;
}

.stat-divider {
    border-right: 1px solid #dee2e6;
}

.btn-configure {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .house-card {
        padding: 1.75rem;
    }

    .house-title {
        font-size: 1.375rem;
    }

    .house-image {
        height: 9rem;
    }

    .house-description {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .house-card {
        padding: 2rem;
    }

    .house-title {
        font-size: 1.5rem;
    }

    .house-image {
        height: 11rem;
    }

    .btn-configure {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    .house-card {
        padding: 2.25rem;
    }

    .house-image {
        height: 13rem;
    }

    .btn-configure {
        font-size: 1.125rem;
    }
}

.custom-width {
    width: 75%;
}

.city-view {
    position: relative;
    width: 100%;
    height: 100vh;
    /* overflow: hidden; */
    /* Firefox */
    scrollbar-width: none;

    /* IE & Edge (old) */
    -ms-overflow-style: none;
    background: transparent !important;
}

.custom-border {
    border-right: 1px solid rgb(180, 180, 176);
}

.custom-header-bg {
    background: white;
    backdrop-filter: blur(20px) brightness(1.25);
    -webkit-backdrop-filter: blur(20px) brightness(1.25);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.424);
    color: gray;
}

/* Tabs styling (since DaisyUI removed) */
.open-configuration {
    cursor: pointer;
}

.tab-btn {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    padding: 20px 0;
    line-height: 72px;
}

.main {
    position: relative;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    /* Firefox */
    scrollbar-width: none;

    /* IE & Edge (old) */
    -ms-overflow-style: none;
}

.header-container {
    position: absolute;
    z-index: 10;
}

.iframe-container {
    position: absolute;
    top: 80px;
    /* header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.configurator-container {
    border-radius: 10px;
    position: absolute;
    /* width: 25%; */
    width: 425px;
    right: 30px;
    top: 150px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* 🔥 Frosted glass effect */
    background: rgba(240, 240, 240, 0.6);
    /* greyish transparent */
    backdrop-filter: blur(20px) brightness(1.1);
    -webkit-backdrop-filter: blur(20px) brightness(1.1);
    height: 100%;
    max-height: 800px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.configuration-options {
    flex: 1;
    /* 🔥 takes remaining space */
    overflow-y: auto;
    /* 🔥 vertical scroll */
    /* padding-right: 5px; */
    /* optional (scroll space) */
    /* padding-bottom: 100px; */
}

/* .configuration-options::-webkit-scrollbar {
    width: 6px;
    display: none;
}

.configuration-options::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
} */
/* Hide scrollbar for all browsers */
.configuration-options {
    /* Firefox */
    scrollbar-width: none;

    /* IE & Edge (old) */
    -ms-overflow-style: none;
}

/* Chrome, Safari, Opera */
.configuration-options::-webkit-scrollbar {
    display: none;
}
.tab-component {
    width: 100%;
    border: 1px solid #e1dcdc;
    padding: 10px;
}

.color-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.color-item.active {
    transform: scale(1.3);
    box-shadow: 2px 2px 6px #c3b9b9;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}



.tab-btn:hover {
    color: black;
}

.tab-btn.active {
    color: black;
}

/* Active underline */
.tab-btn .active-tab {
    position: absolute;
    width: 0;
    height: 3px;
    background-color: black;
    bottom: 0;
    left: 0;
}

.tab-btn.active .active-tab {
    width: 100%;
}

.custom-margin-left {
    margin-left: 5rem;
}

.custom-gap {
    gap: 4rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Label container */
.custom-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

/* Hide default radio */
.custom-radio input {
    display: none;
}

/* Outer circle */
.radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 50%;
    position: relative;
}

/* Inner dot */
.radio-circle::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: black;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.2s;
}

/* Active state */
.custom-radio input:checked+.radio-circle::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Text */
.radio-text {
    font-size: 14px;
    color: #555;
}

/* Active background */
.custom-radio input:checked~.radio-text {
    color: black;
}

.custom-radio input:checked {}

/* Hover */
.custom-radio:hover {
    border-color: #aaa;
}

/* Full width sticky wrapper */
.summary-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    pointer-events: none;
}

.summary-container {
    width: 100%;
    /* height: 160px; */
    height: 70px;
    /* background-image: url('https://house-configurator-v1.darulonline.com/public/house-images/house4.png'); */
    background-image: url('../assets/images/bg.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* 🔥 CHANGE */
    padding-top: 30px;
    /* 🔥 PUSH BUTTON UP */
    /* border-top-left-radius: 40px;
    border-top-right-radius: 40px; */
    position: relative;
}

.summary-btn {
    pointer-events: auto;
    width: 160px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: 0.2s;
    /* margin: 20px 0; */
    margin: 15px 0;
}

.selection-button {
    background-color: #8b8b8c;
    color: white;
    border: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.small-devices-backBtn {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

@media screen and (max-width: 1170px) {
    .custom-width {
        width: 100%;
    }

    .custom-border {
        border: none;
        border-bottom: 1px solid rgb(180, 180, 176);
    }

    .configurator-container {
        width: 100%;
        position: unset;
        height: 50%;
    }

    .main {
        display: flex;
        justify-content: end;
        flex-direction: column;
    }

    .tab-btn {
        line-height: 25px;
        padding: 10px 0;
    }

    .custom-margin-left {
        margin-left: 0;
    }

    .small-devices-backBtn {
        display: block;

    }

    .backBtn:not(.small-devices-backBtn) {
        display: none;
    }
}