/* ============================================================
   Repage Styles - Dark Orange Theme (matching index_style.css)
   Color palette (from homepage :root variables):
   #0a0c10 = dark-bg              #050608 = body bg
   #e67e22 = primary-accent       #f39c12 = primary-glow
   rgba(20,24,30,0.85) = card-bg  rgba(230,126,34,0.3) = border-glow
   #ffd7a0 = card title accent    #f0f0f0 = text light
   ============================================================ */

/* ---------- Base ---------- */
body {
    min-width: auto !important;
    background: #050608;
    color: #f0f0f0;
}

.gm-bg-body {
    background: #050608;
    min-height: 100vh;
}

/* Fix layui layer message text color (light background popup) */
.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;
}

.header_padding {
    padding: 30px 0 0 0;
}

/* Custom scrollbar matching homepage */
.g-scrollbar::-webkit-scrollbar { width: 6px; }
.g-scrollbar::-webkit-scrollbar-track {
    background: #1e1e2a;
    border-radius: 8px;
}
.g-scrollbar::-webkit-scrollbar-thumb {
    background: #e67e22;
    border-radius: 8px;
}

/* ============================================================
   Login / Register Pages
   ============================================================ */
.login-page {
    padding: 40px 0 0 0;
}

.login-page__inner {
    display: flex;
    width: 100%;
}

/* ---------- Left: Decorative Section ---------- */
.login-page__left {
    flex: 1;
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: 32px;
}

.login-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/h_bg.jpg') center;
    background-size: cover;
}

.login-page__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.35) 0%, rgba(10, 12, 16, 0.88) 100%);
}

.login-page__content {
    position: relative;
    z-index: 2;
    padding: 80px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.login-page__content h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    background: linear-gradient(135deg, #fff 30%, #f39c12 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.login-page__content p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

/* ---------- Right: Login Form ---------- */
.login-page__right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 0;
}

.login-form {
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 32px;
    padding: 50px 45px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.login-form__logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-form__logo img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.login-form__title {
    font-size: 32px;
    font-weight: 800;
    color: #f39c12;
    text-align: center;
    margin: 0 0 35px 0;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(243, 156, 18, 0.3);
}

.login-form__label {
    font-size: 13px;
    font-weight: 700;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px !important;
}

.login-form__input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-bottom: 3px solid rgba(230, 126, 34, 0.4);
    border-radius: 12px;
    font-size: 14px;
    color: #f0f0f0 !important;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.login-form__input:focus {
    outline: none;
    border-color: #e67e22;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.login-form__input::placeholder {
    color: rgba(240, 240, 240, 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: #e67e22;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-form__btn {
    height: 54px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(95deg, #e67e22, #d35400);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.6);
}

.login-form__btn:hover {
    transform: scale(1.03);
    background: linear-gradient(95deg, #f39c12, #e67e22);
    box-shadow: 0 0 25px #e67e22;
    text-decoration: none;
    color: white;
}

.login-form__btn:active {
    transform: scale(0.98);
}

.login-form__hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(230, 126, 34, 0.3), transparent);
    margin: 30px 0;
}

.login-form__terms {
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
    margin: 16px 0;
}

.login-form__terms a {
    color: #f39c12;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-form__terms a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.login-form__signup {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

.login-form__signup a {
    color: #f39c12;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-form__signup a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* ---------- Login Responsive ---------- */
@media (max-width: 959px) {
    .login-page__inner {
        flex-direction: column;
    }

    .login-page__left {
        min-height: 400px;
    }

    .login-page__content {
        padding: 60px 40px;
        min-height: 400px;
        text-align: center;
    }

    .login-page__content h1 {
        font-size: 36px;
    }

    .login-page__content p {
        font-size: 16px;
        max-width: 100%;
        margin: 0 auto;
    }

    .login-page__right {
        padding: 40px 30px;
    }

    .login-form {
        padding: 40px 30px;
    }

    .login-form__title {
        font-size: 26px;
        margin-bottom: 30px;
    }
}

@media (max-width: 639px) {
    .login-page__content h1 {
        font-size: 28px;
    }

    .login-page__content p {
        font-size: 14px;
    }

    .login-form {
        padding: 30px 20px;
    }

    .login-form__title {
        font-size: 22px;
    }

    .login-form__input {
        height: 44px;
        font-size: 13px;
    }

    .login-form__btn {
        height: 48px;
        font-size: 14px;
    }

    .login-form__logo img {
        width: 120px;
    }
}

/* ============================================================
   Payment Page Styles
   ============================================================ */
.pay-page {
    padding: 0;
    background: #0a0c10;
}

.pay-page__header {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-bottom: 3px solid rgba(230, 126, 34, 0.5);
}

.pay-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/h_bg.jpg') center;
    background-size: cover;
    opacity: 0.35;
    filter: brightness(0.7) contrast(1.1);
}

.pay-page__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 12, 18, 0.85) 0%, rgba(17, 22, 31, 0.92) 100%);
}

