/* ============================================================
   Repage Styles - Dark Gold Theme (matching index_index.html)
   Color palette (from homepage):
   #0c0c10 = primary-dark bg    #020401 = body wrapper bg
   #15151c = card bg            #3e370d = dark olive-gold
   #ffcc33 = accent-gold        #ffcc33 = accent-orange
   rgba(255,204,51,0.x) = translucent gold / glow
   #eeeeee = text-light         #aaa = text-muted
   ============================================================ */

/* ---------- Base ---------- */
body {
    min-width: auto !important;
    background: #0c0c10;
    color: #FFF;
}

/* Fix layui layer message text color (inherits body #FFF but has light background) */
.layui-layer,
.layui-layer-content,
.layui-layer-content p,
.layui-layer-content span,
.layui-layer-ico,
.layui-layer-setwin a {
    color: #333 !important;
}

/* Break page sections out of container padding for full-width backgrounds */
.pay-page,
.user-page,
.login-page,
.rpage-page {
    margin-left: -30px;
    margin-right: -30px;
}

.gm-bg-body {
    background: #020401;
    min-height: 100vh;
}

.header_padding {
    padding: 30px 0 0 0;
}

/* ============================================================
   Login / Register Pages
   ============================================================ */
.login-page {
    padding: 40px 30px 0 30px;
    background: #0c0c10;
    min-height: 80vh;
}

.login-page__inner {
    width: 100%;
    margin: 0;
}

/* Left decorative panel */
.login-page__left {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: 15px;
}

.login-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/h_bg.png') center;
    background-size: cover;
}

.login-page__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(62, 55, 13, 0.88), rgba(12, 12, 16, 0.92));
}

.login-page__content {
    position: relative;
    z-index: 2;
    padding: 80px 60px;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.login-page__content h1 {
    font-family: myFont01 !important;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px 0;
    color: #FFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.login-page__content p {
    font-size: 16px;
    color: #eeeeee;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

/* Right form panel */
.login-page__right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.login-form {
    background: #15151c;
    border-radius: 30px;
    border: 2px solid rgba(255, 204, 51, 0.3);
    padding: 50px 45px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 40px rgba(255, 204, 51, 0.2);
}

.login-form__logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-form__logo img {
    width: 160px;
    height: auto;
}

.login-form__title {
    font-family: myFont01 !important;
    font-size: 28px;
    font-weight: 700;
    color: #ffcc33;
    text-align: center;
    margin: 0 0 35px 0;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 204, 51, 0.4);
}

.login-form__label {
    font-size: 12px;
    font-weight: 700;
    color: #ffcc33;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px !important;
}

.login-form__input {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    border-bottom: 3px solid #0c0c10;
    border-radius: 10px;
    font-size: 14px;
    color: #FFF !important;
    background: rgba(255, 204, 51, 0.1);
    transition: all 0.3s ease;
}

.uk-text-xsmall {
    font-size: 11px;
}

.login-form__input:focus {
    outline: none;
    border-color: #ffcc33;
    background: rgba(255, 204, 51, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 204, 51, 0.2);
}

.login-form__input::placeholder {
    color: rgba(224, 224, 224, 0.4);
}

.login-form__checkbox {
    font-size: 13px;
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form__checkbox input[type="checkbox"] {
    margin: 0;
    accent-color: #ffcc33;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-form__btn {
    height: 52px;
    border: 2px solid #ffcc33;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0) 100%),
                linear-gradient(to bottom, #ffb329 0%, #d48806 50%, #995c00 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: myFont01 !important;
    box-shadow: 0 0 8px rgba(255, 204, 51, 0.6);
}

.login-form__btn:hover {
    transform: scale(1.02);
    background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 40%, rgba(255,255,255,0) 100%),
                linear-gradient(to bottom, #ffc349 0%, #e49816 50%, #a96c10 100%);
    box-shadow: 0 0 12px rgba(255, 204, 51, 0.8);
    text-decoration: none;
    color: #FFF;
}

.login-form__btn:active {
    transform: scale(0.98);
}

.login-form__hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 204, 51, 0.3), transparent);
    margin: 25px 0;
}

