.btn-green{
  background: var(--ast-global-color-3);
  color: var(--ast-global-color-5) !important;
  min-width: 227px;
  border-radius: 8px;
  min-height: 44px;
  padding-inline: 15px;
  text-decoration: none !important;
  font-size: 13px;

  &:hover{
    background: var(--ast-global-color-0);
  }
}
.sep{
  width: 1px;
  background: #C8C8C8;
  height: 33px;
}

/* Header */
header .header_login_user_info{
  & .company_logo{
    width: 100px;

    &, & p{
      height: 50px;
    }

    & img{
      max-height: 100%;
    }
  }
  & .rounded{
    height: 53px;
    width: 53px;
    overflow: hidden;
    border-radius: 50%;
    background: #D9D9D9;
    border: 2px solid #43B8DB;
    margin: 0 30px !important;

    &.company_logo{
      padding: 4px;

      & img{
        height: 100%;
        width: 100%;
        object-fit: contain;
      }
    }
  }

  & .company_name{
    margin-left: 30px;
    font-size: 13px;
    color: #5C6168;
    text-transform: capitalize;
  }
}

/* Welcome Screen */
.ennocar_home{
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0px 0px 50px 1px rgba(0, 0, 0, 0.05);
  padding: 50px 0 0 50px;

  & .heading_side{
    & h2{
      margin-bottom: 10px;
    }

    & span{
      font-size: 23px;
    }
  }
  & .img_side{
    margin-left: auto;
  }
}

/* Sidebar */
.login_user_info { 
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  padding-left: 15px;

  & .user_avatar{
    text-align: center;
    height: 72px;
    width: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #43B8DB;
    margin: 15px !important;

    & img{
      height: 100%;
      width: 100%;
      object-fit: cover;
    }
  }

  & .user_name{
    text-transform: capitalize;
    font-size: 18px;

    & a{
      font-size: 12px;
    }
  }
}

/* Tabs */
.profile_wrap{
  background: #EDEDED;
  padding: 15px;
}
.sidebar_list{
  flex: 0 0 23%;
  padding-left: 33px;

  & .user_avatar{
    margin-left: 0 !important;
  }
}
ul#tabs-nav, ul#tabs-nav-inner {
  list-style: none;
  margin: 0;
  overflow: auto;
  padding: 0 0 0 20px;
}
ul#tabs-nav li, ul#tabs-nav-inner li {
  padding: 8px 10px;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  position: relative;
}
ul#tabs-nav li{
  padding: 15px 40px 15px 12px;
}
ul#tabs-nav li.active:before{
  content: '';
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  right: 0;
  height: 100%;
  background: #43B8DB;
  border-radius: 25px;
}
ul#tabs-nav li:hover,
ul#tabs-nav li.active {
  background-color: #FFF;
}
#tabs-nav li a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.56);
  font-size: 14px;
  display: flex;
  align-items: center;
  outline: none;
}
#tabs-nav li a svg{
  height: 31px;
  width: 31px;
  flex: 0 0 31px;
  margin-right: 20px;
}
#tabs-content {
  flex: 0 0 77%;
  background-color: #FFF;
  padding: 50px;

  & h2 + .pf_divider{
    margin-bottom: 25px;
  }
}

.login_page_section{
	background-position:center right !important;
}
/* Track Orders */
#track_ennocar_orders {
  & table, & td, & th{
    border: none;
    font-size: 13px;
  }
  & thead{
    background: var(--ast-global-color-4);

    & th{
      font-size: 17px;
      padding-block: 20px;
      color:var(--ast-global-color-7);

      &:first-child{
        border-radius: 10px 0 0 10px;
      }
      &:last-child{
        border-radius: 0 10px 10px 0;
      }
    }
  }

  & table{
    text-align: center;
    padding-top: 20px;
    
    & tr{
      box-shadow: 0px 1px 0 0 var(--ast-global-color-4);
     
      &:nth-child(even) .button:not(:hover){
        background: var(--ast-global-color-3);
      }
    }

    & td{
      padding-block: 20px;
      
      & .button{
        border-radius: 25px;
        font-size: 13px;
        text-decoration: none;
        padding: 10px 22px;
      }

    }   

  }
}

/*Inner Tabs*/
ul#tabs-nav-inner{
  padding: 0;
  gap:20px;

  & li {
    padding:0;
    flex: 1 0 31%;

    &.active a{
      background: var(--ast-global-color-0);
    }
  }
}
#tabs-content-inner{
  padding: 30px 15px;
}

