/* =========================
   Account Layout
========================= */



.account-main-content{
  min-width: 0;
}

.account-sidebar{
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 120px;
}

.account-sidebar-item{
  width: 100%;
  min-height: 64px;
  border: 1px solid #E6E7E8;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #1D1D1D;
  transition: all .22s ease;
  box-shadow: none;
}

.account-sidebar-item:hover{
  border-color: #CAA674;
  transform: translateY(-1px);
}

.account-sidebar-label{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.account-sidebar-icon{
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7E8A86;
  border: 1px solid transparent;
  background: transparent;
  transition: all .22s ease;
}

.account-sidebar-icon svg{
  width: 18px;
  height: 18px;
  display: block;
}

.account-sidebar-item.is-active{
  background: #0A372E;
  border-color: #0A372E;
  color: #fff;
}
.account-sidebar-item.is-active{
  background: #0A372E;
  border-color: #0A372E;
  color: #fff;
}
.account-sidebar-item.is-active .account-sidebar-label{
  color: #fff;
}

.account-sidebar-item.is-active .account-sidebar-icon{
  background: #CAA674;
  border-color: #CAA674;
  color: #fff;
}

.account-sidebar-item.is-active .account-sidebar-icon svg *{
  stroke: currentColor !important;
}

.account-sidebar-item.is-logout{
  background: #fff;
  color: #E14B4B;
  border: 1px solid #E6E7E8;
  font: inherit;
  cursor: pointer;
}

.account-sidebar-item.is-logout .account-sidebar-icon{
  color: #E14B4B;
}

/* لو تبغي الأيقونات العادية أخضر غامق */
.account-sidebar-item:not(.is-active):not(.is-logout):hover .account-sidebar-icon{
  color: #0A372E;
  border-color: #CAA674;
}

/* =========================
   Mobile
========================= */
@media (max-width: 991.98px){


  .account-sidebar{
    order: 2;
    position: static;
    gap: 10px;
  }

  .account-main-content{
    order: 1;
  }

  .account-sidebar-item{
    min-height: 58px;
    border-radius: 16px;
    padding: 12px 16px;
  }

  .account-sidebar-label{
    font-size: 15px;
  }

  .account-sidebar-icon{
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}

/* =========================
   Profile Page
========================= */

.profile-content-section{
  padding: 56px 0 80px;
}

.profile-card{
  background: #fff;
  border: 1px solid #E7ECEA;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.04);
}

.profile-summary-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.profile-summary-user{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-summary-label{
  font-size: 14px;
  color: #8B948F;
  font-weight: 500;
}

.profile-summary-name{
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.profile-summary-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #000000;
  font-weight: 500;
  text-decoration: underline;
}

.profile-summary-badge-icon{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.profile-stat-item{
  border: 1px solid #E7ECEA;
  border-radius: 18px;
  background: #fff;
  min-height: 112px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-stat-icon{
  width: 56px;
  height: 56px;
  min-width: 56px;
  border: 1px solid #E6EBE8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FAFCFB;
}

.profile-stat-text{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-stat-label{
  font-size: 16px;
  color: #6B7280;
  font-weight: 500;
}

.profile-stat-value{
  font-size: 36px;
  line-height: 1;
  color: #0A372E;
  font-weight: 700;
}

.profile-form-wrapper{
  margin-top: 10px;
}

.profile-section-card{
  position: relative;
  border: 1px solid #E9EEEB;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset -4px 0 0 transparent;
}

.profile-section-card--green{
  box-shadow: inset -5px 0 0 #3B5F58;
}

.profile-section-card--gold{
  box-shadow: inset -5px 0 0 #E5C599;
}
.profile-section-header{
  margin-bottom: 20px;
}

.profile-section-header h4{
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  color: #111827;
}

.profile-fields-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-field{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-field label{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 16px;
  color: #111827;
  font-weight: 600;
}

.profile-field-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-field input{
  width: 100%;
  height: 56px;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  font-size: 15px;
  color: #111827;
  outline: none;
  transition: .2s ease;
}

.profile-field input::placeholder{
  color: #B8C0BC;
}

.profile-field input:focus{
  border-color: #CAA674;
  box-shadow: 0 0 0 3px rgba(202, 166, 116, 0.12);
}

.profile-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.profile-btn{
  height: 58px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.profile-btn-primary{
  background: #CAA674;
  border-color: #CAA674;
  color: #111827;
}

.profile-btn-primary:hover{
  filter: brightness(.98);
}

.profile-btn-secondary{
  background: #fff;
  color: #111827;
}

.profile-btn-secondary:hover{
  border-color: #CAA674;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1199.98px){
  .profile-summary-name{
    font-size: 28px;
  }

  .profile-section-header h4{
    font-size: 28px;
  }

  .profile-stat-value{
    font-size: 30px;
  }
}

@media (max-width: 991.98px){
  .profile-content-section{
    padding: 24px 0 56px;
  }

  .profile-card{
    border-radius: 20px;
    padding: 16px;
  }

  .profile-summary-head{
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .profile-summary-name{
    font-size: 24px;
  }

  .profile-stats-grid{
    grid-template-columns: 1fr;
  }

  .profile-stat-item{
    min-height: 96px;
    padding: 16px;
  }

  .profile-stat-value{
    font-size: 26px;
  }

  .profile-section-card{
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .profile-section-header h4{
    font-size: 24px;
  }

  .profile-fields-grid{
    grid-template-columns: 1fr;
  }

  .profile-field input{
    height: 32px;
  }

  .profile-actions{
    grid-template-columns: 1fr;
  }

  .profile-btn{
    height: 34px;
  }
}

.profile-content-section{
  padding: 24px 0 40px;
}

.profile-card{
  border-radius: 20px;
  padding: 16px;
}

.profile-summary-head{
  margin-bottom: 16px;
}

.profile-summary-name{
  font-size: 18px;
}

.profile-summary-label{
  font-size: 12px;
}

.profile-stats-grid{
  gap: 12px;
  margin-bottom: 16px;
}

.profile-stat-item{
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 16px;
  justify-content:space-between;
}

.profile-stat-icon{
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.profile-stat-label{
  font-size: 13px;
}

.profile-stat-value{
  font-size: 22px;
}

.profile-section-card{
  padding: 18px 16px 16px;
  margin-bottom: 16px;
  border-radius: 18px;
}

.profile-section-header{
  margin-bottom: 14px;
}

.profile-section-header h4{
  font-size: 18px;
}

.profile-fields-grid{
  gap: 12px;
}

.profile-field{
  gap: 8px;
}

.profile-field label{
  font-size: 13px;
}

.profile-field input{
  height: 42px;
  font-size: 13px;
  padding: 0 14px;
}

.profile-actions{
  gap: 12px;
}

.profile-btn{
  height: 44px;
  font-size: 14px;
}

/* Hero */
    .auctions-hero{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
    }
      
           .auctions-hero-bg{
    position: absolute;
    inset: 0;
    background:
        linear-gradient( rgba(14,75,67,.10)),
                url('/assets/background1.png') center/cover no-repeat;
}


    .auctions-hero-overlay-label{
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        font-weight: 700;
        color: rgba(255,255,255,.30);
        pointer-events: none;
    }

    .auctions-hero-content{
        position: relative;
        z-index: 2;
        padding: 40px 16px;
    }
      .auctions-breadcrumb{
        font-size: 14px;
        opacity: .92;
        margin-bottom: 10px;
    }

    .auctions-hero-title{
        font-size: 44px;
        font-weight: 800;
        margin: 0;
        line-height: 1.2;
    }

.account-main-content,
.account-sidebar{
  direction: rtl;
}
.account-page-section{
  padding: 40px 0 80px;
}

.account-page-section{
  padding: 40px 0 80px;
}

.account-layout-grid{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 290px !important;
  gap: 24px;
  align-items: start;
  direction: ltr; /* مهم */
}

.account-main-content{
  min-width: 0;
  direction: rtl;
}

.account-sidebar{
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 24px;
  align-self: start;
  direction: rtl;
}


/* =========================
   Account Page Layout
========================= */

.account-page-section{
  padding: 40px 0 80px;
}

.account-layout-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.account-main-content{
  min-width: 0;
}

.account-sidebar{
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 24px;
  align-self: start;
}

.account-sidebar-item{
  width: 100%;
  min-height: 64px;
  border: 1px solid #E6E7E8;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #1D1D1D;
  transition: all .22s ease;
  box-shadow: none;
}

.account-sidebar-label{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.account-sidebar-icon{
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7E8A86;
  border: 1px solid transparent;
  background: transparent;
  transition: all .22s ease;
}

.account-sidebar-icon svg{
  width: 18px;
  height: 18px;
  display: block;
}

.account-sidebar-item.is-active{
  background: #0A372E;
  border-color: #0A372E;
  color: #fff;
}

.account-sidebar-item.is-active .account-sidebar-label{
  color: #fff;
}

.account-sidebar-item.is-active .account-sidebar-icon{
  background: #CAA674;
  border-color: #CAA674;
  color: #fff;
}

.account-sidebar-item.is-active .account-sidebar-icon svg *{
  stroke: currentColor !important;
}

.account-sidebar-item.is-logout{
  background: #fff;
  color: #E14B4B;
  border: 1px solid #E6E7E8;
  font: inherit;
  cursor: pointer;
}

.account-sidebar-item.is-logout .account-sidebar-icon{
  color: #E14B4B;
}

@media (max-width: 991.98px){
  .account-layout-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .account-main-content{
    order: 1;
  }

  .account-sidebar{
    order: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    position: static;
  }

  .account-sidebar-item{
    min-height: 58px;
    border-radius: 16px;
    padding: 12px 16px;
  }

  .account-sidebar-label{
    font-size: 15px;
  }

  .account-sidebar-icon{
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
}
/*المحفظة*/
/* =========================
   Wallet Page
========================= */

.wallet-page{
  padding: 24px 0 40px;
}

.wallet-head{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.wallet-page-title{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-top-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.wallet-balance-card,
.wallet-limit-card{
  position: relative;
  min-height: 138px;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid #E8EAE7;
}

.wallet-balance-bg{
  position: absolute;
  inset: 0;
  background:
    url('/assets/Frame 20.png') center/cover no-repeat;
}
.wallet-limit-bg{
  position: absolute;
  inset: 0;
  background:
    url('/assets/Frame 27.png') center/cover no-repeat;
}



.wallet-balance-text,
.wallet-limit-text{
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.wallet-balance-label,
.wallet-limit-label{
  font-size: 16px;
  font-weight: 500;
}

.wallet-balance-value,
.wallet-limit-value{
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.wallet-balance-visual,
.wallet-limit-visual{
  min-width: 84px;
  min-height: 84px;
  border-radius: 18px;
}


.wallet-panel{
  background: #F9FBFB;
  border: 1px solid #E7ECEA;
  border-radius: 20px;
  padding: 18px;
}

.wallet-panel-head{
  margin-bottom: 14px;
}

.wallet-panel-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.wallet-field label{
  font-size: 14px;
  font-weight: 500;
  color: #0C0507;
}

.wallet-field input{
  width: 100%;
  height: 46px;
  border: 1px solid #E4E8E5;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.wallet-field input::placeholder{
  color: #B8C0BC;
}

.wallet-amount-options{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-amount-options button{
  height: 42px;
  border-radius: 999px;
  border: 1px solid #E4E8E5;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0C0507;
}

.wallet-note-box{
  background: #FFF;
  border: 1px solid #EEF1EF;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.wallet-note-title{
  display: inline-block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-note-box p{
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #3B5F58;
}

.wallet-payment-methods{
  margin-bottom: 16px;
}

.wallet-payment-title{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0C0507;
  margin-bottom: 10px;
}

.wallet-payment-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wallet-payment-card{
  min-height: 64px;
  border: 1px solid #E4E8E5;
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0C0507;
}

.wallet-panel-actions{
  display: flex;
  gap: 12px;
}

.wallet-panel-actions.two-actions .wallet-btn{
  flex: 1;
}

.wallet-btn{
  height: 46px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-btn.full{
  width: 100%;
}

.wallet-btn-primary{
  background: #CAA674;
  color: #112723;
}

.wallet-btn-danger-soft{
  background: #FEF2F2;
  color: #DC2626;
}

.wallet-history{
  margin-top: 8px;
}

.wallet-history-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wallet-history-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-history-link{
  font-size: 14px;
  color: #141414;
  text-decoration: underline;
}

.wallet-history-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-history-item{
  background: #F9FBFB;
  border: 1px solid #E5EBEA;
  border-radius: 18px;
  min-height: 86px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 110px 130px 1fr 48px;
  align-items: center;
  gap: 14px;
}

.wallet-history-status{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.wallet-history-status.success{
  background: #EAF8EF;
  color: #3DAA68;
}

.wallet-history-amount{
  font-size: 18px;
  font-weight: 800;
}

.wallet-history-amount.positive{
  color: #0A372E;
}

.wallet-history-amount.negative{
  color: #D64D4D;
}

.wallet-history-details{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-history-details strong{
  font-size: 16px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-history-details span{
  font-size: 13px;
  color: #8A918C;
}

.wallet-history-icon{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid #E5EBEA;
}

.wallet-history-icon.success-icon{
  background: #FFFFFF;
  color: #3DAA68;
}

.wallet-history-icon.danger-icon{
  background: #FFFFFF;
  color: #D64D4D;
}

@media (max-width: 991.98px){
  .wallet-top-grid,
  .wallet-panels-grid{
    grid-template-columns: 1fr;
  }

  .wallet-amount-options{
    grid-template-columns: repeat(2, 1fr);
  }

  .wallet-payment-grid{
    grid-template-columns: 1fr;
  }


}
.wallet-note-box p{
    color:#0A372E;
    font-weight: 500;
}
.account-page-section{
  padding: 40px 0 80px;
}

.account-layout-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  direction: ltr;
}

.account-main-content{
  min-width: 0;
  direction: rtl;
}

.account-sidebar{
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 24px;
  align-self: start;
  direction: rtl;
}

/* Wallet */
.wallet-page{
  padding: 24px 0 40px;
}

.wallet-head{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.wallet-page-title{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-top-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.wallet-balance-card,
.wallet-limit-card{
  position: relative;
  min-height: 138px;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid #E8EAE7;
}

.wallet-balance-bg{
  position: absolute;
  inset: 0;
  background: url('/assets/Frame 20.png') center/cover no-repeat;
}

.wallet-limit-bg{
  position: absolute;
  inset: 0;
  background: url('/assets/Frame 27.png') center/cover no-repeat;
}

.wallet-balance-content,
.wallet-limit-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wallet-balance-text,
.wallet-limit-text{
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.wallet-balance-label,
.wallet-limit-label{
  font-size: 16px;
  font-weight: 500;
}

.wallet-balance-value,
.wallet-limit-value{
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.wallet-balance-visual img,
.wallet-limit-visual img{
  max-width: 100px;
  height: auto;
  display: block;
}

.wallet-panels-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.wallet-panel{
  background: #F9FBFB;
  border: 1px solid #E7ECEA;
  border-radius: 20px;
  padding: 18px;
}

.wallet-panel-head{
  margin-bottom: 14px;
}

.wallet-panel-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.wallet-field label{
  font-size: 14px;
  font-weight: 500;
  color: #0C0507;
}

.wallet-field input{
  width: 100%;
  height: 46px;
  border: 1px solid #E4E8E5;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.wallet-field input::placeholder{
  color: #B8C0BC;
}

.wallet-amount-options{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-amount-options button{
  height: 42px;
  border-radius: 999px;
  border: 1px solid #E4E8E5;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0C0507;
}

.wallet-note-box{
  background: #FFF;
  border: 1px solid #EEF1EF;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}

.wallet-note-title{
  display: inline-block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-note-box p{
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #0A372E;
  font-weight: 500;
}

.wallet-payment-methods{
  margin-bottom: 16px;
}

.wallet-payment-title{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0C0507;
  margin-bottom: 10px;
}

.wallet-payment-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wallet-payment-card{
  min-height: 64px;
  border: 1px solid #E4E8E5;
  border-radius: 14px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0C0507;
}

.wallet-panel-actions{
  display: flex;
  gap: 12px;
}

.wallet-panel-actions.two-actions .wallet-btn{
  flex: 1;
}

.wallet-btn{
  height: 46px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-btn.full{
  width: 100%;
}

.wallet-btn-primary{
  background: #CAA674;
  color: #112723;
}

.wallet-btn-danger-soft{
  background: #FEF2F2;
  color: #DC2626;
}

/* Wallet History */
.wallet-history{
  margin-top: 8px;
}

.wallet-history-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wallet-history-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-history-link{
  font-size: 14px;
  color: #141414;
  text-decoration: underline;
}

.wallet-history-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-history-item{
  background: #F9FBFB;
  border: 1px solid #E5EBEA;
  border-radius: 18px;
  min-height: 96px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wallet-history-left{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.wallet-history-left-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.wallet-history-right{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  margin-right: auto;
}

.wallet-history-right strong{
  font-size: 16px;
  font-weight: 700;
  color: #0C0507;
  line-height: 1.2;
}



.wallet-history-status{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #EAF8EF;
  color: #3DAA68;
}

.wallet-history-amount{
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.wallet-history-amount.positive{
  color: #0A372E;
}

.wallet-history-amount.negative{
  color: #D64D4D;
}

.wallet-history-icon{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;

}



@media (max-width: 991.98px){
  .account-layout-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .account-main-content{
    order: 1;
  }

  .account-sidebar{
    order: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    position: static;
  }

  .wallet-top-grid,
  .wallet-panels-grid{
    grid-template-columns: 1fr;
  }

  .wallet-amount-options{
    grid-template-columns: repeat(2, 1fr);
  }

  .wallet-payment-grid{
    grid-template-columns: 1fr;
  }



}

.account-page-section{
  padding: 40px 0 80px;
}

.account-layout-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  direction: ltr;
}

.account-main-content{
  min-width: 0;
  direction: rtl;
}

.account-sidebar{
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 24px;
  align-self: start;
  direction: rtl;
}

/* Wallet History */
.wallet-history{
  margin-top: 8px;
}

.wallet-history-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wallet-history-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-history-link{
  font-size: 14px;
  color: #141414;
  text-decoration: underline;
}

.wallet-history-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-history-item{
  background: #F9FBFB;
  border: 1px solid #E5EBEA;
  border-radius: 18px;
  min-height: 96px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wallet-history-left{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wallet-history-left-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.wallet-history-right{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  margin-right: auto;
}

.wallet-history-right-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-history-right strong{
  font-size: 16px;
  font-weight: 700;
  color: #0C0507;
  line-height: 1.2;
}


.wallet-history-status{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #EAF8EF;
  color: #3DAA68;
}

.wallet-history-amount{
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.wallet-history-amount.positive{
  color: #0A372E;
}

.wallet-history-amount.negative{
  color: #D64D4D;
}

.wallet-history-icon{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
 
}


.wallet-amount-options--three{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991.98px){
  .account-layout-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .account-main-content{
    order: 1;
  }

  .account-sidebar{
    order: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    position: static;
  }


}
.wallet-history-item{
  background: #F9FBFB;
  border: 1px solid #E5EBEA;
  border-radius: 18px;
  min-height: 96px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wallet-history-right{
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
  text-align: right;
}

.wallet-history-right-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-history-right strong{
  font-size: 16px;
  font-weight: 700;
  color: #141414;
  line-height: 1.2;
}

.wallet-history-right span{
  font-size: 13px;
  color: #6F757E;
  line-height: 2.5;
}

.wallet-history-left{
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.wallet-history-left-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.wallet-history-status{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;

}

.wallet-history-amount{
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}



.wallet-history-icon{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;

}
/* =========================
   My Bids Page
========================= */

.my-bids-page{
  padding: 24px 0 40px;
}

.my-bids-tabs{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid #E7ECEA;
}

.my-bids-tab{
  background: transparent;
  border: 0;
  padding: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #A5ACA8;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.my-bids-tab.is-active{
  color: #C79857;
}

.my-bids-tab.is-active::after{
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -15px;
  height: 2px;
  background: #C79857;
  border-radius: 999px;
}

.my-bids-tab-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.my-bids-list{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.my-bid-item{
  display: grid;
  grid-template-columns: 100px 1fr 92px;
  align-items: center;
  gap: 24px;
}

.my-bid-status-col{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.my-bid-status{
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.my-bid-status.success{
  background: #EAF8EF;
  color: #3DAA68;
}

.my-bid-status.danger{
  background: #FFF0F0;
  color: #E45B5B;
}

.my-bid-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1E3D36;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.my-bid-link-icon{
  font-size: 22px;
  line-height: 1;
}

.my-bid-info{
  display: flex;
  flex-direction: column;
}

.my-bid-title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
}

.my-bid-note{
  min-height: 24px;
  font-size: 13px;
  color: #A5ACA8;
}

.my-bid-prices{
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.my-bid-price-block{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.my-bid-price-label{
  font-size: 13px;
  color: #A5ACA8;
  font-weight: 500;
}

.my-bid-price-value{
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.my-bid-price-value.neutral{
  color: #0A372E;
}

.my-bid-price-value.success-text{
  color: #16A34A;
}

.my-bid-price-divider{
  width: 1px;
  height: 34px;
  background: #E2E6E4;
  margin: 0 2px;
}

.my-bid-thumb{
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.my-bid-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px){
  .my-bids-tabs{
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .my-bids-tab{
    font-size: 16px;
    white-space: nowrap;
  }
}
.my-bid-title-row{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.my-bid-note.empty{
  visibility: hidden;
}
.badge-favorite{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 18px;}

    /* ===== Favorites view switch ===== */
.view-switch{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.view-switch-label{
  font-size: 14px;
  color: #A1AAA5;
  font-weight: 500;
}

.view-btn{
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9CAFAB;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.view-btn.is-active{
  color: #0A372E;
}

.view-btn.is-active svg path,
.view-btn.is-active svg rect{
  stroke: #0A372E;
}

/* ===== Favorites grid ===== */
.ending-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ending-card{
  background: #fff;
  border: 1px solid #E5EAE7;
  border-radius: 18px;
  overflow: hidden;
}

.ending-thumb{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}


.badge-favorite{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #E25C5C;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  padding: 0;
}

.badge-favorite svg{
  width: 18px;
  height: 18px;
  display: block;
}

.badge-favorite.is-active svg{
  fill: #E53935;
  stroke: #E53935;
}

.ending-body{
  padding: 12px 2px 2px;
}

.ending-title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
}

.ending-meta-row{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.ending-meta-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ending-date{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8E9893;
  font-size: 13px;
}

.price-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.price-wrap{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label{
  font-size: 13px;
  color: #B2BAB5;
}


.details-link{
  border-radius: 999px !important;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Horizontal/List view ===== */
.ending-grid.is-horizontal{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ending-grid.is-horizontal .ending-card{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px;
}

.ending-grid.is-horizontal .ending-thumb{
  order: 2;
}

.ending-grid.is-horizontal .ending-thumb > img{
  height: 180px;
}

.ending-grid.is-horizontal .ending-body{
  order: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ending-grid.is-horizontal .ending-title{
  font-size: 18px;
  margin-bottom: 12px;
}

.ending-grid.is-horizontal .ending-meta-row{
  margin-bottom: 16px;
}

.ending-grid.is-horizontal .price-row{
  margin-top: auto;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px){
  .ending-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ending-grid.is-horizontal .ending-card{
    grid-template-columns: 1fr;
  }

  .ending-grid.is-horizontal .ending-thumb{
    order: 1;
  }

  .ending-grid.is-horizontal .ending-body{
    order: 2;
  }
}

@media (max-width: 575.98px){
  .ending-grid{
    grid-template-columns: 1fr;
  }
}
.auction-grid{
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 22px;
    }
    /* =========================
   My Orders Page
========================= */

.my-orders-page{
  padding: 24px 0 40px;
}

.my-orders-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.my-orders-stat-card{
  background: #fff;
  border: 1px solid #E7ECEA;
  border-radius: 18px;
  min-height: 78px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.my-orders-stat-icon{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1px solid #E5EBEA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6D857E;
}

.my-orders-stat-text{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.my-orders-stat-text span{
  font-size: 13px;
  color: #6B807C;
}

.my-orders-stat-text strong{
  font-size: 16px;
  font-weight: 800;
  color: #0A372E;
}

.my-orders-tabs{
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #E6ECE9;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.my-orders-tab{
  background: transparent;
  border: 0;
  padding: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9AA4A0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
}

.my-orders-tab.is-active{
  color: #0A372E;
}

.my-orders-tab.is-active::after{
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -13px;
  height: 2px;
  background: #0A372E;
  border-radius: 999px;
}

.my-orders-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.my-order-card{
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 18px;
  align-items: start;
}

.my-order-side{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.my-order-status{
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.my-order-status.completed{
  background: #EEFBF4;
  color: #1E874C;
}
.my-order-status.delivered{
  color:#1E874C;
  background: #EEFBF4;
}

.my-order-status.running{
  background: #FFF7ED;
  color: #EA580C;
}
.my-order-status.pending-delivery{
  background: #FFF7ED;
  color: #EA580C;
}
.my-order-status.waiting-fee{
  background: #FFF7ED;
  color: #EA580C;
}

.my-order-invoice-btn,
.my-order-issue-btn{
  border-radius: 999px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
}

.my-order-invoice-btn{
  border: 1px solid #CAA674;
  color: #CAA674;
}

.my-order-invoice-btn.disabled{
  border-color: #D1DBD9;
  color: #D1DBD9;
  cursor: default;
}

.my-order-issue-btn{
  border: 1px solid #F0A4A4;
  color: #E45B5B;
  background: #FFF7F7;
  align-content: center;
}

.my-order-main{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-order-top{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
}

.my-order-thumb{
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  justify-self: end;
}

.my-order-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.my-order-summary{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-order-title{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1A1A1A;
}

.my-order-summary-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.my-order-summary-item{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.my-order-summary-item span{
  font-size: 13px;
  color: #9AA4A0;
}

.my-order-summary-item strong{
  font-size: 16px;
  font-weight: 800;
  color: #0A372E;
}

.my-order-seller-box,
.my-order-alert-box{
  background: #F9FBFB;
  border: 1px solid #F9FBFB;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

}
.my-order-alert-box{
  justify-content:start;
}

.my-order-seller-info,
.my-order-alert-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.my-order-seller-info span,
.my-order-alert-text span{
  font-size: 13px;
  color: #9AA4A0;
}

.my-order-seller-info strong,
.my-order-alert-text strong{
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
}

.my-order-seller-info small{
  font-size: 13px;
  color: #7D8783;
}

.my-order-seller-actions{
  display: flex;
  gap: 10px;
}

.seller-btn{
  min-width: 72px;
  height: 36px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  align-content: center;
}

.seller-btn-primary{
  border: 0;
  background: #CAA674;
  color: #fff;
}

.seller-btn-outline{
  border: 1px solid #0A372E;
  background: #F9FBFB;
  color: #0A372E;
}

.my-order-alert-icon{
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #0A372E;
  color: #D6B075;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* =========================
   My Sales Page
========================= */

.my-sales-page{
  padding: 24px 0 40px;
}

.my-sales-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.my-sales-stat-card{
  background: #fff;
  border: 1px solid #E7ECEA;
  border-radius: 18px;
  min-height: 78px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.my-sales-stat-icon{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1px solid #E7ECEA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6D857E;
}

.my-sales-stat-text{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.my-sales-stat-text span{
  font-size: 13px;
  color: #9AA4A0;
}

.my-sales-stat-text strong{
  font-size: 16px;
  font-weight: 800;
  color: #0A372E;
}

.my-sales-tabs{
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #E6ECE9;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.my-sales-tab{
  background: transparent;
  border: 0;
  padding: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9AA4A0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
}

.my-sales-tab.is-active{
  color: #0A372E;
}

.my-sales-tab.is-active::after{
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -13px;
  height: 2px;
  background: #0A372E;
  border-radius: 999px;
}

.my-sales-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.my-sale-card{
  align-items: start;
  background: #fff;
  border: 1px solid #E7ECEA;
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 18px;
  align-items: start;
}

.my-sale-side{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.my-sale-status{
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.my-sale-status.running{
  background: #FFF2E6;
  color: #D57B1F;
}

.my-sale-status.delivered{
  background: #EAF8EF;
  color: #2FA463;
}

.my-sale-status.pending-delivery{
  background: #FFF3E8;
  color: #DF7B28;
}

.my-sale-status.waiting-fee{
  background: #FFF5E8;
  color: #E0862F;
}

.my-sale-status.completed{
  background: #EAF8EF;
  color: #2FA463;
}

.my-sale-side-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.my-sale-action-btn{
  min-width: 110px;
  height: 38px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.my-sale-action-btn.accept{
  border: 1px solid #0A372E;
  color: #0A372E;
  background: #fff;
}

.my-sale-action-btn.reject{
  border: 1px solid #F0A4A4;
  color: #E45B5B;
  background: #fff;
}

.my-sale-disabled-btn{
  min-width: 110px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #E7ECEA;
  color: #C7CECB;
  background: #F8FAFA;
  font-size: 13px;
  font-weight: 700;
}

.my-sale-link{
  color: #1E3D36;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.my-sale-note-red{
  color: #E45B5B;
  font-size: 14px;
  font-weight: 700;
}

.my-sale-main{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.my-sale-top{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
}

.my-sale-thumb{
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  justify-self: end;
}

.my-sale-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.my-sale-summary{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-sale-title{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1A1A1A;
}

.my-sale-title span{
  color: #9AA4A0;
  font-size: 14px;
  font-weight: 600;
}

.my-sale-summary-grid{
  display: grid;
  gap: 12px;
}

.my-sale-summary-grid.two-cols{
  grid-template-columns: repeat(2, 1fr);
}

.my-sale-summary-grid.three-cols{
  grid-template-columns: repeat(3, 1fr);
}

.my-sale-summary-item{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.my-sale-summary-item span{
  font-size: 13px;
  color: #9AA4A0;
}

.my-sale-summary-item strong{
  font-size: 16px;
  font-weight: 800;
  color: #0A372E;
}

.my-sale-summary-item strong.green{
  color: #18A34A;
}

.my-sale-buyer-box,
.my-sale-alert-box{
  background: #F9FBFB;
  border: 1px solid #E7ECEA;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.my-sale-buyer-info,
.my-sale-alert-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.my-sale-buyer-info span,
.my-sale-alert-text span{
  font-size: 13px;
  color: #9AA4A0;
}

.my-sale-buyer-info strong,
.my-sale-alert-text strong{
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
}

.my-sale-buyer-info small,
.my-sale-alert-text small{
  font-size: 13px;
  color: #7D8783;
}

.my-sale-buyer-actions{
  display: flex;
  gap: 10px;
}

.buyer-btn{
  min-width: 72px;
  height: 36px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.buyer-btn-primary{
  border: 0;
  background: #CAA674;
  color: #fff;
}

.buyer-btn-outline{
  border: 1px solid #0A372E;
  background: #fff;
  color: #0A372E;
}

.my-sale-alert-icon{
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #0A372E;
  color: #D6B075;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

@media (max-width: 991.98px){
  .my-sales-stats{
    grid-template-columns: 1fr;
  }

  .my-sale-card{
    grid-template-columns: 1fr;
  }

  .my-sale-summary-grid.two-cols,
  .my-sale-summary-grid.three-cols{
    grid-template-columns: 1fr;
  }

  .my-sale-top{
    grid-template-columns: 1fr;
  }

  .my-sale-thumb{
    justify-self: start;
  }

  .my-sale-buyer-box,
  .my-sale-alert-box{
    flex-direction: column;
    align-items: flex-start;
  }
}

.my-sale-card{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.my-order-main{
  flex: 1;
  min-width: 0;
}

.my-order-side{
  width: 320px; 
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
}

.my-order-side-top{
  width: 100%;
}

.my-order-side-bottom{
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.my-order-side-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-sale-link{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.my-sale-note-red{
  margin-top: 0;
}
.my-sale-link-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.my-sale-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.my-sale-note-red{
  margin: 0;
  white-space: nowrap;
}
.my-sale-card{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.my-order-main{
  flex: 1;
  min-width: 0;
}

.my-order-side{
  width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 8px 0;
}

.my-order-side-top{
  width: 100%;
}

.my-order-side-bottom{
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.my-sale-assign-label{
  font-size: 14px;
  font-weight: 500;
  color: #9CAFAB;
  line-height: 1.4;
}

.my-order-side-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.my-sale-action-btn{
  min-width: 136px;
}

.my-sale-meta-row{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.my-sale-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #0A372E;
  font-weight: 500;
  text-decoration: none;
  flex-shrink: 0;
}

.my-sale-hidden-pass{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.my-sale-hidden-pass-text{
  color: #059669;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.my-sale-hidden-fail-text{
  color: #E35D5B;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.my-sale-stars{
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #0A0A0A;
  font-size: 14px;
  line-height: 1;
}

.my-sale-eye{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.my-order-status.running{
  margin-bottom: 8px;
}
.my-sale-meta-row{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.my-sale-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.my-sale-hidden-pass,
.my-sale-hidden-fail{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.my-sale-hidden-pass-text{
  color: #059669;
  font-size: 14px;
  font-weight: 600;
}

.my-sale-hidden-fail-text{
  color: #E35D5B;
  font-size: 14px;
  font-weight: 600;
}

.my-sale-eye{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*سداد العمولة*/
.commission-page{
  padding: 56px 0 80px;
}


.commission-page-title{
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #9CA3AF;
  text-align: start;
}

.commission-table-wrap{
  overflow-x: auto;
  border: 1px solid #E9EEEB;
  border-radius: 20px;
}

.commission-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #fff;
}

.commission-table thead th{
  background: #FFFFFF;
  color: #0A372E;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid #E9EEEB;
  white-space: nowrap;
}

.commission-table tbody td{
  padding: 16px;
  text-align: center;
  color: #030712;
  font-size: 14px;
  border-bottom: 1px solid #EEF2F0;
  white-space: nowrap;
}

.commission-table tbody tr:last-child td{
  border-bottom: 0;
}

.commission-status{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.commission-status.pending{
  background: #FFF7ED;
  border: 1px solid #E86F34;
  color: #E86F34;
}

.commission-status.paid{
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
}

.commission-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.commission-link{
  color: #3B5F58;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.commission-link:hover{
  text-decoration: underline;
}

.commission-pay-btn{
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #0A392F;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.commission-details-btn{
    height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #F8FBFA;
  color: #065F46;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.commission-details-btn:hover{
  opacity: .95;
}

.commission-pay-btn:hover{
  opacity: .95;
}

.page-dots{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 991.98px){
  .commission-page{
    padding: 24px 0 56px;
  }

  .commission-table-card{
    padding: 16px;
    border-radius: 20px;
  }

  .commission-page-title{
    font-size: 24px;
    margin-bottom: 16px;
  }

  .commission-table thead th,
  .commission-table tbody td{
    padding: 14px 12px;
    font-size: 13px;
  }

  .commission-pay-btn{
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}
.commission-table tbody td{
  padding: 16px;
  text-align: center;
  color: #4B5563;
  font-size: 14px;
  border-bottom: 1px solid #EEF2F0;
  white-space: nowrap;
}

.commission-invoice-cell{
  color: #050F24 !important;
  font-weight: 700;
}

.commission-amount{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0A372E;
  font-weight: 600;
  direction: ltr;
}

.commission-currency-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.commission-currency-icon svg{
  width: 14px;
  height: 14px;
  display: block;
}
.commission-table tbody tr:nth-child(odd){
  background: #FFFFFF;
}

.commission-table tbody tr:nth-child(even){
  background: #F9FBFB;
}


.payment-modal.is-open{
  display: block;
}

.payment-modal-backdrop{
  display: none;
}

.payment-modal-dialog{
  position: relative;
  z-index: 2;
  width: min(860px, calc(100vw - 32px));
  margin: 24px auto;
  background: #FFFFFF;
  border-radius: 40px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
  max-height: none;
  overflow: visible;
}
.payment-modal-close{
  position: absolute;
  top: 22px;
  left: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.payment-modal-stars{
  position: absolute;
  inset: 0;
  background: url('/assets/Group3.png') top center / cover no-repeat;
  opacity: .35;
  pointer-events: none;
  border-radius: 40px;
}

.payment-modal-head,
.payment-summary-card,
.payment-method-card,
.payment-modal-actions{
  position: relative;
  z-index: 2;
}

.payment-modal-head{
  text-align: center;
  margin-bottom: 18px;
}

.payment-modal-head h2{
  margin: 10px 0 8px;
  line-height: 1.2;
  font-weight: 800;
  color: #0A372E;
}

.payment-modal-head p{
  margin: 0;
  color: #7A8580;
  font-weight: 500;
}

.payment-summary-card,
.payment-method-card{
  background: #FBFCFC;
  border: 1px solid #E8ECE9;
  border-radius: 24px;
  padding: 22px;
}

.payment-summary-card{
  margin-bottom: 16px;
}

.payment-summary-top,
.payment-summary-price-row{
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-summary-price-row{
  margin-top: 10px;
}

.payment-summary-col{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-summary-col span{
  color: #7B817E;
  font-size: 14px;
  font-weight: 500;
}

.payment-summary-col strong{
  color: #050F24;
  font-size: 18px;
  font-weight: 700;
}

.payment-summary-col strong.price{
  color: #0A372E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.payment-summary-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C8A86B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.payment-invoice-box{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #E8ECE9;
}

.payment-invoice-box h3{
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.payment-invoice-box small{
  color: #8B948F;
  font-size: 13px;
}

.payment-invoice-table{
  margin-top: 18px;
}

.payment-invoice-head,
.payment-invoice-row,
.payment-invoice-total{
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 12px;
  align-items: center;
}

.payment-invoice-head{
  color: #7B817E;
  font-size: 13px;
  margin-bottom: 12px;
}

.payment-invoice-row{
  padding-bottom: 16px;
  border-bottom: 1px solid #E8ECE9;
  color: #111827;
  font-size: 14px;
}

.payment-invoice-row strong,
.payment-invoice-total strong{
  color: #0A372E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
}

.payment-invoice-total{
  padding-top: 16px;
}

.payment-invoice-total span{
  color: #7B817E;
  font-size: 15px;
  font-weight: 500;
}

.currency-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.payment-method-card h3{
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  text-align: right;
}

.payment-method-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.payment-method-option{
  min-height: 74px;
  border-radius: 16px;
  border: 1px solid #E6EBE8;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.payment-method-option span{
  color: #7B817E;
  font-size: 13px;
}

.payment-method-option strong{
  color: #111827;
  font-size: 24px;
  font-weight: 700;
}

.payment-method-option.is-active{
  border-color: #0A372E;
  box-shadow: inset 0 0 0 1px #0A372E;
}

.payment-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.payment-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-field label{
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.payment-field input{
  width: 100%;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  padding: 0 18px;
  font-size: 14px;
  color: #111827;
  outline: none;
}

.payment-field input::placeholder{
  color: #B8C0BC;
}

.payment-modal-actions{
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.payment-submit-btn{
  min-width: 180px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: #0A372E;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 991.98px){
  .payment-modal-dialog{
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    border-radius: 24px;
    padding: 18px;
  }

  .payment-modal-stars{
    border-radius: 24px;
  }

  .payment-modal-head h2{
    font-size: 28px;
  }

  .payment-modal-head p{
    font-size: 15px;
  }

  .payment-method-grid,
  .payment-form-grid{
    grid-template-columns: 1fr 1fr;
  }

  .payment-invoice-head,
  .payment-invoice-row,
  .payment-invoice-total{
    grid-template-columns: 1fr;
  }
}
.payment-modal.is-open{
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.payment-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 20px;
  background: rgba(11, 18, 17, 0.62);
  backdrop-filter: blur(2px);
}

.payment-modal.is-open{
  display: block;
}

.payment-modal-backdrop{
  display: none;
}

.payment-modal-dialog{
  position: relative;
  z-index: 2;
  width: min(760px, calc(100vw - 32px));
  margin: 20px auto;
  background: #FFFFFF;
  border-radius: 32px;
  padding: 24px 28px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
  overflow: hidden;
}

.payment-modal-stars{
  position: absolute;
  inset: 0;
  background-image: url('/assets/Group3.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.payment-modal-head,
.payment-summary-card,
.payment-method-card,
.payment-modal-actions,
.payment-modal-close{
  position: relative;
  z-index: 2;
}

.payment-modal-head{
  text-align: center;
  margin-bottom: 18px;
}

.payment-modal-head h2{
  margin: 6px 0 8px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  color: #0A372E;
}

.payment-modal-head p{
  margin: 0;
  color: #7A8580;
  font-size: 16px;
  font-weight: 500;
}

.payment-modal-close{
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #D8DEDA;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

.payment-modal-stars{
  pointer-events: none;
}

.payment-summary-card,
.payment-method-card{
  background: #FBFCFC;
  border: 1px solid #E8ECE9;
  border-radius: 22px;
  padding: 18px;
}

.payment-summary-card{
  margin-bottom: 14px;
}

.payment-summary-main-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.payment-summary-info{
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.payment-summary-info-col{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-summary-info-col span{
  color: #7B817E;
  font-size: 14px;
  font-weight: 500;
}

.payment-summary-info-col strong{
  color: #050F24;
  font-size: 22px;
  font-weight: 700;
}

.payment-summary-info-col--amount strong.price{
  color: #0A372E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.payment-invoice-box{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E8ECE9;
}

.payment-invoice-box h3{
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.payment-invoice-box small{
  color: #8B948F;
  font-size: 12px;
}

.payment-invoice-table{
  margin-top: 14px;
}

.payment-invoice-head,
.payment-invoice-row,
.payment-invoice-total{
  display: grid;
  grid-template-columns: 1.1fr 1.8fr .9fr;
  gap: 12px;
  align-items: center;
}

.payment-invoice-head{
  color: #7B817E;
  font-size: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid #F3F4F6;
}

.payment-invoice-row{
  padding-bottom: 14px;
  border-bottom: 1px solid #E5EBEA;
  color: #111827;
  font-size: 13px;
}

.payment-invoice-row strong,
.payment-invoice-total strong{
  color: #0A372E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
}

.payment-invoice-total{
  padding-top: 14px;
}

.payment-invoice-total span{
  color: #7B817E;
  font-size: 14px;
  font-weight: 500;
}

.currency-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.payment-method-card h3{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  text-align: right;
}

.payment-method-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.payment-method-option{
  min-height: 66px;
  border-radius: 14px;
  border: 1px solid #E6EBE8;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.payment-method-option span{
  color: #7B817E;
  font-size: 12px;
}

.payment-method-option strong{
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.payment-method-option.is-active{
  border-color: #0A372E;
  box-shadow: inset 0 0 0 1px #0A372E;
}

.payment-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.payment-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-field label{
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

.payment-field input{
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  padding: 0 16px;
  font-size: 14px;
  color: #111827;
  outline: none;
  direction: ltr;
  text-align: end;
}

.payment-field input::placeholder{
  color: #B8C0BC;
}

.payment-modal-actions{
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}

.payment-submit-btn{
  min-width: 160px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0A372E;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 991.98px){
  .payment-modal{
    padding: 12px;
  }

  .payment-modal-dialog{
    width: min(100%, calc(100vw - 24px));
    margin: 12px auto 20px;
    border-radius: 24px;
    padding: 18px;
  }

  .payment-modal-head h2{
    font-size: 26px;
  }

  .payment-modal-head p{
    font-size: 14px;
  }

  .payment-summary-main-row,
  .payment-summary-info{
    flex-direction: column;
  }

  .payment-method-grid,
  .payment-form-grid{
    grid-template-columns: 1fr 1fr;
  }


}
.payment-method-option{
  min-height: 66px;
  border-radius: 14px;
  border: 1px solid #E6EBE8;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: .2s ease;
}

.payment-method-option:has(input:checked){
  border-color: #4B635E;
  box-shadow: inset 0 0 0 1px #4B635E;
}
.payment-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-modal[aria-hidden="false"] {
    display: flex;
}

.payment-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 24px;
  background: rgba(11, 18, 17, 0.62);
  backdrop-filter: blur(2px);

  overflow-y: auto;   /* الخارجي */
  overflow-x: hidden;
}

.payment-modal.is-open,
.payment-modal[aria-hidden="false"]{
  display: flex;
  justify-content: center;
  align-items: flex-start;   /* بدل center */
}

.payment-modal-backdrop{
  position: fixed;
  inset: 0;
  background: transparent;
}

.payment-modal-dialog{
  position: relative;
  z-index: 2;
  width: min(860px, calc(100vw - 32px));
  margin: 40px auto;
  background: #fff;
  border-radius: 40px;
  padding: 28px;

  max-height: none;     /* مهم */
  overflow: visible;    /* مهم */
}

body.modal-open{
  overflow: hidden;
}
/*التنبيهات*/
.notifications-page{
  padding: 24px 0 40px;
}

.notifications-content-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.notifications-feed-panel{
  min-width: 0;
}

.notifications-settings-panel{
  min-width: 0;
}

.notifications-settings-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.notifications-settings-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #B8BDC7;
}

.notifications-mark-read{
  font-size: 14px;
  color: #0A372E;
  text-decoration: underline;
  font-weight: 500;
}

.notifications-settings-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.notify-setting-card{
  background: rgb(251, 252, 252);
  border: 1px solid #E3E9E6;
  border-radius: 24px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.notify-setting-text h4{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #153C35;
}

.notify-setting-text p{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #98A1A8;
}
.notify-switch{
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    display: inline-block;
    margin-top: 6px;
}

.notify-switch input{
    opacity: 0;
    width: 0;
    height: 0;
}

.notify-slider{
    position: absolute;
    inset: 0;
    background: #D7DCE2;
    border-radius: 999px;
    transition: .25s ease;
}

.notify-slider::before{
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    right: 4px;
    top: 4px;
    background: #fff;
    border-radius: 50%;
    transition: .25s ease;
}

.notify-switch input:checked + .notify-slider{
    background: #0A372E;
}

.notify-switch input:checked + .notify-slider::before{
    transform: translateX(-20px);
}

.notifications-tabs{
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  border-bottom: 1px solid #D7DEDB;
  margin-bottom: 24px;
}

.notifications-tab{
  background: transparent;
  border: 0;
  padding: 0 0 10px;
  color: #8F979D;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
}

.notifications-tab.is-active{
  color: #0A372E;
  font-weight: 700;
}

.notifications-tab.is-active::after{
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0px;
  height: 2px;
  border-radius: 999px;
  background: #0A372E;
}

.notifications-group{
  margin-bottom: 28px;
}

.notifications-group-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #0A372E;
}

.notifications-feed-card{
  background: rgb(251, 252, 252);
  border: 1px solid #DDE5E1;
  border-radius: 24px;
  min-height: 96px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.notifications-feed-card.soft{
  background: #FBFCFC;
}

.notifications-feed-card h4{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #153C35;
}

.notifications-feed-card p{
  margin: 0;
  font-size: 14px;
  color: #8C959B;
  line-height: 1.6;
}

@media (max-width: 991.98px){
    .notifications-content-grid{
        grid-template-columns: 1fr;
    }

    .notifications-settings-head h3{
        font-size: 24px;
    }

    .notifications-feed-card h4{
        font-size: 18px;
    }
}
/*الدعم والمساعدة*/
.support-page{
  padding: 24px 0 40px;
}

.support-section-title{
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #8E959C;
}

.support-contact-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.support-contact-card{
  background: #fff;
  border: 1px solid #E6EAE8;
  border-radius: 18px;
  min-height: 70px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-contact-icon{
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #C9A66B;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.support-contact-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.support-contact-text span{
  font-size: 11px;
  color: #9BA3A8;
}

.support-contact-text strong{
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.support-faq-section{
  margin-bottom: 22px;
}

.support-faq-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-faq-item{
  background: #fff;
  border: 1px solid #E6EAE8;
  border-radius: 18px;
  overflow: hidden;
}

.support-faq-question{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #0F2F2A;
  cursor: pointer;
}

.support-faq-answer{
  padding: 0 20px 18px;
  font-size: 12px;
  line-height: 1.9;
  color: #7F878D;
}

.faq-icon{
  font-size: 22px;
  color: #111827;
  line-height: 1;
}

.support-contact-form-section{
  margin-bottom: 20px;
}

.support-form-card{
  background: #F8FAF9;
  border: 1px solid #E7ECEA;
  border-radius: 22px;
  padding: 24px;
}

.support-form-head{
  margin-bottom: 18px;
}

.support-form-head h3{
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #0A372E;
}

.support-form-head p{
  margin: 0;
  font-size: 12px;
  color: #7B8582;
}

.support-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-form-group label{
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.support-select-wrap{
  position: relative;
}

.support-select-wrap select{
  width: 100%;
  height: 44px;
  border: 1px solid #E3E7E5;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px 0 40px;
  font-size: 12px;
  color: #111827;
  appearance: none;
  outline: none;
}

.support-select-arrow{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  pointer-events: none;
  font-size: 12px;
}

.support-form-group textarea{
  width: 100%;
  min-height: 100px;
  resize: vertical;
  border: 1px solid #E3E7E5;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  font-size: 12px;
  color: #111827;
  outline: none;
}

.support-form-group textarea::placeholder{
  color: #B3BBB8;
}

.support-form-actions{
  display: flex;
  justify-content: flex-start;
}

.support-submit-btn{
  min-width: 120px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #C9A66B;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.support-policy-banner {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  border-radius: 20px;
  min-height: 140px;
}

.support-policy-image {
  position: absolute;
}

.support-policy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.support-policy-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  min-height: 140px;
  color: #fff;
}

.support-policy-content h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.support-policy-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}
/* =========================
   Logout Page
========================= */

.logout-page{
  padding: 28px 0 40px;
}
.logout-section-title{
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 500;
  color: rgba(156, 163, 175, 1);
}

.logout-card{
  background: transparent;
  padding: 0;
}

.logout-card h3{
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  color: #FF3B3B;
}

.logout-card p{
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(108, 115, 127, 1);
}

.logout-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.logout-btn{
  min-width: 170px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

.logout-btn-outline{
  background: #FFF0F0;
  border: 1.5px solid #FFF0F0;
  color: rgba(220, 38, 38, 1);
}

.logout-btn-outline:hover{
filter: brightness(.98);}

.logout-btn-danger{
  background: rgba(239, 68, 68, 1);
  border: 1px solid rgba(239, 68, 68, 1);
  width:200px;
  color: #fff;
}

.logout-btn-danger:hover{
  filter: brightness(.98);
}

/* =========================
   Sidebar Logout Custom State
========================= */

.account-sidebar-item--logout{
  color: #EF4444;
}

.account-sidebar-item--logout .account-sidebar-label{
  color: inherit;
}

.account-sidebar-item--logout .account-sidebar-icon{
  color: #EF4444;
}

.account-sidebar-item--logout .account-sidebar-icon svg *{
  stroke: currentColor !important;
  fill: currentColor;
}

.account-sidebar-item.account-sidebar-item--logout.is-logout-active{
  background: #F24848;
  border-color: #F24848;
  color: #fff;
}

.account-sidebar-item.account-sidebar-item--logout.is-logout-active .account-sidebar-label{
  color: #fff;
}

.account-sidebar-item.account-sidebar-item--logout.is-logout-active .account-sidebar-icon{
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #F24848;
}

.account-sidebar-item.account-sidebar-item--logout.is-logout-active .account-sidebar-icon svg *{
  stroke: currentColor !important;
  fill: currentColor;
}

@media (max-width: 991.98px){
  .logout-card-wrap{
    max-width: 100%;
  }

  .logout-section-title{
    font-size: 20px;
  }

  .logout-card h3{
    font-size: 28px;
  }

  .logout-card p{
    font-size: 14px;
  }

  .logout-btn{
    max-width: 320px;
  }
}
/*سند الامر*/
.promissory-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.promissory-modal[aria-hidden="false"]{
  display: block;
}

.promissory-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
}

.promissory-modal-dialog{
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
  background: #fff;
  border-radius: 28px;
  padding: 22px 22px 20px;
  z-index: 2;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}

.promissory-modal-close{
  position: absolute;
  top: 14px;
  left: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid #DADFE3;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.promissory-modal-head{
  text-align: center;
  margin-bottom: 18px;
  padding-top: 8px;
}

.promissory-modal-head h2{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #0A372E;
}

.promissory-modal-head p{
  margin: 0;
  font-size: 13px;
  color: #8D969C;
}

.promissory-step-row{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.promissory-step-text h3{
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1B2B28;
}

.promissory-step-text span{
  font-size: 12px;
  color: #96A0A6;
}

.promissory-step-badge{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1px solid #D9E1DD;
  color: #0A372E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.promissory-alert-box{
  background: #F8FAF9;
  border: 1px solid #E8EEEB;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 11px;
  color: #4B5C58;
  line-height: 1.8;
  margin-bottom: 16px;
}

.promissory-terms-box{
  margin-bottom: 16px;
}

.promissory-term-item{
  margin-bottom: 14px;
}

.promissory-term-item h4{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #7E8F8A;
}

.promissory-term-item p{
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #222;
}

.promissory-check-card{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F8FAF9;
  border: 1px solid #E8EEEB;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  cursor: pointer;
}

.promissory-check{
  display: none;
}

.promissory-check-custom{
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 6px;
  border: 1.5px solid #B9C4BF;
  background: #fff;
  margin-top: 2px;
  position: relative;
}

.promissory-check:checked + .promissory-check-custom{
  background: #0A372E;
  border-color: #0A372E;
}

.promissory-check:checked + .promissory-check-custom::after{
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 84% 8%, 37% 67%);
}

.promissory-check-text strong{
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1A2F2A;
}

.promissory-check-text p{
  margin: 0;
  font-size: 11px;
  color: #7E8B87;
  line-height: 1.8;
}

.promissory-modal-actions{
  display: flex;
  margin-top: 14px;
}

.promissory-next-btn{
  min-width: 180px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #ECEEEF;
  color: #B0B7BD;
  font-size: 13px;
  font-weight: 700;
  cursor: not-allowed;
}

.promissory-next-btn.is-enabled{
  background: #0A372E;
  color: #fff;
  cursor: pointer;
}

body.promissory-modal-open{
  overflow: hidden;
}
.promissory-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.promissory-modal[aria-hidden="false"]{
  display: block;
}

.promissory-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.60);
}

.promissory-modal-shell{
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 16px;
}

.promissory-modal-dialog{
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 32px));
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);

  max-height: none;
  overflow: visible;
}

.promissory-modal-close{
  position: absolute;
  top: 14px;
  left: 16px;
  width: 28px;
  height: 28px;
  border: 1px solid #D9DFE3;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.promissory-step-screen{
  display: none;
}

.promissory-step-screen.is-active{
  display: block;
}

.promissory-modal-head{
  text-align: center;
  margin-bottom: 18px;
  padding-top: 8px;
}

.promissory-modal-head h2{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #0A372E;
}

.promissory-modal-head p{
  margin: 0;
  font-size: 13px;
  color: #8D969C;
}

.promissory-step-row{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.promissory-step-text h3{
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1B2B28;
}

.promissory-step-text span{
  font-size: 12px;
  color: #96A0A6;
}

.promissory-step-badge{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1px solid #D9E1DD;
  color: #0A372E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.promissory-alert-box,
.promissory-code-box,
.promissory-notes-box{
  background: #F8FAF9;
  border: 1px solid #E8EEEB;
  border-radius: 14px;
}

.promissory-alert-box{
  padding: 12px 14px;
  font-size: 11px;
  color: #4B5C58;
  line-height: 1.8;
  margin-bottom: 16px;
}

.promissory-terms-box{
  margin-bottom: 16px;
}

.promissory-term-item{
  margin-bottom: 14px;
}

.promissory-term-item h4{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #7E8F8A;
}

.promissory-term-item p{
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #222;
}

.promissory-check-card{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F8FAF9;
  border: 1px solid #E8EEEB;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  cursor: pointer;
}

.promissory-check{
  display: none;
}

.promissory-check-custom{
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 6px;
  border: 1.5px solid #B9C4BF;
  background: #fff;
  margin-top: 2px;
  position: relative;
}

.promissory-check:checked + .promissory-check-custom{
  background: #0A372E;
  border-color: #0A372E;
}

.promissory-check:checked + .promissory-check-custom::after{
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 84% 8%, 37% 67%);
}

.promissory-check-text strong{
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1A2F2A;
}

.promissory-check-text p{
  margin: 0;
  font-size: 11px;
  color: #7E8B87;
  line-height: 1.8;
}

.promissory-modal-actions{
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.promissory-next-btn,
.promissory-primary-btn,
.promissory-secondary-btn{
  min-width: 160px;
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.promissory-next-btn{
  border: 0;
  background: #ECEEEF;
  color: #B0B7BD;
  cursor: not-allowed;
}

.promissory-next-btn.is-enabled{
  background: #0A372E;
  color: #fff;
  cursor: pointer;
}

.promissory-modal-actions--split{
  gap: 12px;
}

.promissory-primary-btn{
  border: 0;
  background: #C9A66B;
  color: #fff;
}

.promissory-secondary-btn{
  border: 1px solid #E3E7E5;
  background: #fff;
  color: #8B949A;
}

.promissory-timer-wrap{
  display: flex;
  justify-content: center;
  margin: 12px 0 16px;
}

.promissory-timer-circle{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid #E3E7E5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFCFB;
}

.promissory-timer-circle span{
  font-size: 20px;
  font-weight: 800;
  color: #0A372E;
}

.promissory-code-box{
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
}

.promissory-code-time{
  font-size: 13px;
  color: #6D777C;
  margin-bottom: 6px;
}

.promissory-code-box strong{
  display: block;
  font-size: 15px;
  color: #17342E;
  margin-bottom: 6px;
}

.promissory-code-box p{
  margin: 0;
  font-size: 11px;
  color: #7C878C;
}

.promissory-code-box p span{
  color: #0A372E;
  font-weight: 700;
}

.promissory-notes-box{
  padding: 14px 16px;
}

.promissory-notes-box h4{
  margin: 0 0 8px;
  font-size: 12px;
  color: #8B949A;
}

.promissory-notes-box ol{
  margin: 0;
  padding-right: 18px;
}

.promissory-notes-box li{
  font-size: 11px;
  line-height: 1.9;
  color: #35524B;
}

body.promissory-modal-open{
  overflow: hidden;
}
.promissory-success-icon-wrap{
  display: flex;
  justify-content: center;
  margin: 14px 0 16px;
}

.promissory-success-icon{
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #F8FAF9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promissory-summary-card{
  background: #F8FAF9;
  border: 1px solid #E8EEEB;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 14px;
}

.promissory-summary-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.promissory-summary-row:last-child{
  margin-bottom: 0;
}

.promissory-summary-row span{
  font-size: 13px;
  color: #7C878C;
}

.promissory-summary-row strong{
  font-size: 14px;
  font-weight: 700;
  color: #17342E;
}

.promissory-summary-amount{
  color: #0A372E;
}

.promissory-links-row{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.promissory-inline-link{
  font-size: 12px;
  color: #3E4C59;
  text-decoration: underline;
}
.promissory-step4-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promissory-step4-group{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promissory-step4-group label{
  font-size: 12px;
  font-weight: 600;
  color: #4B5C58;
}

.promissory-step4-group input{
  width: 100%;
  height: 42px;
  border: 1px solid #E6ECE8;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  font-size: 12px;
  color: #2B3A37;
  outline: none;
}

.promissory-step4-group input[readonly]{
  background: #FCFDFC;
  color: #7F8A87;
}

.promissory-step4-grid.two-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.promissory-step4-subtitle{
  font-size: 12px;
  font-weight: 700;
  color: #7A8783;
  margin-top: 4px;
}

.promissory-input-wrap{
  position: relative;
}



.promissory-input-currency{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: #B08A55;
}

.promissory-step4-note{
  border: 1px solid #E6ECE8;
  background: #FCFDFC;
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 6px;
}

.promissory-step4-note-date{
  font-size: 11px;
  color: #8A9592;
  margin-bottom: 8px;
}

.promissory-step4-note p{
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 2;
  color: #29413B;
}

.promissory-step4-note span{
  font-size: 11px;
  color: #8A9592;
}

@media (max-width: 640px){
  .promissory-step4-grid.two-cols{
    grid-template-columns: 1fr;
  }
}

/*سياسة الاستخدام*/
.account-main-content--full{
  grid-column: 1 / -1;
}

.policy-page{
  padding: 36px 0 60px;
}

.policy-page-wrap{
  max-width: 1240px;
  margin: 0 auto;
}

.policy-updated-at{
  text-align: right;
  font-size: 14px;
  color: #8A9391;
  margin-bottom: 28px;
}

.policy-content{
  margin-bottom: 42px;
}

.policy-content h3{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #7E8A86;
}

.policy-content p,
.policy-content li{
  font-size: 15px;
  line-height: 2.1;
  color: #1F2937;
}

.policy-content ul{
  margin: 0 0 28px;
  padding-right: 20px;
}

.policy-contact-box{
  background: #F8FAF9;
  border: 1px solid #E7ECEA;
  border-radius: 24px;
  padding: 28px;
}

.policy-contact-head{
  text-align: right;
  margin-bottom: 20px;
}

.policy-contact-head h2{
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #0A372E;
}

.policy-contact-head p{
  margin: 0;
  font-size: 13px;
  color: #7B8582;
}

.policy-contact-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-form-group label{
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.policy-select-wrap select{
  width: 100%;
  height: 48px;
  border: 1px solid #E3E7E5;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  font-size: 13px;
  color: #111827;
  outline: none;
}

.policy-form-group textarea{
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1px solid #E3E7E5;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  font-size: 13px;
  color: #111827;
  outline: none;
}

.policy-submit-btn{
  min-width: 150px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #C9A66B;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.policy-form-actions{
  display: flex;
  justify-content: flex-start;
}

/* =========================
   Account Mobile Fix
========================= */

@media (max-width: 991.98px){

  html,
  body{
    overflow-x: hidden;
  }

  .account-page-section{
    padding: 18px 0 1px !important;
  }

  .account-layout-grid{
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    direction: rtl !important;
    width: 100%;
  }

  .account-main-content{
    order: 2 !important;
    width: 100%;
    min-width: 0;
    direction: rtl;
  }

  /* يحول السايدبار في الجوال لقائمة أفقية مرتبة فوق المحتوى */
  .account-sidebar{
    order: 1 !important;
    width: calc(100% + 24px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 -12px 2px !important;
    padding: 0 12px 8px !important;

    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;

    position: sticky !important;
    top: 72px !important;
    z-index: 30;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    background: #fff;
    direction: rtl;
    scrollbar-width: none;
  }

  .account-sidebar::-webkit-scrollbar{
    display: none;
  }

  .account-sidebar-item{
    flex: 0 0 auto;
    width: auto !important;
    min-width: 116px;
    min-height: 48px !important;
    height: 48px;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    gap: 8px !important;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  }

  .account-sidebar-icon{
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .account-sidebar-icon svg{
    width: 16px !important;
    height: 16px !important;
  }

  .account-sidebar-label{
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1;
  }

  .account-sidebar-item.is-active{
    background: #0A372E !important;
    border-color: #0A372E !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(10, 55, 46, 0.18);
  }

  .account-sidebar-item.is-active .account-sidebar-icon{
    background: #CAA674 !important;
    border-color: #CAA674 !important;
    color: #fff !important;
  }

  .account-sidebar-item--logout{
    color: #EF4444 !important;
    min-width: 120px;
  }

  /* Profile page mobile */
  .profile-content-section{
    padding: 0 !important;
  }

  .profile-card{
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .profile-summary-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px !important;
  }

  .profile-summary-name{
    font-size: 20px !important;
  }

  .profile-summary-badge{
    font-size: 13px;
  }

  .profile-stats-grid{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .profile-stat-item{
    min-height: 78px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    justify-content: space-between;
  }

  .profile-stat-icon{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .profile-stat-label{
    font-size: 13px !important;
  }

  .profile-stat-value{
    font-size: 22px !important;
  }

  .profile-section-card{
    padding: 16px 14px !important;
    margin-bottom: 14px !important;
    border-radius: 18px !important;
  }

  .profile-section-header{
    margin-bottom: 14px !important;
  }

  .profile-section-header h4{
    font-size: 18px !important;
  }

  .profile-fields-grid{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .profile-field label{
    font-size: 13px !important;
  }

  .profile-field input{
    height: 44px !important;
    font-size: 13px !important;
    padding: 0 14px !important;
  }

  .profile-actions{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .profile-btn{
    height: 44px !important;
    font-size: 14px !important;
  }

  /* Hero mobile */
  .auctions-hero-content{
    padding: 28px 16px !important;
  }

  .auctions-breadcrumb{
    font-size: 12px !important;
  }

  .auctions-hero-title{
    font-size: 26px !important;
  }
}
/* =========================
   Mobile Navbar / Side Menu
========================= */

@media (max-width: 991.98px){

  .mobile-navbar-inner{
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-menu-toggle{
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #0A392F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .mobile-brand img{
    max-height: 38px;
    width: auto;
    display: block;
  }


  body.mobile-menu-is-open{
    overflow: hidden;
  }

  body.mobile-menu-is-open::before{
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
  }

  .mobile-menu-panel{
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    z-index: 9999;

    background: #0A372E;
    color: #fff;
    padding: 18px 16px 24px;

    transform: translateX(105%);
    transition: transform .28s ease;
    overflow-y: auto;
    direction: rtl;
    box-shadow: -12px 0 28px rgba(0,0,0,.18);
  }

  .mobile-menu-panel.is-open{
    transform: translateX(0);
  }

  .mobile-menu-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
  }

  .mobile-menu-close2{
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-links{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .mobile-menu-links a{
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
  }

  .mobile-menu-links a.active{
    background: #CAA674;
    color: #0A372E;
  }

  .mobile-menu-search{
    position: relative;
    margin-bottom: 16px;
  }

  .mobile-menu-search input{
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px 0 42px;
    outline: none;
    font-size: 14px;
  }

  .mobile-menu-search span{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0A372E;
    font-size: 18px;
  }

  .mobile-add-btn{
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #CAA674;
    color: #0A372E;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .mobile-add-btn span{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0A372E;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
/* =========================
   Mobile Menu Same Design
========================= */

@media (max-width: 991.98px){

  .mobile-menu-panel{
    width: 100vw !important;
    height: 100dvh !important;
    right: 0 !important;
    left: 0 !important;
    background: #0A372E !important;
    padding: 22px 22px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(100%) !important;
    z-index: 9999 !important;
  }

  .mobile-menu-panel.is-open{
    transform: translateX(0) !important;
  }

  .mobile-menu-top{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 36px !important;
  }

  .mobile-menu-close2{
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .mobile-menu-top .mobile-brand svg,
  .mobile-menu-top .mobile-brand img{
    max-width: 76px !important;
    height: auto !important;
    display: block !important;
  }


  .mobile-user-icon{
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #CAA674 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-user-text{
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
    min-width: 0 !important;
  }

  .mobile-user-text small{
    font-size: 10px !important;
    font-weight: 500 !important;
    color: rgba(10,55,46,.72) !important;
  }

  .mobile-user-text strong{
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #0A372E !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 72px !important;
  }

  .mobile-menu-links{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 26px !important;
    margin-top: 20px !important;
    margin-bottom: 42px !important;
  }

  .mobile-menu-links a{
    width: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.72) !important;
    text-decoration: none !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
  }

  .mobile-menu-links a.active{
    background: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
  }

  .mobile-menu-search{
    position: relative !important;
    margin-top: auto !important;
    margin-bottom: 16px !important;
  }

  .mobile-menu-search input{
    width: 100% !important;
    height: 48px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.04) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 0 20px 0 46px !important;
    outline: none !important;
  }

  .mobile-menu-search input::placeholder{
    color: rgba(255,255,255,.62) !important;
  }

  .mobile-menu-search span{
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: rgba(255,255,255,.78) !important;
    font-size: 20px !important;
  }

  .mobile-add-btn{
    width: 100% !important;
    height: 52px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  .mobile-add-btn span{
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }
}
/* =========================
   Account Menu: Desktop + Mobile List
========================= */

.account-mobile-menu-btn{
  display: none;
}

.account-sidebar-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mobile account menu */
@media (max-width: 991.98px){

  .account-layout-grid{
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    direction: rtl !important;
  }

  .account-main-content{
    order: 2 !important;
    width: 100% !important;
  }

  .account-sidebar{
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    position: static !important;
    top: auto !important;
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .account-mobile-menu-btn{
    width: 100%;
    min-height: 58px;
    border: 1px solid #E6E7E8;
    border-radius: 18px;
    background: #fff;
    padding: 10px 14px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #0A372E;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  }

  .account-mobile-menu-icon{
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #F4F7F6;
    color: #0A372E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .account-mobile-menu-text{
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-left: auto;
    text-align: right;
    line-height: 1.2;
  }

  .account-mobile-menu-text small{
    font-size: 11px;
    font-weight: 500;
    color: #7E8A86;
  }

  .account-mobile-menu-text strong{
    font-size: 15px;
    font-weight: 800;
    color: #0A372E;
  }

  .account-mobile-menu-arrow{
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #CAA674;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: .25s ease;
  }

  .account-sidebar.is-open .account-mobile-menu-arrow{
    transform: rotate(180deg);
  }

  .account-sidebar-list{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;

    transition: max-height .28s ease, opacity .22s ease, margin-top .22s ease;
  }

  .account-sidebar.is-open .account-sidebar-list{
    max-height: 900px;
    opacity: 1;
    margin-top: 10px;
  }

  .account-sidebar-item{
    width: 100% !important;
    min-width: 0 !important;
    min-height: 54px !important;
    height: auto !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    background: #fff !important;
    border: 1px solid #E6E7E8 !important;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  }

  .account-sidebar-item.is-active{
    background: #0A372E !important;
    border-color: #0A372E !important;
    color: #fff !important;
  }

  .account-sidebar-item.is-active .account-sidebar-label{
    color: #fff !important;
  }

  .account-sidebar-icon{
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .account-sidebar-label{
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .account-sidebar-item--logout{
    color: #EF4444 !important;
  }
}
/* =========================
   FINAL Wallet Page Layout Fix
========================= */

.wallet-page{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 24px 0 40px !important;
  direction: rtl !important;
}

.wallet-sections-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  direction: rtl !important;
}

.wallet-section-col{
  min-width: 0 !important;
  width: 100% !important;
}

.wallet-section-title{
  margin: 0 0 14px !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: rgba(157, 164, 174, 1)!important;
  text-align: right !important;
}

.wallet-panel--with-card{
  width: 100% !important;
  padding: 0 24px 24px !important;
  border-radius: 22px !important;
  background: #F9FBFB !important;
  border: 1px solid #E5EBEA !important;
  overflow: hidden !important;
}

.wallet-summary-card{
  width: calc(100% + 48px) !important;
  margin: 0 -24px 24px !important;
  border-radius: 22px 22px 0 0 !important;
  border: 0 !important;
  min-height: 150px !important;
}

.wallet-balance-card,
.wallet-limit-card{
  min-height: 150px !important;
}

.wallet-balance-content,
.wallet-limit-content{
  padding: 22px 28px !important;
}

/* عنوان الفورم */
.wallet-panel--with-card .wallet-panel-head{
  margin-bottom: 18px !important;
}

.wallet-panel--with-card .wallet-panel-head h3{
  margin: 0 !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #0C0507 !important;
  text-align: right !important;
}

.wallet-history{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 28px !important;
  clear: both !important;
  grid-column: 1 / -1 !important;
}

/* يمنع أي float أو grid قديم يخرب ترتيب السجل */
.wallet-history,
.wallet-history-list,
.wallet-history-item{
  float: none !important;
}

/* Mobile */
@media (max-width: 991.98px){
  .wallet-sections-grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .wallet-section-title{
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }

  .wallet-panel--with-card{
    padding: 0 16px 18px !important;
    border-radius: 20px !important;
  }

  .wallet-summary-card{
    width: calc(100% + 32px) !important;
    margin: 0 -16px 18px !important;
    border-radius: 20px 20px 0 0 !important;
    min-height: 120px !important;
  }

  .wallet-balance-content,
  .wallet-limit-content{
    padding: 18px !important;
  }

  .wallet-panel--with-card .wallet-panel-head h3{
    font-size: 22px !important;
  }
}

/* =========================
   Wallet Card/Image Same Size Fix
========================= */

.wallet-sections-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  width: 100% !important;
  direction: rtl !important;
}

.wallet-section-col{
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.wallet-section-title{
  margin: 0 0 14px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  text-align: right !important;
}

/* الكرت الأبيض كامل */
.wallet-panel--with-card{
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border-radius: 22px !important;
  background: #F9FBFB !important;
  border: 1px solid #E5EBEA !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* الصورة/البانر فوق نفس عرض الكرت بالضبط */
.wallet-summary-card{
  width: 100% !important;
  height: 158px !important;
  min-height: 158px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border-radius: 22px 22px 0 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

/* يلغي أي عرض قديم عامل تمدد */
.wallet-balance-card,
.wallet-limit-card{
  width: 100% !important;
  height: 158px !important;
  min-height: 158px !important;
  max-width: 100% !important;
}

.wallet-balance-content,
.wallet-limit-content{
  width: 100% !important;
  height: 100% !important;
  padding: 24px 34px !important;
  box-sizing: border-box !important;
}

.wallet-panel--with-card > :not(.wallet-summary-card){
  margin-left: 34px !important;
  margin-right: 34px !important;
}

.wallet-panel--with-card .wallet-panel-actions{
  margin-bottom: 24px !important;
}

.wallet-balance-visual img,
.wallet-limit-visual img{
  max-width: 112px !important;
  height: auto !important;
  display: block !important;
}

.wallet-panel--with-card{
  min-height: 520px !important;
}

@media (max-width: 991.98px){
  .wallet-sections-grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .wallet-section-title{
    font-size: 22px !important;
  }

  .wallet-summary-card,
  .wallet-balance-card,
  .wallet-limit-card{
    height: 128px !important;
    min-height: 128px !important;
  }

  .wallet-balance-content,
  .wallet-limit-content{
    padding: 18px 20px !important;
  }

  .wallet-panel--with-card > :not(.wallet-summary-card){
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  .wallet-panel--with-card{
    min-height: auto !important;
  }
}
/* Wallet History */
.wallet-history{
  margin-top: 24px;
}

.wallet-history-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wallet-history-head h3{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0C0507;
}

.wallet-history-link{
  font-size: 14px;
  color: #141414;
  text-decoration: underline;
}

.wallet-history-list{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-history-item{
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid #E5EBEA;
  border-radius: 18px;
  background: #F9FBFB;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  direction: rtl;
}

.wallet-history-right{
  flex: 1;
  min-width: 0;
}

.wallet-history-right-top{
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-history-right strong{
  font-size: 16px;
  font-weight: 700;
  color: #141414;
  line-height: 1.4;
}

.wallet-history-right span{
  font-size: 13px;
  color: #6F757E;
  font-weight: 500;
}

.wallet-history-icon{
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1px solid #E5EBEA;
  background: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.wallet-history-icon.success-icon{
  color: #48A16D;
}

.wallet-history-icon.danger-icon{
  color: #D64D4D;
}

.wallet-history-left{
  flex-shrink: 0;
}

.wallet-history-left-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.wallet-history-status{
  min-width: 78px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #EAF8EF;
  color: #3DAA68;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
}

.wallet-history-amount{
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.wallet-history-amount.positive{
  color: #0A372E;
}

.wallet-history-amount.negative{
  color: #D64D4D;
}

@media (max-width: 991.98px){
  .wallet-history{
    margin-top: 18px;
  }

  .wallet-history-head h3{
    font-size: 20px;
  }

  .wallet-history-item{
    min-height: 102px;
    padding: 14px 16px;
    border-radius: 16px;
    gap: 10px;

    flex-direction: row;
    align-items: center;
  }

  .wallet-history-right-top{
    gap: 10px;
  }

  .wallet-history-icon{
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .wallet-history-right strong{
    font-size: 15px;
  }

  .wallet-history-right span{
    font-size: 12px;
  }

  .wallet-history-status{
    min-width: 74px;
    height: 30px;
    font-size: 12px;
  }

  .wallet-history-amount{
    font-size: 17px;
  }
}
@media (max-width: 991.98px){

  .my-bids-page{
    padding: 18px 0 40px;
  }

  .my-bids-tabs{
    justify-content: center;
    gap: 34px;
    margin-bottom: 26px;
    padding-bottom: 12px;
  }

  .my-bids-list{
    gap: 34px;
  }

  .my-bid-item{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    border-bottom: 0;
  }

  .my-bid-thumb{
    order: 1;
    width: 100%;
    height: 136px;
    border-radius: 14px;
  }

  .my-bid-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .my-bid-info{
    order: 2;
    align-items: stretch;
  }

  .my-bid-title,
  .my-bid-title-row{
    justify-content: flex-start;
    text-align: right;
  }

  .my-bid-title{
    font-size: 20px;
    line-height: 1.3;
  }

  .my-bid-note{
    min-height: 0;
    font-size: 12px;
    color: #A5ACA8;
  }

  .my-bid-status-col{
    order: 3;
    align-items: flex-start;
    gap: 14px;
  }

  .my-bid-status{
    order: 1;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 12px;
  }

  .my-bid-prices{
    width: 100%;
    justify-content: center;
    gap: 22px;
    order: 2;
  }

  .my-bid-price-block{
    align-items: center;
  }

  .my-bid-price-label{
    font-size: 12px;
  }

  .my-bid-price-value{
    font-size: 18px;
  }

  .my-bid-price-divider{
    height: 34px;
  }

  .my-bid-link{
    order: 3;
    align-self: flex-start;
    margin-top: 2px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px){

  .my-orders-page{
    padding: 18px 0 40px;
  }

  .my-orders-stats{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .my-orders-stat-card{
    min-height: 64px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .my-orders-tabs{
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 22px;
  }

  .my-orders-tab{
    font-size: 12px;
    white-space: nowrap;
  }

  .my-orders-list{
    gap: 32px;
  }

  .my-order-card{
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .my-order-main{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .my-order-top{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .my-order-thumb{
    width: 100%;
    height: 132px;
    border-radius: 12px;
    overflow: hidden;
  }

  .my-order-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .my-order-title{
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    text-align: right;
  }

  .my-order-side{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    order: 2;
  }

  .my-order-status{
    align-self: center;
    min-height: 28px;
    padding: 0 14px;
    font-size: 12px;
  }

  .my-order-summary-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
    text-align: center;
  }

  .my-order-summary-item:first-child{
    grid-column: 1 / -1;
  }

  .my-order-summary-item{
    align-items: center;
  }

  .my-order-summary-item span{
    font-size: 11px;
  }

  .my-order-summary-item strong{
    font-size: 17px;
  }

  .my-order-seller-box,
  .my-order-alert-box{
    padding: 12px;
    border-radius: 12px;
  }

  .my-order-seller-actions{
    width: 100%;
    justify-content: center;
  }

  .seller-btn{
    flex: 1;
    height: 34px;
    font-size: 12px;
      text-align: center;
  align-content: center;
  }

  .my-order-invoice-btn,
  .my-order-issue-btn{
    min-height: 34px;
    font-size: 12px;
  }
}

@media (max-width: 575.98px){

  .my-order-card{
    position: relative;
      align-items: stretch;

  }

  .my-order-status{
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
  }

  .my-order-side{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 575.98px){

  .my-orders-stats{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .my-orders-tabs{
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 22px;
  }

  .my-orders-tab{
    font-size: 12px;
    white-space: nowrap;
  }

  .my-sales-list{
    gap: 32px;
  }

  .my-sale-card{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .my-sale-card .my-order-main,
  .my-sale-card .my-order-top,
  .my-sale-card .my-order-summary{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .my-sale-card .my-order-thumb{
    width: 100%;
    height: 132px;
    border-radius: 12px;
    overflow: hidden;
  }

  .my-sale-card .my-order-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .my-sale-card .my-order-status{
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
  }

  .my-sale-title{
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    text-align: right;
  }

  .my-sale-title span{
    font-size: 12px;
    color: #9AA4A0;
    font-weight: 500;
  }

  .my-sale-card .my-order-summary-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
    text-align: center;
  }

  .my-sale-card .my-order-summary-grid.two-cols{
    grid-template-columns: 1fr;
  }

  .my-sale-card .my-order-summary-item{
    align-items: center;
  }

  .my-sale-card .my-order-summary-item span{
    font-size: 11px;
  }

  .my-sale-card .my-order-summary-item strong{
    font-size: 17px;
  }

  .my-sale-card .my-order-side{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }


  .my-order-side-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .my-sale-assign-label{
    width: 100%;
    font-size: 12px;
    color: #9AA4A0;
  }

  .my-sale-action-btn{
    flex: 1;
    min-width: 0;
    height: 34px;
    font-size: 12px;
  }

  .my-order-alert-box,
  .my-order-seller-box{
    padding: 12px;
    border-radius: 12px;
  }

  .my-sale-meta-row{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .my-sale-link{
    font-size: 13px;
  }
}


.details-history-table-wrap {
  overflow-x: auto !important;
  scrollbar-color: rgba(10, 55, 46, 1) transparent !important;
  scrollbar-width: thin !important;
}

.details-history-table-wrap::-webkit-scrollbar {
  height: 7px !important;
}

.details-history-table-wrap::-webkit-scrollbar-track {
  background: transparent !important;
  border-radius: 999px !important;
}

.details-history-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(10, 55, 46, 1) !important;
  border-radius: 999px !important;
}

.details-history-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 55, 46, 1) !important;
}
@media (max-width: 575.98px){

  .support-page{
    padding: 18px 0 40px;
  }

  .support-main-grid,
  .support-content-area{
    display: block;
    width: 100%;
  }

  .support-section-title{
    font-size: 20px;
    margin-bottom: 14px;
  }

  .support-contact-cards{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .support-contact-card{
    min-height: 66px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .support-contact-icon{
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .support-contact-text span{
    font-size: 12px;
  }

  .support-contact-text strong{
    font-size: 14px;
  }

  .support-faq-section,
  .support-contact-form-section{
    margin-top: 24px;
  }

  .support-faq-list{
    gap: 10px;
  }

  .support-faq-item{
    border-radius: 16px;
  }

  .support-faq-question{
    min-height: 54px;
    padding: 14px;
    font-size: 14px;
  }

  .support-faq-answer{
    padding: 0 14px 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .support-form-card{
    padding: 16px;
    border-radius: 18px;
  }

  .support-form-head h3{
    font-size: 20px;
  }

  .support-form-head p{
    font-size: 13px;
  }

  .support-form-group{
    gap: 8px;
  }

  .support-form-group label{
    font-size: 13px;
  }

  .support-select-wrap select,
  .support-form-group textarea{
    width: 100%;
    border: 1px solid #E5E7EB;
    background: #fff;
    font-size: 13px;
    outline: none;
  }

  .support-select-wrap select{
    height: 46px;
    border-radius: 999px;
    padding: 0 16px 0 40px;
    appearance: none;
  }

  .support-select-arrow{
    left: 16px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    color: #9AA4A0;
  }

  .support-form-group textarea{
    min-height: 120px;
    border-radius: 18px;
    padding: 14px;
    resize: vertical;
  }

  .support-submit-btn{
    width: 100%;
    height: 46px;
    border-radius: 999px;
    font-size: 14px;
  }

  .support-policy-banner{
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
  }

  .support-policy-image{
    width: 100%;
    height: 120px;
  }

  .support-policy-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .support-policy-content{
    padding: 14px;
  }

  .support-policy-content h3{
    font-size: 18px;
  }

  .support-policy-content p{
    font-size: 13px;
  }
}
.profile-content-section .profile-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: center !important;
    margin-top: 28px !important;
}

.profile-content-section .profile-actions .profile-btn,
.profile-content-section .profile-actions button.profile-btn,
.profile-content-section .profile-actions a.profile-btn {
    width: 100% !important;
    min-height: 54px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}


.profile-content-section .profile-actions .profile-btn-secondary:hover,
.profile-content-section .profile-actions a.profile-btn-secondary:hover {
    background: #F7FAF9 !important;
    color: #0A372E !important;
}

@media (max-width: 575.98px) {
    .profile-content-section .profile-actions {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}
 .my-orders-tab {
        color: #6B7280;
    }

    .my-orders-tab .my-orders-tab-icon svg [stroke] {
        stroke: #6B7280 !important;
    }

    .my-orders-tab .my-orders-tab-icon svg [fill]:not([fill="none"]) {
        fill: #6B7280 !important;
    }

    .my-orders-tab.is-active {
        color: #0A372E;
    }

    .my-orders-tab.is-active .my-orders-tab-icon svg [stroke] {
        stroke: #0A372E !important;
    }

    .my-orders-tab.is-active .my-orders-tab-icon svg [fill]:not([fill="none"]) {
        fill: #0A372E !important;
    }
        .my-sale-action-form {
        display: contents;
    }

    .my-order-status {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 32px;
        padding: 7px 14px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
    }

    .my-order-status.pending {
        background: #F8FAFC !important;
        color: #64748B !important;
    }

    .my-order-status.running {
        background: #FFF7ED !important;
        color: #EA580C !important;
    }

    .my-order-status.completed,
    .my-order-status.delivered,
    .my-order-status.sold {
        background: #ECFDF3 !important;
        color: #16A34A !important;
    }

    .my-order-status.cancelled {
        background: #FEF2F2 !important;
        color: #DC2626 !important;
    }

    .my-order-status.waiting-fee {
        background: #FFF7ED !important;
        color: #C2410C !important;
    }

    .my-order-status.pending-delivery {
        background: #FFF7ED !important;
        color: #F97316 !important;
    }

    .my-order-status::before {
        content: "•";
        font-size: 16px;
        line-height: 1;
    }

    .my-sale-action-btn[disabled],
    .my-order-invoice-btn.disabled,
    .my-order-invoice-btn[disabled] {
        opacity: .55;
        cursor: not-allowed;
        pointer-events: none;
    }

 
.my-bids-tab {
    color: rgba(108, 115, 127, 1);
}

.my-bids-tab.is-active {
    color: #CAA674;
}

.my-bids-tab .my-bids-tab-icon svg [stroke] {
    stroke: currentColor !important;
}

.my-bids-tab .my-bids-tab-icon svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
}
.js-card-fields {
    display: none;
}

.js-card-fields.is-visible {
    display: grid;
}


/* الأفقي / الليست */
.favorites-page .auction-grid.is-horizontal {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px;
    direction: rtl;
}

.favorites-page .auction-grid.is-horizontal .auction-card {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    grid-template-areas: "body image";
    gap: 24px !important;
    align-items: stretch !important;
    padding: 16px !important;
    direction: ltr !important;
}

.favorites-page .auction-grid.is-horizontal .auction-image-wrap {
    grid-area: image;
    width: 360px !important;
    max-width: 100%;
    height: 190px !important;
    min-height: 0 !important;
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
    align-self: stretch;
}

.favorites-page .auction-grid.is-horizontal .auction-image-wrap > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.favorites-page .auction-grid.is-horizontal .auction-body {
    grid-area: body;
    min-width: 0;
    width: 100%;
    padding: 6px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    direction: rtl !important;
}

.favorites-page .auction-grid.is-horizontal .auction-title {
    margin: 0;
    text-align: right;
    line-height: 1.45;
}

.favorites-page .auction-grid.is-horizontal .auction-meta-row {
    margin-top: 12px;
}

.favorites-page .auction-grid.is-horizontal .ending-meta-top,
.favorites-page .auction-grid.is-horizontal .auction-meta-row {
    justify-content: flex-start;
}

.favorites-page .auction-grid.is-horizontal .price-row {
    margin-top: 14px;
    padding-top: 14px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.favorites-page .auction-grid.is-horizontal .details-link {
    flex: 0 0 auto;
    white-space: nowrap;
}

.favorites-page .auction-grid.is-horizontal .countdown-box {
    width: auto !important;
    right: 50% !important;
    left: auto !important;
    transform: translateX(50%) !important;
    bottom: 14px !important;
}

.favorites-page .auction-grid.is-horizontal .ending-badge {
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    width: auto !important;
}

.favorites-page .auction-grid.is-horizontal .badge-favorite {
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
}

@media (min-width: 1200px) {
    .favorites-page .auction-grid:not(.is-horizontal) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1199.98px) and (min-width: 768px) {
    .favorites-page .auction-grid:not(.is-horizontal) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
 
    .favorites-page .auction-grid.is-horizontal .auction-card {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        direction: rtl !important;
    }

    .favorites-page .auction-grid.is-horizontal .auction-image-wrap {
        width: 100% !important;
        height: 220px !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .favorites-page .auction-grid.is-horizontal .auction-body {
        padding: 18px !important;
    }

    .favorites-page .auction-grid.is-horizontal .price-row {
        flex-direction: column-reverse;
        align-items: stretch !important;
    }

    .favorites-page .auction-grid.is-horizontal .details-link {
        width: 100%;
        justify-content: center;
    }
}