.bg-rank {
  background-color: #F2D7B6; }

.separate-divide {
  height: 4px;
  width: 70px;
  background: #ff7948;
  background: linear-gradient(270deg, #ff7948 0%, #ffd787 100%);
  border-radius: 2px; }

.member-categories-section li i {
  font-size: 1.8rem;
  width: 2.5rem; }

.member-categories-section li:last-child {
  margin-bottom: 0; }

.member-categories-section a {
  display: block;
  color: var(--color-main);
  padding: 0.7rem 0.5rem;
  border-radius: 0.5rem; }
  .member-categories-section a i {
    font-size: 1.6rem;
    width: 2rem; }

.member-categories-section .active > a {
  color: var(--color-highlight);
  background-color: var(--light); }

.history-point {
  overflow: hidden; }
  .history-point .nav li {
    border-left: 1px solid #dee2e6; }
    .history-point .nav li:first-child {
      border-left: 0; }
  .history-point .nav a {
    text-align: center;
    color: var(--color-main);
    background-color: var(--light);
    padding: 1rem 0; }
    .history-point .nav a.active {
      background-color: var(--white);
      color: var(--color-highlight); }

.inner-buy-point input {
  opacity: 0;
  filter: opacity(0);
  visibility: hidden; }

.inner-buy-point input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; }

.inner-buy-point .form-check-label {
  border: 1px solid var(--color-main);
  border-radius: 8px;
  padding: 10px 15px;
  width: 100%;
  text-align: center;
  cursor: pointer; }

.inner-buy-point input[type="radio"]:checked + .form-check-label {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: #fff; }

.coupon-plan {
  margin-bottom: 3rem;
  -webkit-box-shadow: 0px 0.3rem 0.6rem -0.3rem rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0.3rem 0.6rem -0.3rem rgba(0, 0, 0, 0.16); }
  .coupon-plan-price {
    text-align: center;
    background: #ff7948;
    position: relative;
    overflow: hidden;
    padding: 1rem 1rem 1.5rem;
    font-size: 1.2rem;
    min-height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; }
    .coupon-plan-price span {
      display: block;
      font-size: 3.2rem;
      font-weight: bold; }
    .coupon-plan-price::after {
      content: '';
      position: absolute;
      top: 0.1rem;
      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FQzkwOENFNjBENjE3MDUyMDgiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAACAgICAgICAgICAwICAgMEAwICAwQFBAQEBAQFBgUFBQUFBQYGBwcIBwcGCQkKCgkJDAwMDAwMDAwMDAwMDAwMAQMDAwUEBQkGBgkNCwkLDQ8ODg4ODw8MDAwMDA8PDAwMDAwMDwwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAOAAYDAREAAhEBAxEB/8QAbwABAQAAAAAAAAAAAAAAAAAABAkBAAMAAAAAAAAAAAAAAAAAAAMEBxAAAAUCBgMAAAAAAAAAAAAAAQIDBAUREiFBExQGBwAxUREAAQIEBQMFAAAAAAAAAAAAAQIDETESBAAhURMGQSIFcbEyFBX/2gAMAwEAAhEDEQA/AKGS3SUDH874pDpvHqkDPndpOUzHJuE1G7c6xbVAJQSmtzLUPuOE+ueKsNXjKApW2uoHMRBSkqnCR9MWKy5/dP8Ajrl0oSHmqCDA0kKWEmIjGIjr7ZllXvdA9j8XdyUOzLPl3QccjLk9gYNE4OBqVccdMREblLvVMg8DcO+X+80paBX3UDKiRq66amOGbNjjn5VwhpxW12bioHc+QommVWWSaZ4//9k=);
      width: 0.6rem;
      height: 100%;
      z-index: 9; }
  .coupon-plan:last-child {
    margin-bottom: 0; }

.member-attendance .list-date--item {
  cursor: pointer;
  background-color: var(--gray);
  color: var(--color-main); }
  .member-attendance .list-date--item:hover {
    background-color: var(--black);
    color: var(--white); }
  .member-attendance .list-date--item[checked="checked"] {
    cursor: context-menu;
    background-color: var(--black);
    color: var(--white); }

.avatar-upload {
  display: inline-block;
  border-radius: 50%;
  position: relative;
  overflow: hidden; }
  .avatar-upload .avatar-edit {
    position: absolute;
    bottom: -1px;
    width: 100%;
    text-align: center;
    z-index: 9; }
    .avatar-upload .avatar-edit input {
      display: none; }
    .avatar-upload .avatar-edit input + label {
      margin-bottom: 0;
      background: var(--black);
      cursor: pointer;
      font-weight: normal;
      transition: all .2s ease-in-out;
      width: 100%;
      color: #fff;
      font-size: 1.2rem; }
      .avatar-upload .avatar-edit input + label:hover {
        background: #5e5e5e; }
  .avatar-upload .avatar-preview > div {
    width: 8.9rem;
    height: 8.9rem;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat; }
  .avatar-upload .avatar-preview > .wrap-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; }
  .avatar-upload .avatar-clear-image {
    cursor: pointer;
    position: absolute;
    top: auto;
    right: -1rem;
    bottom: -0.5rem;
    width: 2.2rem;
    height: 2.2rem;
    line-height: 2rem;
    border-radius: 50%;
    background-color: #ffffff;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0px 0.2rem 0.4rem 0px rgba(0, 0, 0, 0.12); }

.filter-member .input-group-text {
  border: 0; }

.filter-member .btn-submit {
  padding: 0 1rem; }

.table-member th i {
  font-size: 1.8rem; }

.action-table {
  display: inline-block;
  width: 3rem;
  text-align: center; }
 /* Product Files Download Button */
.product-files {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px dashed #c5d3e0;
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.product-files strong {
    grid-column: 1 / -1;
    color: #5a6a7a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.btn-download-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-download-file:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-download-file:active {
    transform: translateY(0);
}

.btn-download-file i {
    font-size: 11px;
}

/* ====================================
   ORDER DETAIL PAGE STYLING
   ==================================== */

/* Section Container */
.layout-order-detail-all {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.order-products-section {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.order-products-section .h4 {
    color: #1e293b;
    font-size: 2.1rem;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Table Styling */
.order-products-section .table {
    margin-bottom: 0;
}

.order-products-section .table thead {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.order-products-section .table thead th {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border: none;
}

.order-products-section .table tbody tr {
    transition: background 0.2s ease;
}

.order-products-section .table tbody tr:hover {
    background: #f8fafc;
}

.order-products-section .table tbody th,
.order-products-section .table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
}

/* Product Cell */
.order-products-section .table tbody th {
    font-weight: normal;
}

.order-products-section .table tbody th a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.order-products-section .table tbody th a:hover {
    color: var(--color-highlight-2);
}

.order-products-section .table tbody th img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

/* Price Styling */
.order-products-section .price-amount {
    font-weight: 600;
    color: #ef4444;
    font-size: 14px;
}

.order-products-section .currency-symbol {
    font-size: 12px;
    color: #64748b;
    margin-left: 2px;
}

/* Footer Rows */
.order-products-section .table tfoot tr {
    background: #f8fafc;
}

.order-products-section .table tfoot td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.order-products-section .table tfoot .fs-14 {
    color: #475569;
}

/* Total Row */
.order-products-section .table tfoot tr.bg-gray {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

.order-products-section .table tfoot tr.bg-gray td {
    color: #fff;
    padding: 16px;
    border: none;
}

.order-products-section .table tfoot tr.bg-gray b {
    font-size: 16px;
}

.order-products-section .table tfoot tr.bg-gray .price-amount {
    color: #fbbf24;
    font-size: 18px;
}

.order-products-section .table tfoot tr.bg-gray .currency-symbol {
    color: #fbbf24;
}

/* Success/Paid Row */
.order-products-section .table tfoot .text-success {
    color: #10b981 !important;
    font-weight: 600;
}

/* Color Hover (Debt) */
.order-products-section .table tfoot .color-hover {
    color: #ef4444 !important;
}
.product-files-pending {
  font-size: 13px;
  font-style: italic;
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-block; }
  .product-files-pending i {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle; }