.login-form__terms {
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
    margin: 12px 0;
}

.login-form__terms a {
    color: #ffcc33;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-form__terms a:hover {
    color: #ffcc33;
    text-decoration: underline;
}

.login-form__signup {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

.login-form__signup a {
    color: #ffcc33;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-form__signup a:hover {
    color: #ffcc33;
    text-decoration: underline;
}

/* ============================================================
   Payment Page
   ============================================================ */
.pay-page {
    padding: 0;
    background: #0c0c10;
}

.pay-page__header {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.pay-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/h_bg.png') center;
    background-size: cover;
}

.pay-page__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.3) 0%, rgba(12, 12, 16, 0.95) 100%);
}

.pay-page__header-content {
    position: relative;
    z-index: 2;
    padding: 50px 30px;
    text-align: center;
}

.pay-page__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 8px 22px;
    background: rgba(255, 204, 51, 0.15);
    border-radius: 30px;
    border: 1px solid rgba(255, 204, 51, 0.3);
}

.pay-page__breadcrumb li {
    display: flex;
    align-items: center;
    color: #ffcc33;
    font-size: 14px;
    font-weight: 600;
}

.pay-page__breadcrumb li a {
    color: #ffcc33;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pay-page__breadcrumb li a:hover {
    color: #ffcc33;
}

.pay-page__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: rgba(255, 204, 51, 0.4);
}

.pay-page__title {
    font-family: myFont01 !important;
    font-size: 44px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.2;
    margin: 0 0 12px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.pay-page__subtitle {
    font-size: 17px;
    color: #eeeeee;
    margin: 0;
}

.pay-page__body {
    position: relative;
    z-index: 3;
    background: #0c0c10;
    padding: 60px 30px 80px 30px;
    margin-top: -30px;
}

.pay-card {
    background: #15151c;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    padding: 0;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pay-card__header {
    padding: 35px 35px 25px 35px;
    position: relative;
}

.pay-card__body {
    padding: 0 35px 35px 35px;
    overflow: hidden;
}

.pay-card__title--sub {
    margin-top: 35px !important;
}

/* Neutralize UIKit uk-grid negative margins inside pay-card only */
.pay-card__body .uk-grid {
    margin-left: 0;
    margin-right: 0;
}

.pay-card__body .uk-grid > [class*='uk-width-'] {
    padding-left: 0;
    padding-right: 0;
}

.pay-card .uk-form-controls {
    box-sizing: border-box;
}

.pay-card .uk-flex {
    flex-wrap: wrap;
    gap: 10px;
}

.pay-card .uk-flex .pay-input {
    flex: 1;
    min-width: 120px;
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

.pay-grid > * {
    min-width: 0;
}

.pay-grid__item {
    width: 100%;
    min-width: 0;
}

@media (min-width: 960px) {
    .pay-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 639px) {
    .pay-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.pay-card__badge {
    position: absolute;
    top: -14px;
    left: 30px;
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 100%);
    color: #FFF;
    border: none;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: myFont01 !important;
    box-shadow: 0 0 10px rgba(255, 204, 51, 0.5);
}

.pay-card__title {
    font-family: myFont01 !important;
    font-size: 22px;
    font-weight: 700;
    color: #ffcc33;
    margin: 0 0 30px 0;
    padding-top: 10px;
    letter-spacing: 1px;
}

.pay-card__hint {
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin: 18px 0 0 0;
    background: rgba(255, 204, 51, 0.1);
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 204, 51, 0.3);
}

.pay-input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    border-bottom: 3px solid #0c0c10;
    border-radius: 10px;
    font-size: 14px;
    color: #FFF;
    background: rgba(255, 204, 51, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pay-input:focus {
    outline: none;
    border-color: #ffcc33;
    background: rgba(255, 204, 51, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 204, 51, 0.2);
}

.pay-input::placeholder {
    color: rgba(224, 224, 224, 0.4);
}

.pay-input--large {
    font-size: 18px;
    font-weight: 700;
    height: 58px;
}

.pay-product {
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(255, 204, 51, 0.3);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 204, 51, 0.1);
    box-sizing: border-box;
    height: 100%;
    justify-content: space-between;
}

.pay-product > div:first-child {
    flex: 0 1 auto;
    min-width: 0;
    width: 100%;
}

.pay-product > div:first-child > div {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.pay-product p {
    height: 50px;
    margin: 0 auto;
}

.pay-product p img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.pay-product h5 {
    min-height: 40px;
    display: block;
    color: #FFF;
    font-size: 13px;
    margin: 0 !important;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    line-height: 1.3;
}

.pay-product .uk-text-small,
.pay-product .uk-text-xsmall {
    min-height: 20px;
    display: block;
    color: #aaa;
    font-size: 11px;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    line-height: 1.3;
}

.pay-product:hover {
    border-color: #ffcc33;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 51, 0.3);
}

.pay-product--selected {
    border-color: #ffcc33;
    background: rgba(255, 204, 51, 0.25);
    box-shadow: 0 0 0 2px rgba(255, 204, 51, 0.3);
}

.pay-product__price {
    text-align: center;
    padding: 10px 12px;
    background: #0c0c10;
    color: #ffcc33;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 51, 0.3);
}

.pay-payment {
    display: block;
    border: 2px solid rgba(255, 204, 51, 0.3);
    border-radius: 12px;
    padding: 18px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 204, 51, 0.1);
}

.pay-payment:hover {
    border-color: #ffcc33;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 51, 0.3);
}

.pay-payment--selected {
    border-color: #ffcc33;
    background: rgba(255, 204, 51, 0.25);
    box-shadow: 0 0 0 2px rgba(255, 204, 51, 0.3);
}

.pay-card__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 204, 51, 0.3);
    margin-top: 25px;
}

