/** Shopify CDN: Minification failed

Line 19:1 Unexpected "{"

**/
.order-history-container {
    padding: 2rem;
    border-radius: 5rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.order-history-container:hover {
    box-shadow: 0 4px 10px rgba(40, 187, 233, 0.5);
    transform: translateY(-4px);
}

 {
  content: attr(data-title);
  position: absolute;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  top: 100%; /* adjust positioning */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;   /* prevents clicks */
  opacity: 0.6;           /* faded look */
  cursor: not-allowed; 
}

.customer .pdftooltip {
  border-radius: 25px;
  background-color: #28BBE9;
  color: #fff;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  text-decoration: none;
  height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(40, 187, 233, 0.4);
  flex: 1 1 auto;
  width: 175px !important;
  justify-content: center;
  text-align: center;
  margin: 0;
}

/* Tablet */
@media (max-width: 768px) {
  .customer .pdftooltip {
    width: 100% !important;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .customer .pdftooltip {
    padding: 8px 15px !important;
    max-width: 100% !important;
  }
}

.customer .order-history {
    width: 100%;
    font-family: 'Segoe UI', Roboto, sans-serif;
    border-radius: 2rem;
    border-collapse: separate;
    /* Adjust table row spacing here */
    border-spacing: 0 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 4rem;
}

/* Right-align the Total column in order history table */
.customer .order-history td[data-label$="Total"],
.customer .order-history td[data-label$="合計"],
.customer .order-history th#ColumnTotal {
    text-align: right;
}

.customer .order-history th {
    text-align: left;
    padding: 0.5rem;
    color: #333;
    font-weight: 600;
    background-color: #ffffff;
    font-size: clamp(0.9rem, 2vw, 2rem);
}

.order-number-link {
    position: relative;
    text-decoration: none;
    color: #1da1f2;
    padding-bottom: 4px;
    font-size: clamp(0.9rem, 2vw, 2rem);
}

.order-number-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #ddd;
}

.order-number-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #1da1f2;
    transition: width 0.3s ease;
    z-index: 2;
}

.order-number-link:hover::after {
    width: 100%;
}

.account table td:first-of-type a {
    font-size: clamp(0.85rem, 2vw, 2rem);
    color: #333;
    border: none;
    box-shadow: none;
}

.account table td:first-of-type a:hover {
    border: none;
    box-shadow: none;
}

.customer .order-history td {
    background-color: #fff;
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: clamp(0.85rem, 2vw, 2rem);
    color: #333;
}


/* Base row styling */
.order-history tbody tr {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Hover effect */
.order-history tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(29, 161, 242, 0.2);
}

.order-history tbody tr:hover td {
    background-color: #f1f9ff;
    color: #333;
}

.customer .order-history tr:last-child td:first-child {
    border-bottom-left-radius: 2rem;
}

.customer .order-history tr:last-child td:last-child {
    border-bottom-right-radius: 2rem;
}

.customer tbody td:first-of-type {
    padding-top: 1rem;
}

/* No Orders State */
.customer .no-order-history {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 2rem;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 2rem;
    margin-top: 1rem;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.custom-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.customer nav.custom-pagination>ul>li>a,
.customer nav.custom-pagination>ul>li>span[aria-current="page"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.5rem !important;
    height: 3.5rem !important;
    padding: 0;
    font-size: 1.5rem !important;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-sizing: border-box;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all .2s ease;
}

nav.custom-pagination>ul>li>a:hover,
nav.custom-pagination>ul>li>span[aria-current="page"] {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: #fff;
    font-weight: bold;
}

.custom-pagination svg {
    width: 1rem;
    height: auto;
    vertical-align: middle;
    fill: currentColor;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 992px) {

    .customer .order-history td,
    .customer .order-history th {
        padding: 0.6rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .order-history {
        font-size: 0.9rem;
    }

    .order-number-link {
        font-size: 0.85rem;
    }
}

.order-history-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* semi-transparent white */
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 5rem;
}

.loading-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

.loading-box .dot {
    animation: blink 1s infinite;
}

.loading-box .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-box .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 749px) {

    .customer .order-history {
        border-radius: 2rem;
        box-shadow: none;
        border-bottom: none;
    }

    .customer .order-history table,
    .customer .order-history tbody,
    .customer .order-history th,
    .customer .order-history td,
    .customer .order-history tr {
        display: block;
    }

    .customer .order-history th {
        display: none;
        background-color: #e1e8f2;
    }

    .customer .order-history td {
        position: relative;
        border-top: none !important;
        border-bottom: none !important;
    }

    .customer tbody .cb-data-row td:first-of-type {
        background-color: #e1e8f2;
    }

    .customer .order-history td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 0.75rem;
        font-weight: bold;
        white-space: nowrap;
    }

    .customer .order-history tbody {
        display: grid;
        gap: 2rem;
    }

    .customer .order-history tr {
        border-radius: 2rem;
        border: 1px solid #e5e7eb;
        padding: .5rem;
    }

    .customer .order-history td:first-of-type {
        border-top: none;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
    }

    .customer .order-history td:last-of-type {
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }
}