/** my-account-section **/

.my-account-section{
  position: relative;
  padding: 60px 0;
}

/* Remove any WooCommerce default container constraints */
.woocommerce-account .woocommerce{
  max-width: none;
  width: 100%;
}

/* Ensure footer breaks out of any container constraints and displays full width */
.woocommerce-account .main-footer{
  position: relative;
  background: #0E0E0E;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 0;
}

.woocommerce-account .main-footer .large-container{
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* Ensure footer widgets display properly */
.woocommerce-account .main-footer .widget-section{
  position: relative;
  padding: 95px 0px 85px 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

/* Ensure footer bottom displays properly */
.woocommerce-account .main-footer .footer-bottom{
  position: relative;
  padding: 25px 0px;
  background: #0E0E0E;
  width: 100%;
}

/* Remove unwanted spacing from page-content class */
.woocommerce-account .page-content{
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Remove any spacing from main content section */
.woocommerce-account .main-content{
  margin-bottom: 0;
}

/* Remove any spacing from content inner */
.woocommerce-account .content-inner{
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Ensure no spacing between content and footer */
.woocommerce-account .my-account-section{
  margin-bottom: 0;
}

.my-account-content{
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

/** Account Navigation **/

.woocommerce-MyAccount-navigation{
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid #e9ecef;
}
.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link{
  margin-bottom: 10px;
}
.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link:last-child{
  margin-bottom: 0px;
}
.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link a{
  padding: 8px 24px;
  background-color:#ececec;
  color: #0E0E0E;
  display: inline-block;
  border-radius: 50px;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link a:hover,
.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link a:focus,
.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link.is-active a{
  color: #fff;
  background-color:var(--storex-primary-color);
}
.content-inner .modern-myaccount-wrapper h2{
  margin-bottom: 20px;
}
.modern-myaccount-wrapper .woocommerce-address-fields .woocommerce-address-fields__field-wrapper p,
.woocommerce-privacy-policy-text p{
  margin-bottom: 12px;
}
.modern-myaccount-wrapper .woocommerce-address-fields p .required_field{
  display: block;
  margin-bottom: 5px;
}
.modern-myaccount-wrapper .woocommerce-address-fields p input,
.modern-myaccount-wrapper .woocommerce-address-fields p select{
  background-color: #fff;
  border:1px solid rgba(229, 229, 229, 1);
  border-radius: 50px;
  box-sizing: border-box;
  color: #2b2d2f;
  font-family: inherit;
  font-size: 1em;
  height: 3.125em;
  line-height: 1em;
  margin: 0;
  min-height: 0;
  padding: 1em 1.5em;
  width: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.modern-myaccount-wrapper .woocommerce-address-fields p input:hover,
.modern-myaccount-wrapper .woocommerce-address-fields p input:focus,
.woocommerce-form .woocommerce-Input:hover,
.woocommerce-form .woocommerce-Input:focus{
  border-color: var(--storex-primary-color);
}
.modern-myaccount-wrapper .woocommerce-address-fields .button,
.modern-myaccount-wrapper .woocommerce-info .button,
.woocommerce-ResetPassword .woocommerce-form-row .button,
.modern-myaccount-wrapper .woocommerce-info .woocommerce-Button{
  padding: 8px 24px;
  background-color:var(--storex-primary-color);
  color: #fff;
  display: inline-block;
  border-radius: 50px;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.account-navigation-list{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-navigation-list li{
  position: relative;
  margin: 0;
}

.account-nav-link{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: #fff;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  transition: all 500ms ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.account-nav-link:hover,
.account-navigation-list li.is-active .account-nav-link{
  background: var(--theme-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 172, 0, 0.3);
  border-color: var(--theme-color);
}

.nav-icon{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 16px;
}

.nav-text{
  position: relative;
  white-space: nowrap;
}

/** Account Content **/

.woocommerce-MyAccount-content{
  position: relative;
  padding: 40px;
}

.woocommerce-MyAccount-content h3{
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 25px;
  color: var(--title-color);
  font-weight: 600;
}

.woocommerce-MyAccount-content p{
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
}

/** Login/Register Forms **/

.login-register-section{
  position: relative;
  padding: 40px 0;
}

.login-form-wrapper,
.register-form-wrapper{
  position: relative;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
  height: 100%;
}

.login-form-wrapper h3,
.register-form-wrapper h3{
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 25px;
  color: var(--title-color);
  font-weight: 600;
}

.woocommerce-form-row{
  position: relative;
  margin-bottom: 20px;
}

.woocommerce-form-row label{
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: 8px;
}

.woocommerce-form-row .required{
  color: #dc3545;
}

.woocommerce-Input{
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px 20px;
  font-size: 16px;
  color: var(--text-color);
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 50px;
  transition: all 500ms ease;
}

.woocommerce-Input:focus{
  border-color: var(--theme-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 172, 0, 0.1);
}

.woocommerce-button{
  position: relative;
  display: inline-block;
  padding: 8px 30px;
  background: var(--theme-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 500ms ease;
  text-align: center;
}

.woocommerce-button:hover{
  background: var(--title-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.woocommerce-form__label-for-checkbox{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-color);
  cursor: pointer;
}

.woocommerce-form__input-checkbox{
  width: 18px;
  height: 18px;
  margin: 0;
}

.woocommerce-LostPassword{
  margin-top: 15px;
}

.woocommerce-LostPassword a{
  color: var(--theme-color);
  text-decoration: none;
  font-size: 14px;
  transition: all 300ms ease;
}

.woocommerce-LostPassword a:hover{
  color: var(--title-color);
  text-decoration: underline;
}

/** Orders Table **/

.my-orders-section{
  position: relative;
}

.orders-table-wrapper{
  position: relative;
  overflow-x: auto;
  margin-top: 20px;
}

.account-orders-table{
  position: relative;
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account-orders-table thead{
  background: #f8f9fa;
}

.account-orders-table th{
  padding: 20px 15px;
  text-align: left;
  font-weight: 600;
  color: var(--title-color);
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.account-orders-table td{
  padding: 20px 15px;
  border-bottom: 1px solid #f1f3f4;
  color: var(--text-color);
  font-size: 14px;
}

.account-orders-table tr:last-child td{
  border-bottom: none;
}

.account-orders-table a{
  color: var(--theme-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 300ms ease;
}

.account-orders-table a:hover{
  color: var(--title-color);
  text-decoration: underline;
}

.account-orders-table .button{
  display: inline-block;
  padding: 8px 16px;
  background: var(--theme-color);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 300ms ease;
}

.account-orders-table .button:hover{
  background: var(--title-color);
  color: #fff;
  transform: translateY(-1px);
}

/** Messages **/

.woocommerce-message,
.woocommerce-error,
.woocommerce-info{
  position: relative;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.woocommerce-message{
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.woocommerce-error{
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.woocommerce-info{
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.woocommerce-message .button{
  margin-left: 10px;
}

/** Form Validation **/

.woocommerce-form-row .woocommerce-error{
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 10px 15px;
  margin-top: 5px;
  border-radius: 5px;
  font-size: 12px;
}

.woocommerce-invalid{
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

/** Dashboard Stats **/

.dashboard-welcome{
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.dashboard-welcome h3{
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 15px;
  color: var(--title-color);
  font-weight: 600;
}

.dashboard-welcome p{
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.dashboard-stats{
  position: relative;
  margin-top: 30px;
}

.stat-box{
  position: relative;
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: all 500ms ease;
  border: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.stat-box:hover,
.stat-box:focus-within{
  transform: translateY(-5px);
  box-shadow: 0px 15px 60px 0px rgba(255, 172, 0, 0.15);
  border-color: var(--theme-color);
}

.stat-box .icon-box{
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 172, 0, 0.1);
  color: var(--theme-color);
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 500ms ease;
}

.stat-box:hover .icon-box,
.stat-box:focus-within .icon-box{
  background: var(--theme-color);
  color: #fff;
  transform: scale(1.1);
}

.stat-box h4{
  position: relative;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
  color: var(--title-color);
  font-weight: 600;
}

.stat-box .stat-number{
  position: relative;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--theme-color);
  margin: 0;
}

/** Address Section **/

.woocommerce-Addresses{
  position: relative;
  margin-top: 30px;
}

.woocommerce-Addresses .woocommerce-Address{
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
  margin-bottom: 30px;
  width: 100%;
  border: 1px solid #e9ecef;
}

.woocommerce-Address-title{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.woocommerce-Address-title h3{
  font-size: 20px;
  line-height: 28px;
  margin: 0;
  color: var(--title-color);
  font-weight: 600;
}

.woocommerce-Address-title .edit{
  color: var(--theme-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--theme-color);
  border-radius: 20px;
  transition: all 300ms ease;
}

.woocommerce-Address-title .edit:hover,
.woocommerce-Address-title .edit:focus{
  background: var(--theme-color);
  color: #fff;
}

.woocommerce-Address address{
  font-style: normal;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/** Edit Account Form **/

.edit-account{
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
  border: 1px solid #e9ecef;
}

.edit-account fieldset{
  position: relative;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0;
}

.edit-account fieldset legend{
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: var(--title-color);
  padding: 0 15px;
  background: #fff;
  margin: 0;
}

.edit-account .clear{
  clear: both;
}

.edit-account .form-row-first,
.edit-account .form-row-last{
  width: 48%;
  float: left;
}

.edit-account .form-row-last{
  float: right;
}

.edit-account .form-row-wide{
  width: 100%;
  clear: both;
}

.edit-account .woocommerce-form-row{
  margin-bottom: 20px;
}

.edit-account .woocommerce-form-row label{
  position: relative;
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: 8px;
}

.edit-account .woocommerce-form-row .required{
  color: #dc3545;
}

.edit-account .woocommerce-Input{
  position: relative;
  display: block;
  width: 100%;
  height: 50px;
  padding: 10px 20px;
  font-size: 16px;
  color: var(--text-color);
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 50px;
  transition: all 500ms ease;
}

.edit-account .woocommerce-Input:focus{
  border-color: var(--theme-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 172, 0, 0.1);
}

.edit-account .woocommerce-Button{
  position: relative;
  display: inline-block;
  padding: 8px 30px;
  background: var(--theme-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: all 500ms ease;
  text-align: center;
}

.edit-account .woocommerce-Button:hover,
.edit-account .woocommerce-Button:focus{
  background: var(--title-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/** rtl-css **/

.rtl .account-navigation-list{
  direction: rtl;
}

.rtl .account-nav-link{
  flex-direction: row-reverse;
}

.rtl .nav-icon{
  margin-left: 10px;
  margin-right: 0;
}

.rtl .account-orders-table th,
.rtl .account-orders-table td{
  text-align: right;
}

/** responsive-css **/
@media only screen and (min-width: 991px){
  .woocommerce-Addresses .woocommerce-Address{
    width: 100%;
  }
}
@media only screen and (max-width: 1200px){
  .my-account-content{
    margin: 0 15px;
  }
}

@media only screen and (max-width: 991px){
  .account-navigation-list{
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .account-nav-link{
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .woocommerce-MyAccount-content{
    padding: 30px 25px;
  }

  .login-form-wrapper,
  .register-form-wrapper{
    padding: 30px 25px;
  }
}

@media only screen and (max-width: 767px){
  .my-account-section{
    padding: 40px 0;
  }

  .woocommerce-MyAccount-content{
    padding: 25px 20px;
  }

  .login-form-wrapper,
  .register-form-wrapper{
    padding: 25px 20px;
  }

  .woocommerce-MyAccount-content h3,
  .login-form-wrapper h3,
  .register-form-wrapper h3{
    font-size: 20px;
    line-height: 28px;
  }

  .account-orders-table th,
  .account-orders-table td{
    padding: 15px 10px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 599px){
  .account-nav-link{
    padding: 12px 20px;
    font-size: 13px;
  }

  .nav-icon{
    width: 18px;
    height: 18px;
    font-size: 14px;
  }

  .woocommerce-Input{
    height: 45px;
    font-size: 14px;
    padding: 8px 15px;
  }

  .woocommerce-button{
    padding: 12px 25px;
    font-size: 14px;
  }
  .woocommerce-Addresses .woocommerce-Address{
    padding: 20px;
  }
  .woocommerce-Address-title .edit{
    padding:4px 10px;
  }
}

@media only screen and (max-width: 499px){
  .my-account-content{
    margin: 0 10px;
  }

  .woocommerce-MyAccount-content{
    padding: 20px 15px;
  }

  .login-form-wrapper,
  .register-form-wrapper{
    padding: 20px 15px;
  }

  .account-orders-table{
    font-size: 12px;
  }

  .account-orders-table th,
  .account-orders-table td{
    padding: 12px 8px;
  }

  .account-orders-table .button{
    padding: 6px 12px;
    font-size: 11px;
  }
}
