.header {
    background-color: #1A1A1A;
}

body{
    overflow-x: hidden;
    background: #f8fafc !important;
    position: relative;
}

.header input{
    font-size: 16px;
    padding: 3px 5px;
    border: none;
    border-radius: 4px;
    outline: none;
}

.header button{
    background: #FFFFFF;
    border: none;
    padding: 3px 24px;
    border-radius: 4px;
    color: #525266;
}

.action-mobile {
    cursor: pointer;
}

.content__left-unit--text {
    font-weight: bold;
}

.content__left-unit--option {
    cursor: pointer;
    outline: none;
    padding: 0px 10px;
}

.content__left-list {
    background: #D9D9D9;
    padding: 20px 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    width: fit-content;
}

.content__left-list--item p{
    font-weight: bold;
}

.content__left-list-answer--item {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
}

.content__left-list-answer--item input {
    font-size: 16px;
    cursor: pointer;
    padding-right: 10px!important;
    display: block;
}

input[name="dia_chi"] {
    height: 5rem;
}

#roofSelect {
    width: 300px;
}

.content__left-list--item form {
    
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:5px;
}
.input-top {
  height: 100px;
  vertical-align: top;
  padding-top: 4px;
}

input, select {
    border-radius: 15px;
    text-align: center;
    border:1px solid #747474;
}

textarea {
    border:1px solid #747474;
    text-align: left;
}

input[name="dia_chi"] {
    text-align: left;
    vertical-align: top;
}

.content__left-list--item {
    min-width: 600px;
    max-width: 600px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.roof_size {
    display: flex;
    flex-direction: row;
    gap:5px;
}

button[type="submit"] {
    border-radius: 15px;
}

#save_button {
    width: 200px;
}


.content__left-list-answer--item label {
    cursor: pointer;
    margin-bottom: 0;
    padding-left: 3px!important;
    font-size: 14px;
}

.content__left-list-answer {
    background: #fff;
    padding: 15px 2px;
    border-radius: 10px;
    margin: 17px 1px !important;
}

.infor-wrapper {
    width: 1800px;
}

label {
    white-space:nowrap ;
}

.content__action{
    text-align: center;
    padding: 10px 0px;
    width: 65vw;   
    margin-top:20px;
}

.content__action--requote{
    border: none;
    outline: none;
    padding: 9px 23px;
    background: #dfd1d1;
    border-radius: 4px;
    color: #333!important;
    font-weight: bold;
    text-decoration: none!important;
}

.content__action--quote{
    background: #F01D26;
    border: none;
    color: #fff!important;
    padding: 9px 32px;
    border-radius: 5px;
    text-decoration: none!important;
}

.content__left {
    height: 100%;
}

.content__left .back{
    text-decoration: none;
}

.content__left .back span{
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.content__left--title {
    background: #F0F3F5;
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0px;
    font-weight: bold;
}

.content__left--content {
    border: 1px solid #CCCCCC;
}

.content__left--content--item-1 {
    background: #CCCCCC;
    padding: 14px;
    border: 1px solid #F0F3F5;
    font-weight: bold;
}

.content__left--content--item-3 {
    padding: 14px;
    font-weight: bold;
}

.content__left--content--item-2 {
    border: 1px solid #CCCCCC;
    display: flex;
    align-items: center;
    border-radius: 0px;
}

.content__left--price span:first-child{
    font-weight: bold;
}

.content__left--price span:last-child{
    color: #CC2200;
    font-weight: bold;
}

.content__left-price--action a{
    text-decoration: none!important;
    font-weight: bold;
    color: #CC2200!important;
    padding: 0px 5px;
}

.content__left--title-page3 p {
    color: #CC2200;
    font-weight: bold;
    font-size: 24px;
    padding: 20px 0px;
}

.content__left--description-page3{
    border-bottom: 2px solid #CC2200;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.content__left--description-page3 span:first-child{
    background-color: #F2F2F2;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 21px;
}

.content__left--description-page3 span:last-child{
    font-weight: bold;
    font-size: 29px;
}

#loadTypeList {
    display: flex;
    flex-wrap: wrap;
}