/* Login Form */
form{
  & *, & .um_description{
    font-family: inherit;
  }
  
  & .um_password_icon i{
    position: absolute;
    right: 15px;
    bottom: auto;
    top: 25%;
  }
  .um_label_top {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 3px;
  }
  & .um_field_container h4 {
    color: #43B8DB;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    padding-inline: 10px;
  }
  & .pf_divider{
    background-color: #E2DFDF;
    border-top: 1px solid #E2DFDF;
    border-bottom: none;
    width: 100%;
    margin-inline: 10px;
  }
  & .um_field_container.um_group_segment{
    margin-bottom: 25px;
  }
  & input[type="password"], & input[type="text"], 
  & input[type="url"],
  & input[type="email"], & select, & input[type="number"]{
    
    border-radius: 8px;
    border: 1px solid #C8C8C8 !important;
    background: #FFF;
    height: 45px;

    &:hover, &:focus, &:active{
      border:1px solid #43B8DB !important;
      outline-color: #43B8DB;
    }
  }

  & textarea{
    border-radius: 8px;
  }

  & .um_button{
    min-width: 150px;
    min-height: 46px;
    border-radius: 8px;
    margin-inline: 10px;
  }

  & .company_logo_field .um_field_result{
    height: 100px;

    & img{
      height: 100%;
    }
  }

  & .pf_success {
    color: var(--ast-global-color-0);
    background-color: #43B8DB29;
    border-radius: 8px;
  }
}
form.um_login_form input[type="text"],
form.um_login_form input[type="password"]{
  width:100%;
}
.login_form_wrap .wpb_wrapper{
  display: flex;
  flex-wrap: wrap;
}
.logged-in .login_form_wrap .wpb_wrapper p{
  flex: 0 0 50%;
}

.login_form_wrap .um_login_form,
.um_login_button,
.um_field_container :is(input, select),
.full_width{
  width: 100%;
}
.login_form_wrap .um_login_form + a {
  margin-right: auto;
}
.full_width{
  flex: 0 0 100%;
}
.half_width{
  flex: 0 0 50%;
  width: 50%;
}
.um_login_button{
  background-color: #43B8DB !important;
  border-radius: 5px !important;
}
.um_field_container.um_group_segment{
  display: flex;
  flex-wrap: wrap;

  & .um_field_container{
    padding-inline: 10px;
  }
  
  & .profile_upload_logo, & .company_logo_field{
    display: flex;
    align-items: center;

    & .qq-upload-button{
      font-size: 0;
      width: 145px;
      background: #43B8DB;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;

      &:before{
        height: 15px;
        margin-right: 5px;
        content: url('../img/upload-icon.svg');
      }
      &:after{
        font-size: 13px;
        content: 'Upload photo';
      }

      &:hover{
        box-shadow: 0 0 15px -4px #106258;
      }

    }
    
    & ul.qq-upload-list:empty {
      display: none;
    }

    & .um_file_uploader_field {
      order: 2;
    }
    & .um_field_result{
      order: 1;
      height: 80px;
      width: 80px;
      border-radius: 50%;
      position: relative;
      overflow: hidden;
      margin-right: 25px;
      background: #D9D9D9;

      & img{
        height: 100%;
        width: 100%;
        object-fit: cover;
      }

      & .um_remove_file{
        position: absolute;
        margin: 0;
        bottom: 0;
        width: 100%;
        
        & span{
          font-size: 12px;
          color: transparent;
          padding: 0;
          background-position: center;
          min-width: 100%;
          display: block;  
        }
      }
    }
  }
  & .company_logo_field{
      & .um_field_result img {
       object-fit: contain; 
      }
      & .qq-upload-button{
        width: 210px;

        &:after{
          content: 'Upload Company Logo';
        }
      }
    }
}

/* Comapny Address  */
#comapny_address > h2{
  margin-bottom: 45px;
  padding-inline: 10px;
}


/* Customer Warrenty Registration */
#customer_warranty_registration{
  & > h2{
    padding-inline: 15px;
  }

  & #acf-form{

    & .acf-fields > .acf-field{
      border: none !important;
    }
    & .acf-field .acf-notice.-error{
      position: absolute;
      width: auto;
      z-index: 1;
      right: 0;
      top: -15px;

      & p{
        margin: 0;
      }
    }

    & .acf-form-submit{
      padding-inline: 15px;
      margin-top: 15px;
    }
  }
}

/* Download Materials */
.download_materials{
  margin-top: 50px;

  & .folder_material{
    list-style: none;
    padding:0;

    & li{
      position: relative;
      padding-left: 20px;
      margin-bottom: 10px;
      align-items: center;

      & svg{
        position: absolute;
        left: 0;
      }

      & a{
        text-decoration: none;
      }
    }
  }
}

/* Message Us */
#message_us{
  font-size: 13px;

  & label{
    margin-bottom: 8px;
    display: block;
    color: var(--ast-global-color-0);
    span{
      color:red;
    }
  }
  & input,
  & textarea{
    font-size: 13px;
    border-radius: 10px;
  }

  & .thank-you_msg{
    display: none;

    & .ast-flex{
      align-items: center;
    }
    & .heading_side{
      padding-left: 80px;
    }
  }
}

