
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    max-height: 999999px
}

/* -----------Header--------- */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    padding: 20px;
    height: 80px;
    z-index: 100;
    background-image: url("../images/header/header_bg.png");
    background-repeat: no-repeat;
    background-position: right;
    background-color: white;
    z-index: 9999999;
}


.header .yuantaLogo a {
    display: inline-block;
    width: 198px;
    height: 40px;
    background-image: url("../images/header/HeaderLogo.svg");
    background-size: 100% auto;
    background-repeat: no-repeat;
}


/* -----------Wrapper--------- */

.wrapper{
    width: 100%;
}

/* -----------chip--------- */
.chip {
    display: inline-block;
    padding: 4px 4px;
    background-color: #EE6B69;
    color: white;
    border-radius: 24px;
    font-size: 24px;
}
/* -----------title--------- */
.title{
    display: flex;
    gap: 20px;
    color: #ED524F;
    padding: 16px 40px;
    background-color: #FFECEC;
    box-shadow: 4px 4px 0px 0px #E9AAAA;
    width: fit-content;
    margin: 0 auto;
    border-radius: 40px 40px 0px 40px;
    z-index: 9999;
    position: relative;
}

.title h1 br{
    display: none;
}
/* -----------button--------- */



.main-button{
    display: flex;
    justify-content: center;
    padding: 20px 40px;
    font-size: 24px;
    gap: 16px;
    border-radius: 100px;
    background-color: #E95B58;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.main-button:hover {
    background-color: #d43330;
}

/* -----------Footer--------- */

.footer {
    width: 100%;
    background-color: #007fe0;
    height: auto;
    padding: 16px 0px;
}
.footer a {
    color: white
}

.footerCont {
    color: white;
    margin: 0 auto;
	text-align: center;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 8px 0;
}

.contWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* -----------Table--------- */
.my-table {
    border-collapse: separate; 
    border-spacing: 0; 
    width: 100%;
    border: 1px solid #E9E9E9; 
    border-radius: 24px; 
    overflow: hidden; 
    margin-top: 20px;
  }
  
  .my-table th,
  .my-table td {
    border-bottom: 1px solid #E9E9E9;
    border-right: 1px solid #E9E9E9;
    padding: 12px 16px;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
  }
  
  .my-table tr:last-child th,
  .my-table tr:last-child td {
    border-bottom: none;
  }
  
  .my-table th:last-child,
  .my-table td:last-child {
    border-right: none;
  }
  
  .my-table thead th {
    background-color: #F5F5F5;
    color: black;
    font-weight: 500;
  }
  
  .my-table br {
    display: none;
  }
  


/* -----------gototop--------- */
.goTop {
    display: none;
    position: fixed;
    z-index: 11;
    right: 50px;
    bottom: 24px;
    opacity: .7;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background-image: url("../images/side/goTop.svg");
    background-size: 100% auto;
    background-repeat: no-repeat
}
/* -----------FAB--------- */

.open-account{
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    bottom: 100px;
    right: 32px;
    width: 104px;
    height: 104px;
    background-color: #FFF6EC;
    border: 4px solid #FFC42E;
    border-radius: 16px;
    cursor: pointer;
    z-index: 10000;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.open-account:hover {
    transform: translateY(-8px); 
}


.first-line{
    display: flex;
    gap: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px;
    color: #F57F00;
    font-weight: 700;
}

.open-account span{
    background-color: #F57F00;
    color: white;
    font-weight: 700;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.text-dot{
    display: none;
}



/* -----------gototop--------- */

.go-top {
    position: fixed;
    bottom: 24px;
    right: 56px;
    width: 56px;
    height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 9999999;
}

.go-top img {
    width: 100%;
    height: 100%;
}

.go-top.show {
    opacity: 1;
    visibility: visible;
}

/* -----------media-query--------- */

@media screen and (max-width: 1439px) {
    .contWrapper{
        flex-direction: column;
        gap: 6px;
    }

    .chip {
        font-size: 20px;
    }
}


@media screen and (max-width: 1023px) {
    .header {
        height:72px
    }

    .main-button {
        padding: 16px 24px;
        font-size: 18px;
        gap: 8px;
    }

    .main-button img{
        transform: scale(0.7);
    }

    .chip{
        font-size: 18px;
    }

    .open-account:hover {
        transform: none
    }
}

@media screen and (max-width: 767px) {
  
    .breakMob {
        display: block
    }

    .main-button{
        font-size: 16px;
        gap: 8px;
    }

    .main-button img{
        transform: scale(0.5);
    }

    .header {
        padding: 16px;
        height: 58px
    }

    .header .yuantaLogo a {
        width: 160px;
    }

    
    .footer {
        height: auto;
        margin-bottom: 64px;

    }

    .footerCont .copyright,.footerCont .contact {
        float: none;
        display: block;
        max-width: 100%;
        text-align: left;
        padding: 8px 24px;
    }

    .go-top {
        bottom: 80px;
        right: 16px;
    }

    .contWrapper{
        padding:  0px 24px ;
    }

    .compony{
        text-align: left;
    }

    .main-title{
        padding-bottom: 24px;
    }

    .main-title::after{
        transform: scale(0.7); 
        transform-origin: center; 
        top: -16px;
        right: -24px;
    }

    .title{
        padding: 12px 24px;
        gap: 12px;
        align-items: center;
    }

    .title img{
        width: 30px;
        height: 24px;
    }

    .open-account{
        width: 100%;
        bottom: 0;
        border-radius: 0;
        border: none;
        right: 0px;
        height: fit-content;
        background-color: #F57F00;
        padding: 16px 0px;
        flex-direction: row;
        align-items: flex-end;
    }

     .first-line{
        flex-direction: row;
        align-items: flex-end;
        font-size: 18px;
        line-height: 24px;
        height:fit-content;
        color: white;
        padding: 0;
        gap: 8px;
    }

    .text-dot{
    display: block;
    color: white;
}

    .first-line p{
        white-space: nowrap;
    }

    .open-account span{
        font-size: 18px;
        line-height: 24px;
        width: auto;
    }


    .open-account picture,
    .open-account picture img {
      display: block;     
      line-height: 0;   
    }

    .accordion-header{
        font-size: 18px;
    }

   


    .title h1 {
        text-align: center;
    }

    .title h1 br{
        display: block;
    }

    .my-table th,
    .my-table td {
    padding: 16px 8px;
    font-size: 16px;
  }

  .my-table br {
    display: block;
  }
}