
.account-welcome {
  text-align: start;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--y-color-secondary);

}

.section-radio {
  display: none;
}

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

.account-sidebar {
  background: transparent;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 100px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--y-color-text);
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sidebar-item i {
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
}

.sidebar-item:hover {
  color: var(--y-color-secondary);
}

#section-profile:checked ~ .account-sidebar label[for="section-profile"],
#section-orders:checked ~ .account-sidebar label[for="section-orders"],
#section-invoice:checked ~ .account-sidebar label[for="section-invoice"],
#section-notifications:checked
  ~ .account-sidebar
  label[for="section-notifications"],
.account-sidebar label.is-active {
  color: var(--y-color-secondary);
}

#section-profile:checked ~ .account-sidebar label[for="section-profile"]:hover,
#section-orders:checked ~ .account-sidebar label[for="section-orders"]:hover,
#section-invoice:checked ~ .account-sidebar label[for="section-invoice"]:hover,
#section-notifications:checked
  ~ .account-sidebar
  label[for="section-notifications"]:hover {
  color: var(--y-color-secondary);
}

.logout-item {
  margin-top: 1rem;
  border-top: 2px solid #e0e0e0;
  padding-top: 1.5rem;
  color: #d32f2f;
}

.logout-item:hover {
  color: var(--y-color-danger);
}

.account-content {
  background: transparent;
  border-radius: 16px;
  padding: 2rem;
  min-height: 400px;
}

.content-section {
  display: none;
}

#invoice-content .is-hidden {
  display: none !important;
}

#section-profile:checked ~ .account-content #profile-content,
#section-orders:checked ~ .account-content #orders-content,
#section-invoice:checked ~ .account-content #invoice-content,
#section-notifications:checked ~ .account-content #notifications-content {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--y-color-text-dark);
  margin-bottom: 2rem;
}

.profile-form {
  max-width: 800px;
  margin-bottom: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--y-color-text-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--y-color-primary);
  box-shadow: 0 0 0 3px rgba(177, 129, 85, 0.1);
}

.country-text {
  padding: 0.875rem 1rem;
  font-weight: 600;
  color: var(--y-color-text-dark);
}

.btn-save {
  background: var(--y-color-secondary);
  color: var(--y-color-bg);
  padding: 0.875rem 3rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-save:hover {
  background: var(--y-color-primary);
  transform: translateY(-2px);
}

.notification-section {
  background: transparent;
  border: 2px solid var(--y-color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.notification-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.toggle-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.toggle-content i {
  font-size: 2rem;
  color: var(--y-color-secondary);
}

.toggle-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--y-color-text-dark);
}

.toggle-text p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .slider {
  background-color: var(--y-secondary);
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(30px);
}

.delete-account {
  background: transparent;
  border: 2px solid var(--y-color-border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.delete-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.delete-content i {
  font-size: 2rem;
  color: var(--y-color-danger);
}

.delete-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--y-color-text-dark);
}

.delete-text p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.btn-delete {
  background: transparent;
  color: var(--y-color-danger);
  padding: 0.75rem 2rem;
  border: 2px solid var(--y-color-danger);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-delete:hover {
  background: var(--y-color-danger);
  color: white;
}

.orders-list-view {
  display: block;
}

.order-details-view {
  display: none;
}

.orders-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
}

.orders-header {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px,1fr));
  background: transparent;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--y-color-text);
  margin-bottom: 0;
}

.orders-header .order-col {
  padding: 1rem;
  text-align: center;
  border: none;
  background: transparent;
}

.orders-header .order-col-header {
  padding: 1rem;
  background: transparent;
}

.order-item {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px,1fr));
  background: transparent;
  border: 2px solid var(--y-color-secondary);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.order-item:hover {
  transform: translateY(-2px);
}

.order-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--y-color-text);
  text-align: center;
}

.order-image {
  width: 120px;
  height: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--y-color-bg);
  padding: 0.5rem;
}

.order-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 100px;
}

.order-number {
  font-weight: 700;
  font-size: 1.1rem;
}