.pay-summary__left h5 {
    font-size: 14px;
    color: #ffcc33;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-summary__amount {
    font-size: 32px;
    font-weight: 700;
    color: #ffcc33;
    text-shadow: 0 0 8px rgba(255, 204, 51, 0.4);
}

.pay-quantity {
    display: flex;
    align-items: center;
    border: 2px solid rgba(255, 204, 51, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: #0c0c10;
}

.pay-quantity__btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 204, 51, 0.15);
    font-size: 20px;
    font-weight: 700;
    color: #ffcc33;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pay-quantity__btn:hover {
    background: #ffcc33;
    color: #0c0c10;
}

.pay-quantity__input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #FFF;
    background: #0c0c10;
}

.pay-quantity__input:focus {
    outline: none;
}

.pay-page__submit {
    background: #15151c;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    padding: 30px 40px;
    margin-top: 40px;
}

.pay-submit__info {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.pay-submit__label {
    font-size: 15px;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pay-submit__amount {
    font-size: 40px;
    font-weight: 700;
    color: #ffcc33;
    text-shadow: 0 0 10px rgba(255, 204, 51, 0.5);
}

.pay-submit__btn {
    height: 60px;
    padding: 0 70px;
    border: 2px solid #ffcc33;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0) 100%),
                linear-gradient(to bottom, #ffb329 0%, #d48806 50%, #995c00 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: myFont01 !important;
    box-shadow: 0 0 8px rgba(255, 204, 51, 0.6);
}

.pay-submit__btn:hover {
    transform: scale(1.02);
    background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 40%, rgba(255,255,255,0) 100%),
                linear-gradient(to bottom, #ffc349 0%, #e49816 50%, #a96c10 100%);
    box-shadow: 0 0 12px rgba(255, 204, 51, 0.8);
    color: #FFF;
}

.pay-submit__btn:active {
    transform: scale(0.98);
}

/* ============================================================
   User Pages (Orders / Order Details)
   ============================================================ */
.user-page {
    padding: 0;
    background: #0c0c10;
}

.user-page__header {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.user-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/h_bg.png') center;
    background-size: cover;
}

.user-page__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.3) 0%, rgba(12, 12, 16, 0.95) 100%);
}

