@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html, body, .main{
    background: transparent !important;
}


.custom-width {
    width: 75%;
}

.custom-border {
    border-right: 1px solid rgb(180, 180, 176);
}

.custom-header-bg {
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0.86), transparent);
    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) */

.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;
}

.header-container {
    position: relative;
    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%;
    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);
}
.test {
    flex: 1;              /* 🔥 takes remaining space */
    overflow-y: auto;     /* 🔥 vertical scroll */
    padding-right: 5px;   /* optional (scroll space) */
    padding-bottom: 100px;
}

.test::-webkit-scrollbar {
    width: 6px;
    display: none;
}

.test::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.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.2);
    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-right {
    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;

    background-image: url('https://house-configurator-v1.darulonline.com/public/house-images/house4.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); /* 🔥 glass look */
    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;
}
.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;
}

@media screen and (max-width: 1170px) {
    .custom-width {
        width: 100%;
    }

    .custom-border {
        border: none;
        border-bottom: 1px solid rgb(180, 180, 176);
    }
}