/* ----------------------------------------------------------------
AI智慧搜屋使用的CSS
-----------------------------------------------------------------*/


@charset "UTF-8";
.chatArea {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    align-items: center;
}
.chatArea .objectsRow {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	overflow: hidden;
	padding: 1rem 2.5rem;
	justify-content: flex-start;
	height: fit-content;
	flex-wrap: wrap;
	width: 68%;
}
.chatRow{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0.5rem 1rem;
    align-items: flex-end;
    font-size: 1rem;
    width: 70%;
}
.userChat{
    justify-content: flex-end;
}
.userChat .chatMessage{
    background-color:rgb(248,249,250);
    padding: 0.5rem 1rem;
    border-radius: 1rem 1rem 0 1rem;
    border: solid 0.5px var(--cnvs-contrast-300);
}
.aiChat{
    justify-content: flex-start;
    justify-content: flex-start;
    color: var(--cnvs-themecolor) !important;
}
.aiChat .chatMessage{
    padding: 0.5rem 1rem;
    border:solid 0.5px var(--cnvs-themecolor) !important;
    border-radius: 1rem 1rem 1rem 0px;
    border: solid 0.5px var(--cnvs-contrast-300);
}
.chatAvatar{
    width: 25px;
}
.object-card-item:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}
.search-bar{
    font-size: 1rem;
}
.user-query{
    resize: vertical; /* 允許垂直調整大小 */
    white-space: pre-wrap; /* 保留換行與空格 */
    height: fit-content;
    resize: none;
    border: none;
}
.ct-green-button{
    min-width:fit-content!important;
}
.object-card-info{
    gap:0.3rem;
}
.pageImg{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0 0 0;
    flex-direction: column;
}
.pageImg img{
    width: 60%;
    max-width: 100%;
    height: auto;
    max-height: 150px;
}
.pageImg-text{
    font-size: 2rem;
    position: relative;
    top: -4rem;
    color: var(--cnvs-themecolor);
    display:flex;
    gap: 1rem;
    height: 1rem;
}
.input_section{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	align-self: stretch;
	overflow:visible;
    margin-top: 1rem;
}
.text-input-group {
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    gap: 8px;
    flex-direction: row;
    align-items: center;
    width: 70%;
    font-family: var(--bs-font-sans-serif);
    flex-wrap: wrap;
    border: 1px solid var(--cnvs-contrast-300);
    padding: 1rem;
    border-radius: 10px;
    justify-content: center;
}

/*pad*/
@media (max-width: 1024px) {
}
@media (max-width: 950px){
    .chatArea{
        min-height: 3rem;
        padding-top:1rem;
    }
    .page-search-section {
        padding: 0 1rem;
    }
    .condition-input-group{
        align-items: end;
    }
    .textOnly-title-section{
        padding: 1rem;
    }
    .pageImg{
        padding: 2rem 0 0 0;
    }

    .pageImg-text{
        flex-direction: column;
        font-size: 1.5rem;
        gap: 0.2rem;
        top: 0rem;
        height: fit-content;
    }
    .input_section{
        padding: 1rem;
    }
    .text-input-group{
        width: 100%;
    }
    .user-query{
        min-width: 50%!important;
    }
    .chatRow{
        width: 100%;
        align-items: flex-start;
    }
    .chatArea .objectsRow{
        display: flex;
        flex-direction: row;
        gap: 1rem;
        overflow: hidden;
        padding: 1rem 0 2rem 3rem;
        justify-content: flex-start;
        height: fit-content;
        flex-wrap: wrap;
        width: 100%;
    }
    .disabled{
        background-color: rgb(245 245 245);
        color: rgb(245 245 245);;
    }

}
@media (max-width: 780px) {

}


@media (max-width: 465px) {

}