/* Responsiveness */

@media(max-width: 1320px){
  .sidebar_list{
    padding-left: 15px;
  }
  ul#tabs-nav li {
    padding-right: 30px;
  }
  .loginform_wrap{
    width: 485px !important;
  }
  div.loginform_wrap > .vc_column-inner{
    padding-top: 95px !important;
    padding-bottom: 60px !important;
  }
}

@media(max-width: 1199px){
  .sidebar_list{
    padding-left: 0;
  }
  ul#tabs-nav li {
    padding-right: 15px;
  }
  #tabs-nav li a svg {
    margin-right: 12px;
  }
  ul#tabs-nav, ul#tabs-nav-inner{
    padding-left: 10px;
  }
  ul#tabs-nav li.active:before{
    width: 4px;
    left: -10px;
  }
}

@media(max-width: 1024px){
  #track_ennocar_orders thead th {
    font-size: 15px;
  }
  #tabs-content {
    padding: 30px 40px;
  }
}

@media(max-width: 991px){
  .sidebar_list, #tabs-content{
    flex: 0 0 100%;
  }
  ul#tabs-nav{
    overflow-x: scroll;
    display: inline-flex;
    width: 100%;
  }
  ul#tabs-nav li{
    padding: 10px;
    border-radius: 5px 5px 0 0px;
    flex: 0 0 20%;
  }
  ul#tabs-nav li.active:before {
    left: 0;
    height: 4px;
    width: 100%;
    top: 0;
  }
  #tabs-nav li a{
    display: block;
    text-align: center;
    font-size: 13px;
  }
  #tabs-nav li a svg {
    margin-right: 0;
  }
  #tabs-nav li a span{
    display: block;
  }
  #tabs-content {
    padding: 30px;
  }
  #tabs-content h2 + .pf_divider {
    margin-bottom: 10px;
  }
  .download_materials {
    margin-top: 30px;
  }
  #comapny_address > h2 {
    margin-bottom: 30px;
  }
}

@media(max-width: 767px){
  div.login_page_section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  .sidebar_list, #tabs-content {
    overflow: hidden;
  }
  #tabs-content {
    padding-inline: 20px;
  }
  ul#tabs-nav li {
    flex: 0 0 27%;
  }
  #customer_warranty_registration > h2,
  #customer_warranty_registration #acf-form .acf-form-submit,
  ul#tabs-nav-inner {
    padding-inline: 0;
  }
  .acf-field .acf-label{
    margin-bottom: 5px !important;
  }
  .btn-green, #tabs-nav li a, .acf-field .acf-label label {
    font-size: 12px;
  }
  #tabs-nav li a svg {
    height: 28px;
    width: 28px;
    flex: 0 0 28px;
  }
  #track_ennocar_orders thead th {
    font-size: 13px;
  }
}

@media(max-width: 567px){
	.ennocar_home{
		padding: 20px 0 0 20px;	
	}
	.ennocar_home .heading_side span {
		font-size: 17px;
		margin-bottom: 30px !important;
		display: block;
	}
  div.login_page_section ,
  div.loginform_wrap > .vc_column-inner{
    padding-right: 15px !important;
    padding-left: 15px !important;
    padding-top: 50px !important;
    padding-bottom: 15px !important;
  }
  .half_width {
    flex: 0 0 100%;
    width: 100%;
  }
  form .um_field_container h4 {
    font-size: 17px;
  }
  #track_ennocar_orders .table_wrap {
    overflow-x: auto;
  }
  #track_ennocar_orders .table_wrap table{
    width: 550px;
  }
  .um_field_container.um_group_segment .company_logo_field .qq-upload-button {
    width: auto;
    padding-inline: 7px;
  }
  .um_field_container.um_group_segment .profile_upload_logo .qq-upload-button:after,
  .um_field_container.um_group_segment .company_logo_field .qq-upload-button:after {
    font-size: 11px;
  }
  .um_field_container.um_group_segment .profile_upload_logo  .um_field_result, 
  .um_field_container.um_group_segment .company_logo_field .um_field_result {
    height: 60px;
    width: 60px;
    margin-right: 16px;
  }
  #tabs-content {
    padding-inline: 15px;
  }
  header .header_login_user_info .company_logo, 
  header .header_login_user_info .company_logo p {
    height: 30px;
  }
  ul#tabs-nav{
    max-width: 100%;
  }
  ul#tabs-nav li {
    flex: 0 0 50%;
  }
  #customer_warranty_registration #acf-form .acf-fields > .acf-field {
    width: 100% !important;
    padding: 0 0 15px 0;
  }
  #comapny_address > h2,form .pf_divider,
  form .um_field_container h4,
  .um_field_container.um_group_segment .um_field_container {
    padding-inline: 0;
    margin-inline: 0;
  }
}