.order-date {
  font-weight: 600;
}

.order-status {
  font-weight: 700;
  color: var(--y-color-secondary);
}

.order-total {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 600;
}

.total-text {
  font-size: 0.9rem;
  color: var(--y-color-text);
}

.total-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--y-color-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.total-price .custom-currency {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.order-actions {
  padding: 0.75rem;
}

.btn-view {
  background: transparent;
  color: var(--y-color-text);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--y-color-text);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-view:hover {
  background: var(--y-color-text);
  color: white;
}

.address-empty-state {
  max-width: 820px;
}

.address-filled-state {
  max-width: 900px;
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.address-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-add,
.btn-edit {
  padding: 0.65rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.btn-add {
  background: var(--y-color-primary);
  color: var(--y-color-bg);
  border-color: var(--y-color-primary);
}

.btn-add:hover {
  background: transparent;
  color: var(--y-color-primary);
}

.btn-edit {
  background: transparent;
  color: var(--y-color-danger);
  border-color: var(--y-color-danger);
}

.btn-edit:hover {
  background: var(--y-color-danger);
  color: var(--y-color-bg);
}

.address-display-card {
  background: var(--y-color-bg);
  border: 2px solid var(--y-color-secondary);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  max-width: 700px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.address-close {
  position: absolute;
  top: 6.5rem;
  left: 1.5rem;
  background: #ff000000;
  border: 2px solid #ff0000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.address-close:hover {
  background: rgb(255, 0, 0);
  color: #ffffff;
  transform: scale(1.05);
}

.address-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--y-color-text);
  margin-bottom: 1.5rem;
  text-align: right;
  padding-left: 3rem;
}

.address-info {
  text-align: center;
  padding: 1rem 0;
}

.address-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--y-color-text);
  margin-bottom: 1rem;
}

.address-line {
  font-size: 1.15rem;
  color: var(--y-color-text);
  margin-bottom: 0.625rem;
  font-weight: 500;
}

.address-form {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--y-radius-20);
}

.order-details-header {
  background: transparent;
  border: 2px solid var(--y-color-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.order-submitted-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--y-color-text-dark);
  margin: 0;
  line-height: 1.6;
}

.order-details-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.order-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #ccc;
}

.order-details-row:last-child {
  border-bottom: none;
}

.order-details-header-row {
  background: transparent;
  font-weight: 700;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--y-color-text-dark);
}

.order-detail-col {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--y-color-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.order-detail-col .custom-currency {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}


.order-details-header-row .order-detail-col {
  font-size: 1.2rem;
  font-weight: 700;
}

.order-address-section {
  background: transparent;
  border: 2px solid var(--y-secondary);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.order-address-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--y-color-text);
  margin-bottom: 1.5rem;
}

.order-address-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-address-info p {
  font-size: 1.1rem;
  color: var(--y-color-text);
  margin: 0;
  font-weight: 500;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1000px;
}

.notification-item {
  position: relative;
  background: transparent;
  border: 2px solid var(--y-color-secondary);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.75rem 2.75rem;
  transition: all 0.3s ease;
}

.notification-item:hover {
  transform: translateY(-2px);
}

.notification-close {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--y-color-danger);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.notification-close:hover {
  background: var(--y-color-danger);
  transform: translateY(-50%) scale(1.1);
}

.notification-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--y-color-text);
  font-weight: 500;
  margin: 0;
  text-align: right;
}

.notifications-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.notifications-empty i {
  font-size: 4rem;
    color: var(--y-color-border);
  margin-bottom: 1.5rem;
}

.notifications-empty p {
  font-size: 1.2rem;
  color: #666;
}