.user-page__header-content {
    position: relative;
    z-index: 2;
    padding: 50px 30px;
    text-align: center;
}

.user-page__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 8px 22px;
    background: rgba(255, 204, 51, 0.15);
    border-radius: 30px;
    border: 1px solid rgba(255, 204, 51, 0.3);
}

.user-page__breadcrumb li {
    display: flex;
    align-items: center;
    color: #ffcc33;
    font-size: 14px;
    font-weight: 600;
}

.user-page__breadcrumb li a {
    color: #ffcc33;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-page__breadcrumb li a:hover {
    color: #ffcc33;
}

.user-page__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: rgba(255, 204, 51, 0.4);
}

.user-page__title {
    font-family: myFont01 !important;
    font-size: 40px;
    font-weight: 700;
    color: #FFF;
    line-height: 1.2;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.user-page__subtitle {
    font-size: 16px;
    color: #eeeeee;
    margin: 0;
}

.user-page__body {
    position: relative;
    z-index: 3;
    background: #0c0c10;
    padding: 50px 30px 70px 30px;
    margin-top: -30px;
}

/* Sidebar */
.user-sidebar {
    background: #15151c;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(255, 204, 51, 0.15);
}

.user-sidebar__avatar {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 204, 51, 0.3);
    margin-bottom: 20px;
}

.user-avatar__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 100%);
    border: 2px solid #ffcc33;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 30px;
    color: #FFF;
}

.user-sidebar__name {
    font-size: 16px;
    font-weight: 700;
    color: #ffcc33;
    margin: 0;
}

.user-sidebar__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu__item {
    margin-bottom: 6px;
}

.user-menu__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 204, 51, 0.1);
    border: 1px solid transparent;
}

.user-menu__item a:hover {
    background: #ffcc33;
    color: #0c0c10;
    border-color: #ffcc33;
}

.user-menu__item--active a {
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 100%);
    color: #FFF;
    border: none;
    box-shadow: 0 0 10px rgba(255, 204, 51, 0.5);
}

/* User cards */
.user-card {
    background: #15151c;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    padding: 35px 35px;
    box-shadow: 0 4px 20px rgba(255, 204, 51, 0.15);
}

.user-card__title {
    font-family: myFont01 !important;
    font-size: 22px;
    font-weight: 700;
    color: #ffcc33;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 204, 51, 0.3);
}

.user-card__content {
    padding-top: 0;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table th {
    text-align: left;
    padding: 14px 18px;
    background: rgba(255, 204, 51, 0.15);
    color: #ffcc33;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 204, 51, 0.3);
}

.user-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 204, 51, 0.15);
    font-size: 14px;
    color: #eeeeee;
}

.user-table tbody tr:hover {
    background: rgba(255, 204, 51, 0.08);
}

.user-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 100%);
    color: #FFF !important;
    border: none;
}

.user-status,
.user-status *,
.user-status span,
.user-status font,
.user-status b {
    color: #FFF !important;
}

.user-amount {
    font-weight: 700;
    color: #ffcc33;
}

.user-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 100%);
    border: none;
    color: #FFF;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 204, 51, 0.3);
}

.user-view-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 204, 51, 0.5);
    color: #FFF;
}

.user-card__pagination {
    margin-top: 25px;
    text-align: center;
}

.user-card__pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-card__pagination li {
    margin: 0;
}

.user-card__pagination a,
.user-card__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    background: rgba(255, 204, 51, 0.1);
    border: 1px solid rgba(255, 204, 51, 0.3);
    transition: all 0.3s ease;
}

.user-card__pagination a:hover {
    background: #ffcc33;
    color: #0c0c10;
    border-color: #ffcc33;
}

.user-card__pagination li.active span {
    background: linear-gradient(90deg, #ffcc33 0%, #ffcc33 100%);
    border-color: transparent;
    color: #FFF;
}

.user-card__pagination li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Order details */
.user-details {
    padding: 0;
}

.user-detail__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 204, 51, 0.15);
}