.pay-page__header-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    text-align: center;
}

.pay-page__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 8px 22px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

.pay-page__breadcrumb li {
    display: flex;
    align-items: center;
    color: #f39c12;
    font-size: 14px;
    font-weight: 600;
}

.pay-page__breadcrumb li a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pay-page__breadcrumb li a:hover {
    color: #e67e22;
}

.pay-page__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: rgba(230, 126, 34, 0.4);
}

.pay-page__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #fff 30%, #f39c12 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.pay-page__subtitle {
    font-size: 18px;
    color: #ddd;
    margin: 0;
}

.pay-page__body {
    margin-top: -50px;
    position: relative;
    z-index: 3;
    background: #0a0c10;
    border-radius: 32px 32px 0 0;
    padding: 80px 30px;
}

.pay-card {
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: visible;
}

.pay-card:hover {
    border-color: rgba(230, 126, 34, 0.5);
    box-shadow: 0 8px 30px rgba(230, 126, 34, 0.1);
}

.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(6, 1fr);
    gap: 20px;
}

.pay-grid__item {
    width: 100%;
    min-width: 0;
}

@media (max-width: 959px) {
    .pay-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 639px) {
    .pay-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.pay-card__badge {
    position: absolute;
    top: -14px;
    left: 40px;
    background: linear-gradient(95deg, #e67e22, #d35400);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(230, 126, 34, 0.5);
}

.pay-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #ffd7a0;
    margin: 0 0 35px 0;
    padding-top: 15px;
    letter-spacing: 1px;
}

.pay-card__title--sub {
    margin-top: 35px !important;
}

.pay-card__hint {
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin: 20px 0 0 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid rgba(230, 126, 34, 0.15);
}

.pay-input {
    width: 100%;
    height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(230, 126, 34, 0.25);
    border-bottom: 3px solid rgba(230, 126, 34, 0.35);
    border-radius: 12px;
    font-size: 14px;
    color: #f0f0f0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pay-input:focus {
    outline: none;
    border-color: #e67e22;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

.pay-input::placeholder {
    color: rgba(240, 240, 240, 0.4);
}

.pay-input--large {
    font-size: 18px;
    font-weight: 700;
    height: 60px;
}

.pay-product {
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(230, 126, 34, 0.25);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(20, 24, 30, 0.6);
    box-sizing: border-box;
    height: 100%;
    justify-content: space-between;
}

.pay-product > div:first-child {
    flex-shrink: 0;
    min-width: 0;
}

.pay-product > div:first-child > div {
    min-width: 0;
    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: flex;
    align-items: center;
    justify-content: center;
    color: #f0f0f0;
    font-size: 13px;
    margin: 0 !important;
    text-align: center;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.pay-product .uk-text-small,
.pay-product .uk-text-xsmall {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.pay-product:hover {
    border-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
}

.pay-product--selected {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.3);
}

.pay-product__price {
    text-align: center;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.4);
    color: #f39c12;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    border-radius: 10px;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.pay-payment {
    display: block;
    border: 2px solid rgba(230, 126, 34, 0.25);
    border-radius: 14px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(20, 24, 30, 0.6);
}

.pay-payment:hover {
    border-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.2);
}

.pay-payment--selected {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.3);
}

.pay-card__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(230, 126, 34, 0.2);
    margin-top: 25px;
}

