/* My Account Page Styles */

/* Account Section */
.account {
  background: #f8f9fa;
  min-height: 70vh;
  padding-top: 20px; /* Reduced from default to decrease gap with breadcrumb */
}

.account__wrapper {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
  animation: fadeInUp 0.6s ease-out;
}

/* Account Orders Section */
.account__orders {
  max-width: 100%;
}

.account__orders .section-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.account__orders .section-title h4 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 24px;
  position: relative;
  display: inline-block;
}

.account__orders .section-title h4:after {
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 70px;
  background: #fbbc4a;
  content: "";
  animation: expandWidth 0.8s ease-out;
}

.account__orders .section-title p {
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Account Navigation */
.account__navigation {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: 30px;
  animation: fadeInLeft 0.6s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.account__navigation__wrapper {
  padding: 30px;
}

.account__user__info {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 30px;
}

.user__avatar {
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.user__avatar:hover {
  transform: scale(1.05);
}

.user__avatar img {
  border-radius: 50%;
  border: 3px solid #fbbc4a;
  width: 80px;
  height: 80px;
  object-fit: cover;
  transition: border-color 0.3s ease;
}

.user__avatar img:hover {
  border-color: #e5a53c;
}

.user__details h5 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 5px;
}

.user__details p {
  color: #666666;
  font-size: 13px;
  margin: 0;
}

/* Account Menu */
.account__menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.account__menu ul li {
  margin-bottom: 5px;
  animation: slideInRight 0.4s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
  opacity: 0;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.account__menu ul li:nth-child(1) {
  --i: 1;
}
.account__menu ul li:nth-child(2) {
  --i: 2;
}
.account__menu ul li:nth-child(3) {
  --i: 3;
}
.account__menu ul li:nth-child(4) {
  --i: 4;
}
.account__menu ul li:nth-child(5) {
  --i: 5;
}
.account__menu ul li:nth-child(6) {
  --i: 6;
}
.account__menu ul li:nth-child(7) {
  --i: 7;
}

.account__menu ul li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #666666;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.account__menu ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 188, 74, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.account__menu ul li a:hover::before {
  left: 100%;
}

.account__menu ul li a i {
  margin-right: 12px;
  width: 18px;
  font-size: 16px;
  color: #fbbc4a;
  transition: all 0.3s ease;
}

.account__menu ul li a:hover {
  background: #f8f9fa;
  color: #111111;
  text-decoration: none;
  transform: translateX(5px);
}

.account__menu ul li a:hover i {
  transform: scale(1.1);
}

.account__menu ul li.is-active a,
.account__menu
  ul
  li.woocommerce-MyAccount-navigation-link--dashboard.is-active
  a {
  background: #fbbc4a;
  color: #ffffff;
  transform: translateX(5px);
}

.account__menu ul li.is-active a i {
  color: #ffffff;
}

/* Account Content */
.account__content {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px; /* Reduced from 40px to decrease gap */
  animation: fadeInRight 0.6s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Dashboard Styles */
.account__dashboard {
  max-width: 100%;
}

.dashboard__welcome .section-title {
  margin-bottom: 40px;
}

.dashboard__welcome .section-title h4 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.dashboard__welcome .section-title h4:after {
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 70px;
  background: #fbbc4a;
  content: "";
  animation: expandWidth 0.8s ease-out;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 70px;
  }
}

.dashboard__welcome .section-title p {
  color: #666666;
  font-size: 15px;
  line-height: 1.6;
}

.dashboard__welcome .section-title p a {
  color: #fbbc4a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dashboard__welcome .section-title p a:hover {
  text-decoration: underline;
  color: #e5a53c;
}

/* Quick Actions */
.dashboard__quick__actions {
  margin-bottom: 50px;
}

.dashboard__action__item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  margin-bottom: 30px;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.dashboard__action__item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(251, 188, 74, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  z-index: 1;
}

.dashboard__action__item:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.dashboard__action__item:hover {
  background: #ffffff;
  border-color: #fbbc4a;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.action__icon {
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.action__icon i {
  font-size: 40px;
  color: #fbbc4a;
  transition: all 0.3s ease;
}

.dashboard__action__item:hover .action__icon i {
  transform: scale(1.1) rotate(5deg);
  color: #e5a53c;
}

.action__content {
  position: relative;
  z-index: 2;
}

.action__content h6 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.dashboard__action__item:hover .action__content h6 {
  color: #fbbc4a;
}

.action__content p {
  color: #666666;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.action__content .site-btn {
  padding: 10px 25px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.action__content .site-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(251, 188, 74, 0.3);
}

/* Summary Cards */
.dashboard__summary {
  margin-top: 30px;
}

.summary__card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.summary__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card__header {
  background: #f8f9fa;
  padding: 20px 25px;
  border-bottom: 1px solid #e9ecef;
  transition: background 0.3s ease;
}

.summary__card:hover .card__header {
  background: #fbbc4a;
}

.card__header h5 {
  margin: 0;
  color: #111111;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.summary__card:hover .card__header h5 {
  color: #ffffff;
}

.card__header h5 i {
  margin-right: 8px;
  color: #fbbc4a;
  transition: color 0.3s ease;
}

.summary__card:hover .card__header h5 i {
  color: #ffffff;
}

.card__content {
  padding: 25px;
}

/* Recent Orders */
.recent__orders {
  max-height: 300px;
  overflow-y: auto;
}

.order__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #f1f1f1;
  transition: all 0.3s ease;
}

.order__item:hover {
  background: #f8f9fa;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 6px;
}

.order__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order__info {
  flex: 1;
}

.order__number {
  font-weight: 600;
  color: #111111;
  display: block;
  margin-bottom: 3px;
  transition: color 0.3s ease;
}

.order__item:hover .order__number {
  color: #fbbc4a;
}

.order__date {
  font-size: 12px;
  color: #666666;
}

.order__status {
  margin: 0 15px;
}

.status {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status i {
  font-size: 10px;
}

.status:hover {
  transform: scale(1.05);
}

.status--pending {
  background: #fff3cd;
  color: #856404;
}

.status--processing {
  background: #d1ecf1;
  color: #0c5460;
}

.status--on-hold {
  background: #f8d7da;
  color: #721c24;
}

.status--completed {
  background: #d4edda;
  color: #155724;
}

.status--cancelled {
  background: #f8d7da;
  color: #721c24;
}

.status--refunded {
  background: #e2e3e5;
  color: #383d41;
}

.status--failed {
  background: #f8d7da;
  color: #721c24;
}

.order__total {
  font-weight: 600;
  color: #fbbc4a;
  font-size: 14px;
}

/* Quick Links */
.quick__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick__link {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  color: #666666;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.quick__link:hover::before {
  left: 100%;
}

.quick__link:hover {
  background: #fbbc4a;
  color: #ffffff;
  text-decoration: none;
  transform: translateX(5px);
}

.quick__link i {
  margin-right: 12px;
  width: 20px;
  color: #fbbc4a;
  font-size: 16px;
  transition: all 0.3s ease;
}

.quick__link:hover i {
  color: #ffffff;
  transform: scale(1.1);
}

.quick__link span {
  flex: 1;
  font-weight: 500;
}

.quick__link small {
  font-size: 11px;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.quick__link:hover small {
  background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
  .account__navigation {
    margin-bottom: 30px;
  }

  .account__wrapper {
    padding: 30px 20px;
  }

  .account__content {
    padding: 30px 20px;
  }

  .dashboard__action__item {
    margin-bottom: 20px;
    padding: 25px 20px;
  }
}

@media (max-width: 767px) {
  .account__navigation__wrapper {
    padding: 20px;
  }

  .account__wrapper {
    padding: 20px 15px;
  }

  .account__content {
    padding: 20px 15px;
  }

  .dashboard__action__item {
    text-align: center;
    padding: 20px 15px;
  }

  .order__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .order__status {
    margin: 0;
  }

  .quick__link {
    padding: 10px 12px;
  }
}

/* WooCommerce Form Overrides for Account Pages */
.woocommerce-MyAccount-content .woocommerce-form-row {
  margin-bottom: 20px;
}

.woocommerce-MyAccount-content .woocommerce-form-row label {
  font-weight: 500;
  color: #111111;
  margin-bottom: 8px;
  display: block;
}

.woocommerce-MyAccount-content .woocommerce-form-row input[type="text"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="email"],
.woocommerce-MyAccount-content .woocommerce-form-row input[type="password"],
.woocommerce-MyAccount-content .woocommerce-form-row select,
.woocommerce-MyAccount-content .woocommerce-form-row textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.woocommerce-MyAccount-content .woocommerce-form-row input:focus,
.woocommerce-MyAccount-content .woocommerce-form-row select:focus,
.woocommerce-MyAccount-content .woocommerce-form-row textarea:focus {
  outline: none;
  border-color: #fbbc4a;
  box-shadow: 0 0 0 2px rgba(251, 188, 74, 0.1);
}

.woocommerce-MyAccount-content .woocommerce-Button {
  background: #fbbc4a;
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.woocommerce-MyAccount-content .woocommerce-Button:hover {
  background: #e5a53c;
  transform: translateY(-2px);
}

/* Address Book Styling */
.woocommerce-Address {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.woocommerce-Address-title h3 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 15px;
}

.woocommerce-Address address {
  color: #666666;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Enhanced Orders Table */
.orders__wrapper {
  margin-top: 15px; /* Reduced from 30px to decrease gap */
  animation: fadeInUp 0.6s ease-out;
}

.orders__table__container {
  background: #ffffff;
  border-radius: 12px;
  overflow-x: auto; /* Allow horizontal scrolling on small screens */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.orders__table__container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.orders__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
  min-width: 800px; /* Minimum width to prevent squishing */
}

.orders__table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.orders__table thead th {
  padding: 15px 20px;
  border-bottom: 2px solid #e9ecef;
  font-weight: 600;
  color: #111111 !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-right: 1px solid #e9ecef;
  text-align: left;
  white-space: nowrap; /* Prevent text wrapping */
  position: relative;
}

.orders__table thead th:last-child {
  border-right: none;
}

.orders__table thead th:first-child {
  width: 120px; /* Order column */
}

.orders__table thead th:nth-child(2) {
  width: 140px; /* Date column */
}

.orders__table thead th:nth-child(3) {
  width: 120px; /* Status column */
}

.orders__table thead th:nth-child(4) {
  width: 130px; /* Total column */
}

.orders__table thead th:nth-child(5) {
  width: 100px; /* Actions column */
}

.orders__table thead th .nobr {
  color: #111111;
  font-weight: 600;
  font-size: 13px;
}

.orders__table__body .orders__table__row {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f1f1;
  position: relative;
}

.orders__table__body .orders__table__row:hover {
  background: #f8f9fa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.orders__table__body .orders__table__row:last-child {
  border-bottom: none;
}

.orders__table__body .orders__table__cell {
  padding: 20px;
  border-bottom: none;
  vertical-align: middle;
  position: relative;
  border-right: 1px solid #f1f1f1;
}

.orders__table__body .orders__table__cell:last-child {
  border-right: none;
}

.orders__table__cell__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.orders__table__label {
  display: none;
  font-weight: 600;
  color: #666666;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.orders__table__header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.orders__table__header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(251, 188, 74, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.orders__table__container:hover .orders__table__header::before {
  left: 100%;
}

.orders__table__header th {
  padding: 20px 25px;
  border-bottom: 2px solid #e9ecef;
  font-weight: 600;
  color: #111111;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  background: transparent;
  border-right: 1px solid #e9ecef;
}

.orders__table__header th:last-child {
  border-right: none;
}

.orders__table__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-weight: 600;
}

.orders__table__body .orders__table__row {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f1f1;
  position: relative;
}

.orders__table__body .orders__table__row:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.orders__table__body .orders__table__row:last-child {
  border-bottom: none;
}

.orders__table__body .orders__table__cell {
  padding: 25px;
  border-bottom: none;
  vertical-align: middle;
  position: relative;
}

.orders__table__cell__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.orders__table__label {
  display: none;
  font-weight: 600;
  color: #666666;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

/* Order Number Styling */
.order__number__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbc4a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.order__number__link:hover {
  color: #e5a53c;
  text-decoration: none;
  transform: translateX(3px);
}

.order__number__link i {
  font-size: 12px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.order__number__link:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* Order Date Styling */
.order__date__wrapper {
  display: flex;
  align-items: center;
}

.order__date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666666;
  font-size: 14px;
}

.order__date i {
  color: #fbbc4a;
  font-size: 13px;
}

/* Order Status Enhanced Styling */
.order__status__wrapper {
  display: flex;
  align-items: center;
}

.order__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.order__status::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.order__status:hover::before {
  left: 100%;
}

.status__indicator {
  font-size: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.status--pending {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status--processing {
  background: linear-gradient(135deg, #d1ecf1 0%, #74b9ff 100%);
  color: #0c5460;
  border: 1px solid #74b9ff;
}

.status--on-hold {
  background: linear-gradient(135deg, #f8d7da 0%, #fd79a8 100%);
  color: #721c24;
  border: 1px solid #fd79a8;
}

.status--completed {
  background: linear-gradient(135deg, #d4edda 0%, #00b894 100%);
  color: #155724;
  border: 1px solid #00b894;
}

.status--cancelled {
  background: linear-gradient(135deg, #f8d7da 0%, #e17055 100%);
  color: #721c24;
  border: 1px solid #e17055;
}

.status--refunded {
  background: linear-gradient(135deg, #e2e3e5 0%, #636e72 100%);
  color: #383d41;
  border: 1px solid #636e72;
}

.status--failed {
  background: linear-gradient(135deg, #f8d7da 0%, #d63031 100%);
  color: #721c24;
  border: 1px solid #d63031;
}

/* Order Total Styling */
.order__total__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.order__total {
  font-weight: 700;
  color: #fbbc4a;
  font-size: 16px;
}

.order__items {
  color: #999999;
  font-size: 11px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Order Actions Enhanced Styling */
.order__actions__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order__action__btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.order__action__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.order__action__btn:hover::before {
  left: 100%;
}

.order__action__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.order__action__btn i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.order__action__btn:hover i {
  transform: scale(1.1);
}

.order__action__btn--view {
  background: #fbbc4a;
  color: #ffffff;
  border: 1px solid #fbbc4a;
}

.order__action__btn--view:hover {
  background: #e5a53c;
  color: #ffffff;
}

.order__action__btn--pay {
  background: #00b894;
  color: #ffffff;
  border: 1px solid #00b894;
}

.order__action__btn--pay:hover {
  background: #00a085;
  color: #ffffff;
}

.order__action__btn--cancel {
  background: #e17055;
  color: #ffffff;
  border: 1px solid #e17055;
}

.order__action__btn--cancel:hover {
  background: #d63031;
  color: #ffffff;
}

/* Responsive Design for Orders Table */
@media (max-width: 991px) {
  .orders__table__container {
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }

  .orders__table {
    min-width: 700px; /* Reduce minimum width on tablets */
  }

  .orders__table thead th {
    padding: 12px 15px;
    font-size: 12px;
  }

  .orders__table__body .orders__table__cell {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  .orders__table__container {
    border-radius: 6px;
    overflow: visible; /* Remove horizontal scroll on mobile */
  }

  .orders__table {
    display: block;
    width: 100%;
    min-width: auto;
    overflow: visible;
  }

  .orders__table thead {
    display: none; /* Hide header on mobile */
  }

  .orders__table__body {
    display: block;
  }

  .orders__table__body .orders__table__row {
    display: block;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
  }

  .orders__table__body .orders__table__row:hover {
    transform: none;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .orders__table__body .orders__table__cell {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    border-right: none;
    text-align: left;
    width: 100%;
  }

  .orders__table__body .orders__table__cell:last-child {
    border-bottom: none;
  }

  .orders__table__label {
    display: block;
  }

  .orders__table__cell__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .order__actions__wrapper {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .order__action__btn {
    font-size: 11px;
    padding: 6px 12px;
  }
} /* Empty States */
.orders__empty,
.downloads__empty,
.addresses__empty {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 30px 0;
}

.empty__content {
  max-width: 400px;
  margin: 0 auto;
}

.empty__icon {
  margin-bottom: 25px;
}

.empty__icon i {
  font-size: 60px;
  color: #ddd;
}

.empty__content h5 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.empty__content p {
  color: #666666;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Account Form Sections */
.account__section {
  margin-bottom: 40px;
}

.account__section:last-child {
  margin-bottom: 0;
}

.account__section .section-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f1f1;
}

.account__section .section-title h4 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 8px;
}

.account__section .section-title p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

/* Pagination */
.woocommerce-pagination {
  text-align: center;
  margin-top: 30px;
}

.woocommerce-pagination .woocommerce-button {
  background: #fbbc4a;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.woocommerce-pagination .woocommerce-button:hover {
  background: #e5a53c;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Success Messages */
.woocommerce-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.woocommerce-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.woocommerce-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Loading States */
.loading-overlay {
  position: relative;
}

.loading-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  display: none;
}

.loading-overlay.loading::before {
  display: block;
}

.loading-overlay::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #fbbc4a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
  display: none;
}

.loading-overlay.loading::after {
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Address Section Styles */
.account__addresses {
  max-width: 100%;
}

.addresses__wrapper {
  margin-top: 30px;
}

.address__item {
  margin-bottom: 30px;
}

.address__card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.address__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: #fbbc4a;
}

.address__header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px 25px;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.address__header::before {
  content: "";
  position: absolute;
  top: 0;
  right: -50px;
  width: 100px;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(251, 188, 74, 0.1));
  transform: skewX(-20deg);
  transition: transform 0.3s ease;
}

.address__card:hover .address__header::before {
  transform: skewX(-20deg) translateX(150px);
}

.address__header h5 {
  margin: 0;
  color: #111111;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.address__header h5 i {
  margin-right: 12px;
  color: #fbbc4a;
  font-size: 20px;
  transition: all 0.3s ease;
}

.address__card:hover .address__header h5 i {
  transform: scale(1.1) rotate(5deg);
  color: #e5a53c;
}

.address__content {
  padding: 25px;
  min-height: 150px;
  display: flex;
  align-items: center;
  position: relative;
}

.address__details {
  width: 100%;
  line-height: 1.8;
  color: #666666;
  font-size: 14px;
}

.address__details address {
  margin: 0;
  font-style: normal;
}

.address__empty {
  text-align: center;
  width: 100%;
  color: #999999;
}

.address__empty i {
  font-size: 40px;
  color: #ddd;
  margin-bottom: 15px;
  display: block;
}

.address__empty p {
  margin: 0;
  font-style: italic;
}

.address__actions {
  padding: 20px 25px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.address__actions .site-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.address__actions .site-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.address__actions .site-btn:hover::before {
  left: 100%;
}

.address__actions .site-btn i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.address__actions .site-btn:hover i {
  transform: scale(1.1);
}

/* Address Form Styles */
.account__address {
  max-width: 100%;
}

.address__form__wrapper {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #111111;
  font-weight: 600;
  font-size: 14px;
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fbbc4a;
  box-shadow: 0 0 0 3px rgba(251, 188, 74, 0.1);
  transform: translateY(-1px);
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.form-actions .site-btn {
  flex: 1;
  min-width: 150px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-actions .site-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-actions .site-btn--outline {
  background: transparent;
  border: 2px solid #e9ecef;
  color: #666666;
}

.form-actions .site-btn--outline:hover {
  border-color: #fbbc4a;
  color: #fbbc4a;
  background: rgba(251, 188, 74, 0.1);
}

/* Password Field Styles */
.password-field {
  position: relative;
  display: block;
  width: 100%;
}

.password-field input {
  width: 100% !important;
  padding-right: 50px !important;
  box-sizing: border-box;
  height: auto;
  min-height: 42px; /* Ensure minimum height for consistent positioning */
}

#password {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666666;
  cursor: pointer;
  padding: 6px;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  pointer-events: auto;
  margin: 0; /* Reset margins */
  line-height: 1; /* Reset line height */
}

.password-toggle:hover {
  color: #fbbc4a;
  background: rgba(251, 188, 74, 0.1);
}

.password-toggle i {
  font-size: 14px;
  transition: all 0.3s ease;
  pointer-events: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: block;
}

.password-toggle.active i {
  color: #fbbc4a;
} /* Override any default WooCommerce password styling */
.woocommerce-Input--password {
  position: relative;
}

/* Ensure no conflicting styles from WooCommerce */
.woocommerce form .form-row .password-field input[type="password"],
.woocommerce form .form-row .password-field input[type="text"] {
  padding-right: 50px !important;
}

/* Hide WooCommerce default password toggle completely */
.password-input .show-password-input,
.woocommerce .show-password-input,
.show-password-input {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Fix WooCommerce password input wrapper conflicts */
.password-input {
  position: static !important;
  display: block !important;
}

.password-input button {
  display: none !important;
}

/* Login/Register Form Password Fields */
.checkout__form__input .password-field {
  position: relative;
  display: block;
  width: 100%;
}

.checkout__form__input .password-field input {
  width: 100% !important;
  padding-right: 50px !important;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 12px 15px !important;
  font-size: 14px;
  transition: all 0.3s ease;
  height: 45px; /* Fixed height for consistent positioning */
  line-height: 1.4;
}

.checkout__form__input .password-field input:focus {
  border-color: #fbbc4a;
  outline: none;
  box-shadow: 0 0 0 2px rgba(251, 188, 74, 0.2);
}

.checkout__form__input .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666666;
  cursor: pointer;
  padding: 6px;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  margin-top: 0; /* Reset any inherited margins */
}

.checkout__form__input .password-toggle:hover {
  color: #fbbc4a;
  background: rgba(251, 188, 74, 0.1);
}

.checkout__form__input .password-toggle i {
  font-size: 14px;
  transition: all 0.3s ease;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.checkout__form__input .password-toggle.active i {
  color: #fbbc4a;
}

/* Ensure proper positioning for different input states */
.checkout__form__input {
  position: relative;
}

.checkout__form__input p {
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

/* Fix for mobile and different screen sizes */
@media (max-width: 768px) {
  .checkout__form__input .password-toggle {
    right: 10px;
    width: 26px;
    height: 26px;
  }

  .checkout__form__input .password-toggle i {
    font-size: 13px;
  }
}

/* Additional fixes for perfect centering */
.password-toggle {
  /* Ensure the toggle is perfectly centered regardless of input height */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle;
}

.password-toggle i {
  /* Center the icon within the toggle button */
  display: block;
  text-align: center;
  vertical-align: middle;
}

/* Fix for WooCommerce form styles that might interfere */
.woocommerce form .password-field {
  position: relative !important;
}

.woocommerce form .password-field input[type="password"],
.woocommerce form .password-field input[type="text"] {
  padding-right: 45px !important;
}

/* Reset form specific styling */
.woocommerce-ResetPassword .password-field {
  position: relative;
  display: block;
  width: 100%;
}

.woocommerce-ResetPassword .password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666666;
  cursor: pointer;
  padding: 6px;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.woocommerce-ResetPassword .password-toggle:hover {
  color: #fbbc4a;
  background: rgba(251, 188, 74, 0.1);
}

.woocommerce-ResetPassword .password-toggle i {
  font-size: 14px;
  transition: all 0.3s ease;
}

.woocommerce-ResetPassword .password-toggle.active i {
  color: #fbbc4a;
}

/* Form validation states */
.checkout__form__input.error input {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

.checkout__form__input.success input {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2) !important;
}

.checkout__form__input.error p {
  color: #e74c3c;
}

.checkout__form__input.success p {
  color: #27ae60;
}

/* Account form validation states */
.woocommerce-form-row.error input {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

.woocommerce-form-row.success input {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2) !important;
}

.woocommerce-form-row.error label {
  color: #e74c3c;
}

.woocommerce-form-row.success label {
  color: #27ae60;
}

/* Account Edit Styles */
.account__edit {
  max-width: 100%;
}

.account__section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.account__section:hover {
  border-color: #fbbc4a;
  box-shadow: 0 5px 15px rgba(251, 188, 74, 0.1);
}

.account__section .section-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}

.account__section .section-title h4 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 18px;
}

.account__section .section-title p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.account__section .form-row {
  margin-bottom: 20px;
}

.account__section .form-row label {
  display: block;
  margin-bottom: 8px;
  color: #111111;
  font-weight: 600;
  font-size: 14px;
}

.account__section .form-row .required {
  color: #e74c3c;
  margin-left: 3px;
}

.account__section .form-row input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.account__section .form-row input:focus {
  outline: none;
  border-color: #fbbc4a;
  box-shadow: 0 0 0 3px rgba(251, 188, 74, 0.1);
  transform: translateY(-1px);
}

.account__section .form-row span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #666666;
  font-style: italic;
}

/* Form help text styling */
.form-help-text {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666666;
  font-style: italic;
  line-height: 1.4;
}

/* Enhanced label styling for password fields */
.account__section .password-field {
  margin-bottom: 6px;
}

.account__section label[for^="password"] {
  color: #111111;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

/* Input placeholder styling */
.account__section input::placeholder {
  color: #999999;
  font-style: italic;
}

.account__section input:focus::placeholder {
  color: #bbbbbb;
}
.form-actions {
  margin-top: 40px;
  text-align: center;
}

.form-actions .woocommerce-Button {
  background: #fbbc4a;
  color: #ffffff;
  border: none;
  padding: 15px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-actions .woocommerce-Button:hover {
  background: #e5a53c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(251, 188, 74, 0.3);
}

/* Enhanced WooCommerce Order Details Table */
.woocommerce-order-details .shop_table {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  margin: 0;
  width: 100%;
}

.woocommerce-order-details .shop_table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.woocommerce-order-details .shop_table thead th {
  padding: 20px 25px;
  font-weight: 600;
  color: #111111;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
}

.woocommerce-order-details .shop_table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #f1f1f1;
}

.woocommerce-order-details .shop_table tbody tr:hover {
  background: #f8f9fa;
}

.woocommerce-order-details .shop_table tbody tr:last-child {
  border-bottom: none;
}

.woocommerce-order-details .shop_table tbody td {
  padding: 20px 25px;
  vertical-align: middle;
  border-bottom: none;
  color: #666666;
}

.woocommerce-order-details .shop_table .product-name {
  font-weight: 600;
  color: #111111;
}

.woocommerce-order-details .shop_table .product-name a {
  color: #fbbc4a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.woocommerce-order-details .shop_table .product-name a:hover {
  color: #e5a53c;
  text-decoration: underline;
}

.woocommerce-order-details .shop_table .product-total {
  font-weight: 600;
  color: #fbbc4a;
  font-size: 16px;
}

.woocommerce-order-details .shop_table tfoot tr {
  background: #f8f9fa;
}

.woocommerce-order-details .shop_table tfoot th,
.woocommerce-order-details .shop_table tfoot td {
  padding: 15px 25px;
  font-weight: 600;
  border-top: 1px solid #e9ecef;
}

.woocommerce-order-details .shop_table tfoot .order-total th,
.woocommerce-order-details .shop_table tfoot .order-total td {
  background: #fbbc4a;
  color: #ffffff;
  font-size: 18px;
}

/* Order Meta Information */
.woocommerce-customer-details {
  margin-top: 30px;
}

.woocommerce-customer-details .col-1,
.woocommerce-customer-details .col-2 {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woocommerce-customer-details h2 {
  color: #111111;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce-customer-details h2::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #fbbc4a;
  border-radius: 2px;
}

.woocommerce-customer-details address {
  color: #666666;
  line-height: 1.8;
  font-style: normal;
}

/* Order Downloads */
.woocommerce-order-downloads .shop_table {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.woocommerce-order-downloads .download-actions .button {
  background: #fbbc4a;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.woocommerce-order-downloads .download-actions .button:hover {
  background: #e5a53c;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(251, 188, 74, 0.3);
}

/* Responsive Design for Order Tables */
@media (max-width: 767px) {
  .woocommerce-order-details .shop_table,
  .woocommerce-order-downloads .shop_table {
    font-size: 13px;
  }

  .woocommerce-order-details .shop_table thead {
    display: none;
  }

  .woocommerce-order-details .shop_table tbody tr {
    display: block;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0;
  }

  .woocommerce-order-details .shop_table tbody td {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    text-align: left;
  }

  .woocommerce-order-details .shop_table tbody td:before {
    content: attr(data-title) ": ";
    font-weight: 600;
    color: #111111;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
  }

  .woocommerce-order-details .shop_table tbody td:last-child {
    border-bottom: none;
  }

  .woocommerce-customer-details .col-1,
  .woocommerce-customer-details .col-2 {
    padding: 20px 15px;
  }
}

/* Responsive Design for Order View */
@media (max-width: 991px) {
  .order__header {
    padding: 25px 20px;
  }

  .order__actions__header {
    text-align: center;
    margin-top: 20px;
  }

  .order__summary__card {
    margin-bottom: 20px;
    padding: 20px 15px;
  }

  .order__details__section,
  .order__notes__section {
    padding: 25px 20px;
  }
}

@media (max-width: 767px) {
  .order__header {
    padding: 20px 15px;
    text-align: center;
  }

  .order__title__section .section-title h4 {
    font-size: 20px;
  }

  .order__summary__card {
    padding: 15px;
  }

  .card__icon i {
    font-size: 28px;
  }

  .customer__info__card .card__header,
  .customer__info__card .card__content {
    padding: 20px 15px;
  }

  .order__details__section,
  .order__notes__section {
    padding: 20px 15px;
  }

  .order__actions__section {
    padding: 20px 15px;
  }

  .order__actions__section .order__actions__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .order__actions__section .order__action__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .note__header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .order__note {
    padding: 15px;
  }
}

/* Responsive Design for Order View */
@media (max-width: 991px) {
  .order__header {
    padding: 25px 20px;
  }

  .order__actions__header {
    text-align: center;
    margin-top: 20px;
  }

  .order__summary__card {
    margin-bottom: 20px;
    padding: 20px 15px;
  }

  .order__details__section,
  .order__notes__section {
    padding: 25px 20px;
  }
}

@media (max-width: 767px) {
  .order__header {
    padding: 20px 15px;
    text-align: center;
  }

  .order__title__section .section-title h4 {
    font-size: 20px;
  }

  .order__summary__card {
    padding: 15px;
  }

  .card__icon i {
    font-size: 28px;
  }

  .customer__info__card .card__header,
  .customer__info__card .card__content {
    padding: 20px 15px;
  }

  .order__details__section,
  .order__notes__section {
    padding: 20px 15px;
  }

  .order__actions__section {
    padding: 20px 15px;
  }

  .order__actions__section .order__actions__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .order__actions__section .order__action__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .note__header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .order__note {
    padding: 15px;
  }
}


/* =================================================================
   Order View Page - Enhanced Clean Design (v2)
   ================================================================= */

.account__order__view {
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

/* Updated Order Header */
.account__order__view .order__header {
    background: linear-gradient(135deg, #fbbc4a 0%, #f8b03a 100%);
    color: #fff;
    padding: 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
}

.account__order__view .order__header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.account__order__view .order__title__section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.account__order__view .order__title__section .section-title h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 28px;
}

.account__order__view .order__summary {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.account__order__view .order-number,
.account__order__view .order-date {
    color: #fff !important;
}

.account__order__view .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: capitalize;
    margin-left: 10px;
}

.account__order__view .status__indicator {
    font-size: 8px;
    animation: pulseNew 2s infinite;
}

@keyframes pulseNew {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.account__order__view .order__back__btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.account__order__view .order__back__btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Order Items Section */
.account__order__view .order__items__section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.account__order__view .order__items__section .section-title h5 {
    color: #333;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account__order__view .order__items__wrapper {
    margin-bottom: 30px;
}

.account__order__view .order__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.account__order__view .order__item:hover {
    border-color: #fbbc4a;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.account__order__view .order__item:last-child {
    margin-bottom: 0;
}

.account__order__view .item__info {
    flex: 1;
    min-width: 0;
}

.account__order__view .product__name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.account__order__view .product__name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.account__order__view .product__name a:hover {
    color: #fbbc4a;
}

.account__order__view .item__quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    white-space: nowrap;
}

.account__order__view .qty__label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.account__order__view .qty__value {
    color: #333;
    font-weight: 700;
}

.account__order__view .item__total {
    color: #fbbc4a;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

/* Order Totals */
.account__order__view .order__totals__wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.account__order__view .order__total__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.account__order__view .order__total__row:last-child {
    border-bottom: none;
    background: #fbbc4a;
    color: #fff;
    padding: 15px 20px;
    margin: 20px -25px -25px -25px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 18px;
}

.account__order__view .total__label {
    font-weight: 600;
    color: #333;
}

.account__order__view .order__total__row:last-child .total__label {
    color: #fff;
}

.account__order__view .total__value {
    font-weight: 700;
    color: #fbbc4a;
}

.account__order__view .order__total__row:last-child .total__value {
    color: #fff;
}

.account__order__view .order__note__row {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.account__order__view .note__label {
    font-weight: 600;
    color: #0c5460;
    display: block;
    margin-bottom: 8px;
}

.account__order__view .note__content {
    color: #0c5460;
    line-height: 1.6;
}

/* Info Cards */
.account__order__view .order__info__cards {
    margin-bottom: 30px;
}

.account__order__view .info__card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.account__order__view .info__card:hover {
    border-color: #fbbc4a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.account__order__view .card__header {
    background: linear-gradient(135deg, #fbbc4a 0%, #f8b03a 100%);
    color: #fff;
    padding: 20px;
}

.account__order__view .card__header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account__order__view .card__header i {
    font-size: 16px;
}

.account__order__view .card__content {
    padding: 25px;
}

.account__order__view .info__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.account__order__view .info__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.account__order__view .info__label {
    color: #666;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

.account__order__view .info__value {
    color: #333;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.account__order__view .customer__address {
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px;
    font-style: normal;
}

.account__order__view .contact__info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    margin: 10px 0;
}

.account__order__view .contact__info i {
    color: #fbbc4a;
    width: 16px;
    text-align: center;
}

.account__order__view .contact__info a {
    color: #fbbc4a;
    text-decoration: none;
}

.account__order__view .contact__info a:hover {
    text-decoration: underline;
}

/* Order Notes Section */
.account__order__view .order__notes__section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.account__order__view .order__notes__section .section-title h5 {
    color: #333;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account__order__view .order__notes__section .section-title i {
    color: #fbbc4a;
}

.account__order__view .order__notes__wrapper {
    background: #fafbfc;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.account__order__view .order__note {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px;
    background: #fff;
}

.account__order__view .order__note:nth-child(even) {
    background: #fafbfc;
}

.account__order__view .order__note:last-child {
    border-bottom: none;
}

.account__order__view .note__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.account__order__view .note__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbc4a, #f8b03a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.account__order__view .note__date {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.account__order__view .note__content {
    color: #333;
    line-height: 1.6;
    margin-left: 55px;
}

.account__order__view .note__content p {
    margin: 0;
}

/* Responsive Design for New Order View */
@media (max-width: 991px) {
    .account__order__view .order__title__section {
        flex-direction: column;
        gap: 15px;
    }
    
    .account__order__view .order__header {
        padding: 25px 20px;
    }
    
    .account__order__view .order__title__section h4 {
        font-size: 24px;
    }
    
    .account__order__view .order__items__section {
        padding: 20px;
    }
    
    .account__order__view .order__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .account__order__view .item__quantity {
        margin: 0;
        align-self: flex-start;
    }
    
    .account__order__view .item__total {
        align-self: flex-end;
        font-size: 18px;
    }
    
    .account__order__view .info__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .account__order__view .info__value {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .account__order__view .order__header {
        padding: 20px 15px;
    }
    
    .account__order__view .order__title__section h4 {
        font-size: 20px;
    }
    
    .account__order__view .order__summary {
        font-size: 14px;
    }
    
    .account__order__view .order__items__section,
    .account__order__view .order__notes__section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .account__order__view .order__item {
        padding: 15px;
    }
    
    .account__order__view .order__totals__wrapper {
        padding: 20px 15px;
    }
    
    .account__order__view .card__header,
    .account__order__view .card__content {
        padding: 15px;
    }
    
    .account__order__view .order__note {
        padding: 15px;
    }
    
    .account__order__view .note__content {
        margin-left: 0;
        margin-top: 15px;
    }
}