.content__left-list-answer--item {
    flex: 1 1 100%; /* Mặc định mỗi item chiếm 100% chiều ngang */
    order: 0; /* Thứ tự mặc định */
    font-size: 24px;
}

.content__left-content-page3 p{
    color: #525266;
    font-size: 20px;
}

#content-page3 .content__left-note{
    font-size: 20px;
}

#content-page3 .content__left--price{
    font-size: 20px;
}

#content-page3 .content__left--content--item{
    font-size: 20px;
}

.content__left-content-page3 p:first-child {
    color: #CC2200;
    font-size: 24px;
    font-weight: bold;
}

.menu-mobile {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: #333;
    z-index: 10000;
    width: 80%;
    transform: translateX(-1000%);
    transition: transform 0.3s ease;
}

.menu-mobile.active {
    transform: translateX(-25%);
}

.menu-mobile form{
    display: flex;
    flex-direction: column;
    padding: 10px 30px;
}

.menu-mobile input {
    padding: 8px 20px;
}

.menu-mobile a {
    color: #fff!important;
    text-decoration: none!important;
}

.menu-mobile button {
    font-weight: bold;
}

.menu-mobile .closes {
    cursor: pointer;
    padding: 20px;
    text-align: end;
}

.footer{
    text-align: center;
    background: #fff;
    height: 70px;
    margin-top: 35px;
}

.footer a{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    color: #333!important;
    text-decoration: none!important;
}

input[type="radio"]:disabled + label {
    color: #c4c4c4;
    cursor: default;
}



.image-3d {
    position: absolute;
    top: 20px;
    right: 20px;
    
    width: 100%;
    height: 100%;
    background: #D1D2D3;
    z-index: 999;
    background:none;
    pointer-events: none;
    display: none;
}

.image-3d .back {
    display: none;
    z-index: 999;
}

.image-3d a{
    color: #333 !important;
    text-decoration: none !important;
    background: #fff;
    padding: 5px 12px;
    border-radius: 25px;
    display: block;
    width: 100px;
    font-weight: bold;
    margin: 10px;
    text-align: center;
    pointer-events: auto;
}

.image-3d .icon-3d img{
    padding: 5px 0px;
    cursor: pointer;
}


.image-3d .icon-3d {
    position: absolute;
    margin: 0px;
    top: 0px;
    right: 0px;
    pointer-events: auto;
}


#threejs-container {
    position:absolute;
    border-radius: 10px;
    top: 15vh;
    left: 10px;
    overflow: hidden;
    z-index: 998;
    width: 35%;
    height: 50vh;
    display: flex;               /* Bật Flexbox */
    justify-content: center;     /* Căn giữa theo chiều ngang */
    align-items: center;         /* Căn giữa theo chiều dọc */
    background-color: #d1d2d3;
}

#progressBar {
    width: 260px;
    height: 20px;
}

#content-page3 {
    visibility: hidden; 
    position: absolute; 
    /* overflow: hidden; */
    top: -99999px;
}

#progressBarContainer {
    position:absolute;
    display: none;
    top: 50vh;
    left: 55vw;
    z-index: 9999;
    border-radius: 10px;
    background-color: #fff;
    padding: 20px;
    max-width: 300px;
}

canvas {
    position: absolute;
}


.username, .password, .loginButton {
    display: none;
}

@media screen and (max-width:820px) {
    #threejs-container {
        display: none;
        min-width: 100vw;
        border-radius: 0px;
        top: 0px;
        left: 0;
        min-height: 100%;
        transform: translate(0px,65px);
    }

    #progressBarContainer {
        top: 70vh;
        left: 50vw;
    }

    .image-3d .icon-3d {
        top: 0px;
        left: 92vw;
        top: 50px;
    }

    .image-3d .back {
        display: block;
        position: absolute;
        left:5vw;
        top:50px;
    }
}