.user-detail__label {
    font-size: 14px;
    font-weight: 600;
    color: #ffcc33;
}

.user-detail__value {
    font-size: 14px;
    font-weight: 700;
    color: #FFF;
}

.user-detail__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 10px 0;
    margin-top: 10px;
    border-top: 2px solid rgba(255, 204, 51, 0.3);
}

.user-detail__total-value {
    font-size: 26px;
    font-weight: 700;
    color: #ffcc33;
    text-shadow: 0 0 8px rgba(255, 204, 51, 0.4);
}

/* ============================================================
   RPage Show Page (Terms, Privacy, etc.)
   ============================================================ */
.rpage-page {
    padding: 40px 30px 80px;
    background: #0c0c10;
}

.rpage-page__header {
    margin-bottom: 25px;
}

.rpage-page__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px;
    background: rgba(255, 204, 51, 0.15);
    border-radius: 30px;
    border: 1px solid rgba(255, 204, 51, 0.3);
}

.rpage-page__breadcrumb li {
    display: flex;
    align-items: center;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
}

.rpage-page__breadcrumb li a {
    color: #ffcc33;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rpage-page__breadcrumb li a:hover {
    color: #ffcc33;
}

.rpage-page__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: rgba(255, 204, 51, 0.4);
}

.rpage-content {
    background: #15151c;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 51, 0.3);
    padding: 40px 45px;
    box-shadow: 0 4px 20px rgba(255, 204, 51, 0.15);
}

.rpage-content__title {
    font-family: myFont01 !important;
    font-size: 28px;
    font-weight: 700;
    color: #ffcc33;
    margin: 0 0 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid rgba(255, 204, 51, 0.3);
    padding-bottom: 18px;
}

.rpage-content__body {
    color: #eeeeee;
    font-size: 15px;
    line-height: 1.8;
}

.rpage-content__body h1,
.rpage-content__body h2,
.rpage-content__body h3,
.rpage-content__body h4,
.rpage-content__body h5,
.rpage-content__body h6 {
    color: #ffcc33;
    margin-top: 28px;
    margin-bottom: 14px;
    font-weight: 700;
}

.rpage-content__body h1 { font-size: 24px; }
.rpage-content__body h2 { font-size: 22px; }
.rpage-content__body h3 { font-size: 20px; }
.rpage-content__body h4 { font-size: 18px; }

.rpage-content__body p {
    margin-bottom: 16px;
}

.rpage-content__body ul,
.rpage-content__body ol {
    padding-left: 25px;
    margin-bottom: 16px;
}

.rpage-content__body li {
    margin-bottom: 8px;
}

.rpage-content__body a {
    color: #ffcc33;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.rpage-content__body a:hover {
    color: #ffcc33;
    text-decoration: underline;
}

.rpage-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rpage-content__body blockquote {
    border-left: 4px solid #ffcc33;
    padding-left: 20px;
    margin: 22px 0;
    color: #aaa;
    font-style: italic;
    background: rgba(255, 204, 51, 0.1);
    padding: 14px 20px;
    border-radius: 0 10px 10px 0;
}

.rpage-content__body hr {
    border: none;
    border-top: 1px solid rgba(255, 204, 51, 0.3);
    margin: 28px 0;
}

.rpage-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.rpage-content__body th {
    background: rgba(255, 204, 51, 0.15);
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
    color: #ffcc33;
    border: 1px solid rgba(255, 204, 51, 0.3);
}

.rpage-content__body td {
    padding: 12px 15px;
    border: 1px solid rgba(255, 204, 51, 0.3);
}

