/**
 * My Account
 */

.woocommerce-account .woocommerce {
  display: flex;
  gap: 20px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 20%;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 75%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  padding: 0;
  border-top: 1px solid #eee;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  list-style: none;
  border-bottom: 1px solid #eee;
  padding-bottom: 0;
  background: #070707 !important;
}

.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.is-active
  a:before {
  opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  padding: 10px 5px;
  display: flex;
  align-items: center;
  font-weight: bold;
  color:#fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a br {
  display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: #cf9147;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:before {
  margin: 0 10px;
  /*opacity: .5;*/
}
/*
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover:before {
      opacity: 1;
  }*/

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:before {
  content: "»";
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 25px;
  text-align: right;
  font-weight: 600;
}

.woocommerce-account p.order-again {
  text-align: left;
}

.woocommerce-account .woocommerce-EditAccountForm input[type="submit"] {
  margin-top: 50px;
  float: left;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions
  a {
  margin: 0 5px;
}

/* Style the orders table container */
.woocommerce-orders-table {
  border: 1px solid #ddd;
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
  font-size: 16px;
  background-color: #f9f9f9;
}

/* Table header styles */
.woocommerce-orders-table th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

/* Table body row styles */
.woocommerce-orders-table tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

.woocommerce-orders-table tbody tr:hover {
  background-color: #e9ecef;
}

/* Table cell styles */
.woocommerce-orders-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

/* Links within the table */
.woocommerce-orders-table td a {
  text-decoration: none;
}

.woocommerce-orders-table td a:hover {
  text-decoration: underline;
}

/* Buttons in the orders table */
.woocommerce-orders-table td .button {
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
}

.woocommerce-MyAccount-content .button:hover {
  background-color: #5b9a00;
  color: #fff !important;
}

/* Order data */
.woocommerce-order-details {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 20px 0;
  padding: 15px;
  background-color: #f9f9f9;
}

/* Style the table itself */
.woocommerce-order-details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background-color: #fff;
  margin: 0;
}

/* Style the table header */
.woocommerce-order-details table th {
  background-color: #f4f4f4;
  font-weight: bold;
  padding: 12px;
  text-align: right;
  border-bottom: 1px solid #ddd;
}

/* Style the table rows */
.woocommerce-order-details table tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

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

/* Style the table cells */
.woocommerce-order-details table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

/* Style product names */
.woocommerce-order-details table .woocommerce-table__product-name {
  font-weight: bold;
  color: #333;
}

/* Style quantity column */
.woocommerce-order-details table .woocommerce-table__product-quantity {
  text-align: center;
  font-size: 14px;
  color: #555;
}

/* Style price or totals */
.woocommerce-order-details table .woocommerce-table__product-total {
  text-align: right;
  font-weight: bold;
  color: #000;
}

/* Style order totals row */
.woocommerce-order-details .woocommerce-table__footer td {
  padding: 15px;
  background-color: #f4f4f4;
  font-weight: bold;
  color: #000;
}

/* Links within the table */
.woocommerce-order-details table td a {
  text-decoration: none;
}

.woocommerce-order-details table td a:hover {
  text-decoration: underline;
}

/* Buttons in the order details table (if applicable) */
.woocommerce-order-details .button {
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
}


/* ===============================
   WooCommerce Login / Register
   Modern UI - Responsive + RTL
================================ */

#customer_login {
    display: flex;
    gap: 40px;
    width: 1100px;
    max-width: 100%;
    margin: 10px auto;
    padding: 20px;
    box-sizing: border-box;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 18px;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Titles */
#customer_login h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Form rows */
#customer_login .form-row {
    margin-bottom: 18px;
}

#customer_login label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 15px;
    transition: 0.3s ease;
}

#customer_login input:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Password eye button */
.password-input {
    position: relative;
}
.password-input button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.6;
}

/* Buttons */
.woocommerce-button,
.woocommerce-Button {
    width: 100%;
    padding: 14px 20px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.woocommerce-button:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Remember me + checkbox */
.woocommerce-form__label-for-checkbox {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lost password */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 15px;
}
.woocommerce-LostPassword a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}
.woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

/* Privacy text */
.woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

/* === Responsive Mobile === */
@media (max-width: 768px) {
    #customer_login {
        flex-direction: column;
        gap: 25px;
        margin: 0;
        padding: 0;
    }

    #customer_login .u-column1,
    #customer_login .u-column2 {
        padding: 25px 20px;
    }

    #customer_login h2 {
        font-size: 22px;
    }
}

/* RTL fixes */
html[dir="rtl"] #customer_login {
    direction: rtl;
}

html[dir="rtl"] .password-input button {
    right: auto;
    left: 10px;
}