.top-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 992px) {
  .account-banner {
    height: 150px;
    padding: 0 3%;
  }
  .top-actions{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
  }

  .banner-img {
    height: 130px;
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .account-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 1rem;
    gap: 0.5rem;
  }

  .sidebar-item {
    flex-shrink: 0;
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .sidebar-item span {
    white-space: nowrap;
  }

  .logout-item {
    margin-top: 0;
    border-top: none;
    padding-top: 0.875rem;
    border-left: 2px solid #e0e0e0;
    padding-left: 1rem;
  }

  .account-welcome {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .account-content {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .orders-header {
    grid-template-columns: 100px 150px 150px 130px 160px 120px;
    font-size: 1rem;
  }

  .order-item {
    grid-template-columns: 100px 150px 150px 130px 160px 120px;
  }

  .order-col {
    padding: 1rem 0.75rem;
    font-size: 0.95rem;
  }

  .order-image {
    width: 100px;
  }

  .btn-view {
    padding: 0.45rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .account-banner {
    height: 140px;
  }

  .banner-img {
    height: 120px;
  }

  .account-welcome {
    font-size: 1.9rem;
  }

  .sidebar-item {
    font-size: 0.95rem;
    padding: 0.8rem 0.95rem;
  }

  .account-content {
    padding: 1.4rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
  }

  .toggle-text strong,
  .delete-text strong {
    font-size: 1.05rem;
  }

  .toggle-text p,
  .delete-text p {
    font-size: 0.9rem;
  }

  .orders-header {
    font-size: 1.05rem;
  }

  .order-col {
    font-size: 0.9rem;
  }

  .order-submitted-text {
    font-size: 1.05rem;
  }

  .order-detail-col {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .account-banner {
    height: 120px;
  }

  .banner-img {
    height: 100px;
  }

  .account-container {
    padding: 0 2%;
  }

  .account-welcome {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .account-sidebar {
    padding: 0.75rem 0.5rem;
  }

  .sidebar-item {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .sidebar-item i {
    font-size: 1.1rem;
    width: 20px;
  }

  .account-content {
    padding: 1.25rem;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .notification-toggle,
  .delete-account {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle-content,
  .delete-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-delete,
  .btn-edit {
    text-align: center;
  }

  .address-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .address-display-card {
    padding: 1.5rem;
  }

  .address-close {
    width: 35px;
    height: 35px;
    top: 1rem;
    left: 1rem;
    font-size: 1rem;
  }

  .address-card-title {
    font-size: 1.1rem;
    padding-left: 2.5rem;
  }

  .address-name {
    font-size: 1.2rem;
  }

  .address-line {
    font-size: 1rem;
  }

  .order-details-header {
    padding: 1.5rem;
  }

  .order-submitted-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .order-details-table {
    max-width: 100%;
  }

  .order-detail-col {
    padding: 1rem 0.875rem;
    font-size: 0.95rem;
  }

  .order-details-header-row .order-detail-col {
    font-size: 1.1rem;
    padding: 1.125rem 1rem;
  }

  .order-address-section {
    padding: 1.75rem;
  }

  .order-address-title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }

  .order-address-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .orders-container {
    overflow-x: scroll;
  }

  .orders-header {
    display: none;
  }

  .order-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
    padding: 0;
  }

  .order-image {
    width: 100%;
    height: 150px;
    grid-row: 1;
    grid-column: 1;
  }

  .order-col {
    display: grid;
    grid-template-columns: 120px 1fr;
    text-align: right;
    padding: 0.875rem 1rem;
    border-top: 1px solid rgba(172, 83, 0, 0.2);
  }

  .order-col::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--y-secondary);
    text-align: right;
    padding-left: 1rem;
  }

  .order-number::before {
    content: "رقم الطلب:";
  }

  .order-date::before {
    content: "التاريخ:";
  }

  .order-status::before {
    content: "الحالة:";
  }

  .order-total::before {
    content: "الإجمالي:";
  }

  .order-actions::before {
    content: "إجراءات:";
  }

  .order-total {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .order-actions {
    justify-content: flex-start;
  }

  .btn-view {
    width: auto;
  }
}

@media (max-width: 640px) {
  .account-banner {
    height: 110px;
  }

  .banner-img {
    height: 90px;
  }

  .account-welcome {
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
  }

  .sidebar-item {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.7rem 0.875rem;
    font-size: 0.9rem;
  }

  .btn-save {
    padding: 0.7rem 2.5rem;
    font-size: 0.95rem;
  }

  .notification-section,
  .delete-account {
    padding: 1.35rem;
  }

  .toggle-content i,
  .delete-content i {
    font-size: 1.6rem;
  }

  .notification-item {
    padding: 1rem 1rem 1rem 3.5rem;
  }

  .notification-close {
    width: 36px;
    height: 36px;
  }

  .notification-text {
    font-size: 0.98rem;
  }

  .order-details-header {
    padding: 1.35rem;
  }

  .order-submitted-text {
    font-size: 0.98rem;
  }

  .order-detail-col {
    padding: 0.95rem 0.85rem;
    font-size: 0.93rem;
  }

  .order-address-section {
    padding: 1.6rem;
  }

  .order-address-title {
    font-size: 1.25rem;
  }

  .order-address-info p {
    font-size: 0.98rem;
  }
}

@media (max-width: 576px) {
  .account-banner {
    height: 100px;
    padding: 0 1%;
  }

  .banner-img {
    height: 80px;
  }

  .account-main {
    padding: 1rem 0;
  }

  .account-welcome {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .account-sidebar {
    padding: 0.5rem;
    gap: 0.375rem;
  }

  .sidebar-item {
    padding: 0.625rem 0.75rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .sidebar-item i {
    font-size: 1rem;
    width: 18px;
  }

  .logout-item {
    padding-left: 0.75rem;
  }

  .account-content {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

  .btn-save {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  .notification-section,
  .delete-account {
    padding: 1.25rem;
  }

  .toggle-content i,
  .delete-content i {
    font-size: 1.5rem;
  }

  .toggle-text strong,
  .delete-text strong {
    font-size: 1rem;
  }

  .toggle-text p,
  .delete-text p {
    font-size: 0.85rem;
  }

  .toggle-switch {
    width: 50px;
    height: 26px;
  }

  .slider:before {
    height: 18px;
    width: 18px;
  }

  .toggle-switch input:checked + .slider:before {
    transform: translateX(24px);
  }

  .order-col {
    grid-template-columns: 100px 1fr;
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .order-image {
    height: 120px;
  }

  .order-details-table {
    max-width: 100%;
    margin-bottom: 2.5rem;
  }

}

@media (max-width: 420px) {
  .account-banner {
    height: 80px;
  }

  .banner-img {
    height: 60px;
  }

  .account-welcome {
    font-size: 1.3rem;
  }

 
  .order-col {
    grid-template-columns: 90px 1fr;
    padding: 0.625rem;
    font-size: 0.85rem;
  }

  

}

.footer-col p {
  text-align: center;
}

.footer-col li {
  text-align: start;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #f8f8f8;
  padding: 3rem 2rem;
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: popupFadeIn 0.3s ease-out;
  border: 1px solid #eee;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 1.5rem;
}

.popup-description {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 3rem;
  line-height: 1.6;
  padding: 0 1rem;
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 8rem;
}

.popup-btn {
  padding: 0.8rem 3rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: white;
  transition: all 0.2s ease;
  min-width: 140px;
}

.popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-no {
  background-color: #558b2f; 
}

.btn-confirm {
  background-color: #ff3d00;
}

@media (max-width: 768px) {
  .popup-actions {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .popup-content {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  
  .popup-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .popup-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .popup-actions {
    gap: 1rem;
    flex-direction: column-reverse;
  }

  .popup-btn {
    width: 100%;
    padding: 0.75rem;
  }
}

@media (max-width: 992px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: flex-start;
  }

  .account-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    border: 1px solid var(--y-color-border);
    border-radius: 12px;
    padding: 1rem;
    gap: 0.75rem;
  }

  .sidebar-item {
    flex: 1 1 calc(50% - 0.75rem);
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1rem;
  }

  .logout-item {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .account-content {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .sidebar-item {
    flex: 1 1 100%;
  }

  .account-content {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 540px) {
  .account-sidebar {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .sidebar-item {
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
  }

  .account-content {
    padding: 1rem;
  }

  .btn-save {
    width: 100%;
    text-align: center;
  }
}