.rpage-content__body tbody tr:hover {
    background: rgba(255, 204, 51, 0.08);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 959px) {
    /* Adjust negative margins for tablet container padding */
    .pay-page,
    .user-page,
    .login-page,
    .rpage-page {
        margin-left: -20px;
        margin-right: -20px;
    }

    .login-page__left {
        min-height: 400px;
    }

    .login-page__content {
        padding: 50px 40px;
        min-height: 400px;
        text-align: center;
    }

    .login-page__content h1 {
        font-size: 34px;
    }

    .login-page__content p {
        font-size: 15px;
        max-width: 100%;
        margin: 0 auto;
    }

    .login-page__right {
        padding: 30px 20px;
    }

    .login-page {
        padding: 30px 20px 0 20px;
    }

    .login-form {
        padding: 35px 30px;
    }

    .rpage-page {
        padding: 30px 20px 60px;
    }

    .login-form__title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .pay-page__title {
        font-size: 34px;
    }

    .pay-page__body {
        padding: 40px 20px 60px 20px;
    }

    .pay-page__header-content {
        padding: 40px 20px;
    }

    .pay-card__header {
        padding: 28px 25px 20px 25px;
    }

    .pay-card__body {
        padding: 0 25px 28px 25px;
    }

    .pay-card__title {
        font-size: 18px;
    }

    .pay-card__badge {
        font-size: 10px;
        padding: 5px 16px;
        left: 25px;
    }

    .user-page__title {
        font-size: 30px;
    }

    .user-page__body {
        padding: 40px 20px 60px 20px;
    }

    .user-page__header-content {
        padding: 40px 20px;
    }

    .user-sidebar {
        padding: 25px;
        margin-bottom: 25px;
    }

    .user-card {
        padding: 28px 25px;
    }

    .user-card__title {
        font-size: 18px;
    }

    .user-table th,
    .user-table td {
        padding: 12px 14px;
        font-size: 12px;
    }
}

@media (max-width: 639px) {
    /* Adjust negative margins for mobile container padding */
    .pay-page,
    .user-page,
    .login-page,
    .rpage-page {
        margin-left: -15px;
        margin-right: -15px;
    }

    .login-page__content h1 {
        font-size: 26px;
    }

    .login-page {
        padding: 20px 15px 0 15px;
    }

    .login-page__content p {
        font-size: 13px;
    }

    .login-form {
        padding: 28px 20px;
    }

    .login-form__title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .login-form__input {
        height: 42px;
        font-size: 13px;
    }

    .login-form__btn {
        height: 46px;
        font-size: 13px;
        letter-spacing: 2px;
    }
    
    .pay-page__title {
        font-size: 26px;
    }

    .pay-page__subtitle {
        font-size: 14px;
    }

    .pay-page__body {
        padding: 30px 15px 50px 15px;
    }

    .pay-page__header-content {
        padding: 30px 15px;
    }

    .pay-card__header {
        padding: 24px 20px 18px 20px;
    }

    .pay-card__body {
        padding: 0 20px 24px 20px;
    }

    .pay-page__submit {
        padding: 25px 20px;
    }

    .pay-card__summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .pay-submit__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 18px;
    }

    .pay-submit__amount {
        font-size: 30px;
    }

    .pay-submit__btn {
        width: 100%;
        padding: 0;
        height: 54px;
    }

    .pay-input {
        height: 46px;
        font-size: 13px;
    }

    .pay-product {
        padding: 12px;
    }

    .pay-product__price {
        padding: 8px 10px;
        font-size: 12px;
    }

    .user-page__title {
        font-size: 24px;
    }

    .user-page__subtitle {
        font-size: 13px;
    }

    .user-page__body {
        padding: 30px 15px 50px 15px;
    }

    .user-page__header-content {
        padding: 30px 15px;
    }

    .user-detail__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .user-detail__label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .user-detail__total-value {
        font-size: 22px;
    }

    .user-view-link {
        padding: 6px 14px;
        font-size: 11px;
    }

    .rpage-page {
        padding: 25px 15px 50px;
    }

    .rpage-content {
        padding: 22px 18px;
    }

    .rpage-content__title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .rpage-content__body {
        font-size: 14px;
    }

    .rpage-content__body h1 { font-size: 18px; }
    .rpage-content__body h2 { font-size: 17px; }
    .rpage-content__body h3 { font-size: 16px; }
}