.pay-summary__left h5 {
    font-size: 14px;
    color: #f39c12;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-summary__amount {
    font-size: 36px;
    font-weight: 800;
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

.pay-quantity {
    display: flex;
    align-items: center;
    border: 2px solid rgba(230, 126, 34, 0.25);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.pay-quantity__btn {
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(230, 126, 34, 0.15);
    font-size: 22px;
    font-weight: 700;
    color: #f39c12;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pay-quantity__btn:hover {
    background: #e67e22;
    color: white;
}

.pay-quantity__input {
    width: 70px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #f0f0f0;
    background: transparent;
}

.pay-quantity__input:focus {
    outline: none;
}

.pay-page__submit {
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 28px;
    padding: 35px 40px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.pay-submit__info {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.pay-submit__label {
    font-size: 16px;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-submit__amount {
    font-size: 42px;
    font-weight: 800;
    color: #f39c12;
    text-shadow: 0 0 12px rgba(243, 156, 18, 0.4);
}

.pay-submit__btn {
    height: 64px;
    padding: 0 80px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(95deg, #e67e22, #d35400);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.6);
}

.pay-submit__btn:hover {
    transform: scale(1.03);
    background: linear-gradient(95deg, #f39c12, #e67e22);
    box-shadow: 0 0 25px #e67e22;
    color: white;
}

.pay-submit__btn:active {
    transform: scale(0.98);
}

/* ---------- Pay Page Responsive ---------- */
@media (max-width: 959px) {
    .pay-page__title {
        font-size: 36px;
    }

    .pay-page__body {
        padding: 50px 20px;
    }

    .pay-card {
        padding: 25px;
    }

    .pay-card__title {
        font-size: 20px;
    }

    .pay-card__badge {
        font-size: 10px;
        padding: 6px 16px;
        left: 25px;
    }
}

@media (max-width: 639px) {
    .pay-page__title {
        font-size: 28px;
    }

    .pay-page__subtitle {
        font-size: 14px;
    }

    .pay-card__summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pay-submit__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 20px;
    }

    .pay-submit__amount {
        font-size: 32px;
    }

    .pay-submit__btn {
        width: 100%;
        padding: 0;
        height: 56px;
    }

    .pay-input {
        height: 48px;
        font-size: 13px;
    }

    .pay-product {
        padding: 12px;
    }

    .pay-product__price {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
    }
}

/* ============================================================
   User Page Styles (Orders / Order Details)
   ============================================================ */
.user-page {
    padding: 0;
    background: #0a0c10;
}

.user-page__header {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    width: 100%;
    border-bottom: 3px solid rgba(230, 126, 34, 0.5);
}

.user-page__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/h_bg.jpg') center;
    background-size: cover;
    opacity: 0.35;
    filter: brightness(0.7) contrast(1.1);
}

.user-page__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 12, 18, 0.85) 0%, rgba(17, 22, 31, 0.92) 100%);
}

.user-page__header-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.user-page__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 8px 22px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

.user-page__breadcrumb li {
    display: flex;
    align-items: center;
    color: #f39c12;
    font-size: 14px;
    font-weight: 600;
}

.user-page__breadcrumb li a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-page__breadcrumb li a:hover {
    color: #e67e22;
}

.user-page__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: rgba(230, 126, 34, 0.4);
}

.user-page__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #fff 30%, #f39c12 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.user-page__subtitle {
    font-size: 18px;
    color: #ddd;
    margin: 0;
}

.user-page__body {
    position: relative;
    z-index: 3;
    background: #0a0c10;
    padding: 40px 20px 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

.user-page__body .uk-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Sidebar ---------- */
.user-sidebar {
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.user-sidebar__avatar {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(230, 126, 34, 0.2);
    margin-bottom: 20px;
}

.user-avatar__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border: 2px solid rgba(230, 126, 34, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 32px;
    color: white;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
}

.user-sidebar__name {
    font-size: 18px;
    font-weight: 700;
    color: #ffd7a0;
    margin: 0;
}

.user-sidebar__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu__item {
    margin-bottom: 8px;
}

.user-menu__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
}

.user-menu__item a:hover {
    background: rgba(230, 126, 34, 0.15);
    color: #f39c12;
    border-color: rgba(230, 126, 34, 0.3);
}

.user-menu__item--active a {
    background: linear-gradient(95deg, #e67e22, #d35400);
    color: white;
    border: none;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.4);
}

/* ---------- User Cards ---------- */
.user-card {
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.user-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #ffd7a0;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(230, 126, 34, 0.2);
}

.user-card__content {
    padding-top: 0;
}

/* ---------- User Table ---------- */
.user-table {
    width: 100%;
    border-collapse: collapse;
}

.user-table th {
    text-align: left;
    padding: 15px 20px;
    background: rgba(230, 126, 34, 0.15);
    color: #f39c12;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(230, 126, 34, 0.3);
}

.user-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(230, 126, 34, 0.1);
    font-size: 14px;
    color: #f0f0f0;
}

.user-table tbody tr:hover {
    background: rgba(230, 126, 34, 0.08);
}

.user-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(95deg, #e67e22, #d35400);
    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: #f39c12;
}

.user-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(95deg, #e67e22, #d35400);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.3);
}

.user-view-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.5);
    color: white;
}

/* ---------- Pagination ---------- */
.user-card__pagination {
    margin-top: 30px;
    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: 40px;
    height: 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(230, 126, 34, 0.25);
    transition: all 0.3s ease;
}

.user-card__pagination a:hover {
    background: rgba(230, 126, 34, 0.15);
    border-color: #e67e22;
    color: #f39c12;
}

.user-card__pagination li.active span {
    background: linear-gradient(95deg, #e67e22, #d35400);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.4);
}

.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: 16px 0;
    border-bottom: 1px solid rgba(230, 126, 34, 0.1);
}

.user-detail__label {
    font-size: 14px;
    font-weight: 600;
    color: #f39c12;
}

.user-detail__value {
    font-size: 14px;
    font-weight: 700;
    color: #f0f0f0;
}

.user-detail__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0 10px 0;
    margin-top: 10px;
    border-top: 2px solid rgba(230, 126, 34, 0.3);
}

.user-detail__total-value {
    font-size: 28px;
    font-weight: 800;
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

/* ---------- User Page Responsive ---------- */
@media (max-width: 959px) {
    .user-page__title {
        font-size: 32px;
    }

    .user-sidebar {
        padding: 25px;
        margin-bottom: 30px;
    }

    .user-card {
        padding: 25px;
    }

    .user-card__title {
        font-size: 18px;
    }

    .user-table th,
    .user-table td {
        padding: 12px 15px;
        font-size: 12px;
    }
}

@media (max-width: 639px) {
    .user-page__title {
        font-size: 26px;
    }

    .user-page__subtitle {
        font-size: 14px;
    }

    .user-detail__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .user-detail__label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .user-detail__total-value {
        font-size: 22px;
    }

    .user-view-link {
        padding: 6px 15px;
        font-size: 11px;
    }
}

/* ============================================================
   RPage Show Page Styles (Terms, Privacy, etc.)
   ============================================================ */
.rpage-page {
    padding: 40px 20px;
}

.rpage-page__header {
    margin-bottom: 30px;
}

.rpage-page__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(230, 126, 34, 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: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rpage-page__breadcrumb li a:hover {
    color: #e67e22;
}

.rpage-page__breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: rgba(230, 126, 34, 0.4);
}

.rpage-content {
    background: rgba(20, 24, 30, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rpage-content__title {
    font-size: 28px;
    font-weight: 800;
    color: #ffd7a0;
    margin: 0 0 35px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(230, 126, 34, 0.2);
    padding-bottom: 20px;
}

.rpage-content__body {
    color: #ececec;
    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: #f39c12;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.rpage-content__body h1 { font-size: 22px; }
.rpage-content__body h2 { font-size: 20px; }
.rpage-content__body h3 { font-size: 18px; }
.rpage-content__body h4 { font-size: 16px; }

.rpage-content__body p {
    margin-bottom: 18px;
}

.rpage-content__body ul,
.rpage-content__body ol {
    padding-left: 25px;
    margin-bottom: 18px;
}

.rpage-content__body li {
    margin-bottom: 10px;
}

.rpage-content__body a {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.rpage-content__body a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.rpage-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.rpage-content__body blockquote {
    border-left: 4px solid #e67e22;
    padding-left: 20px;
    margin: 25px 0;
    color: #aaa;
    font-style: italic;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
}

.rpage-content__body hr {
    border: none;
    border-top: 1px solid rgba(230, 126, 34, 0.2);
    margin: 30px 0;
}

.rpage-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.rpage-content__body th {
    background: rgba(230, 126, 34, 0.15);
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
    color: #f39c12;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

.rpage-content__body td {
    padding: 12px 15px;
    border: 1px solid rgba(230, 126, 34, 0.2);
    color: #ececec;
}

.rpage-content__body tbody tr:hover {
    background: rgba(230, 126, 34, 0.08);
}

/* ---------- RPage Responsive ---------- */
@media (max-width: 959px) {
    .rpage-content {
        padding: 30px 25px;
    }

    .rpage-content__title {
        font-size: 24px;
        letter-spacing: 1px;
        padding-bottom: 15px;
    }
}

@media (max-width: 639px) {
    .rpage-page {
        padding: 25px 15px;
    }

    .rpage-content {
        padding: 20px;
    }

    .rpage-content__title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .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; }
}
