/* ===========================================
   TermGeng WooCommerce Custom Styles
   Beautiful checkout with rounded corners, 
   shadows, and proper spacing
   =========================================== */

/* =========================================
   CHECKOUT PAGE - Main Wrapper
   ========================================= */

.termgeng-checkout-wrapper {
    font-family: inherit;
}

/* =========================================
   CHECKOUT CARDS - Base Styles
   ========================================= */

.checkout-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 10px 20px -5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-card-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.checkout-card-header--orange {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
}

.checkout-card-header--blue {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.checkout-card-header--green {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

.checkout-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.025em;
}

.checkout-card-header--orange .checkout-card-title {
    color: #1e293b;
}

.checkout-card-body {
    padding: 1.5rem;
}

/* =========================================
   STEP NUMBERS
   ========================================= */

.step-number {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-number--dark {
    background: #1e293b;
    color: #f97316;
}

.step-number--light {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(4px);
}

/* =========================================
   PRODUCT DISPLAY
   ========================================= */

.product-icon-wrapper {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* =========================================
   GAME ID BADGES
   ========================================= */

.game-id-badge {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.game-id-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-id-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
}

/* =========================================
   FORM FIELDS
   ========================================= */

.checkout-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.termgeng-checkout-wrapper .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

.termgeng-checkout-wrapper .form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.625rem;
}

.termgeng-checkout-wrapper .form-row .required {
    color: #f87171;
    margin-left: 0.125rem;
}

.termgeng-checkout-wrapper .form-row input.input-text,
.termgeng-checkout-wrapper .form-row select,
.termgeng-checkout-wrapper .form-row textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid #334155;
    border-radius: 0.875rem;
    font-size: 1rem;
    color: #f1f5f9;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.termgeng-checkout-wrapper .form-row input.input-text::placeholder {
    color: #64748b;
}

.termgeng-checkout-wrapper .form-row input.input-text:hover,
.termgeng-checkout-wrapper .form-row select:hover {
    border-color: #475569;
}

.termgeng-checkout-wrapper .form-row input.input-text:focus,
.termgeng-checkout-wrapper .form-row select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(249, 115, 22, 0.15);
}

/* =========================================
   PAYMENT METHODS
   ========================================= */

.termgeng-checkout-wrapper .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.termgeng-checkout-wrapper .wc_payment_method {
    background: linear-gradient(145deg, #334155, #1e293b);
    border: 2px solid #475569;
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.termgeng-checkout-wrapper .wc_payment_method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.05));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.termgeng-checkout-wrapper .wc_payment_method:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.termgeng-checkout-wrapper .wc_payment_method:hover::before {
    opacity: 1;
}

.termgeng-checkout-wrapper .wc_payment_method input[type="radio"] {
    display: none;
}

.termgeng-checkout-wrapper .wc_payment_method label {
    font-weight: 600 !important;
    font-size: 1rem;
    color: #f1f5f9 !important;
    cursor: pointer;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    position: relative;
    z-index: 1;
}

.termgeng-checkout-wrapper .wc_payment_method label::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #64748b;
    border-radius: 50%;
    margin-right: 0.875rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.termgeng-checkout-wrapper .wc_payment_method input[type="radio"]:checked + label::before {
    border-color: #10b981;
    background: #10b981;
    box-shadow: inset 0 0 0 3px #1e293b;
}

.termgeng-checkout-wrapper .payment_box {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   ORDER TOTAL SECTION
   ========================================= */

.checkout-card--total {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.checkout-total-inner {
    padding: 1.5rem;
}

.checkout-total-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   SUBMIT BUTTON
   ========================================= */

.checkout-submit-btn {
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    border: none;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(249, 115, 22, 0.4),
        0 8px 24px rgba(249, 115, 22, 0.2);
    position: relative;
    overflow: hidden;
}

.checkout-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.checkout-submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 20px rgba(249, 115, 22, 0.5),
        0 12px 32px rgba(249, 115, 22, 0.3);
}

.checkout-submit-btn:hover::before {
    left: 100%;
}

.checkout-submit-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* =========================================
   TRUST BADGES
   ========================================= */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badge-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.trust-badge-icon--green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.trust-badge-icon--blue {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.trust-badge-icon--yellow {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* =========================================
   HIDE UNWANTED ELEMENTS
   ========================================= */

/* Hide WooCommerce default place order section and order review table */
.termgeng-checkout-wrapper .woocommerce-checkout-review-order-table,
.termgeng-checkout-wrapper #order_review .shop_table,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    display: none !important;
}

/* Hide the hidden place-order div (we have our own submit button) */
.termgeng-checkout-wrapper #payment .place-order {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide coupon and shipping */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    display: none !important;
}

/* =========================================
   ERROR & MESSAGE STYLES
   ========================================= */

.termgeng-checkout-wrapper .woocommerce-NoticeGroup {
    margin-bottom: 1.5rem;
}

.termgeng-checkout-wrapper .woocommerce-error {
    background: linear-gradient(145deg, #7f1d1d, #450a0a);
    border: 1px solid #dc2626;
    border-radius: 1rem;
    padding: 1.25rem;
    color: #fecaca;
    list-style: none;
    margin: 0;
}

.termgeng-checkout-wrapper .woocommerce-error li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.termgeng-checkout-wrapper .woocommerce-error li::before {
    content: '!';
    width: 1.5rem;
    height: 1.5rem;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
    color: white;
}

.termgeng-checkout-wrapper .woocommerce-message {
    background: linear-gradient(145deg, #14532d, #052e16);
    border: 1px solid #22c55e;
    border-radius: 1rem;
    padding: 1.25rem;
    color: #bbf7d0;
}

/* =========================================
   PRIVACY POLICY
   ========================================= */

.termgeng-checkout-wrapper .woocommerce-privacy-policy-text {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 1rem;
    line-height: 1.6;
    text-align: center;
}

.termgeng-checkout-wrapper .woocommerce-privacy-policy-text a {
    color: #60a5fa;
    text-decoration: underline;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 640px) {
    .checkout-card-body {
        padding: 1.25rem;
    }
    
    .product-icon-wrapper {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .checkout-total-price {
        font-size: 1.75rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badge {
        font-size: 0.8125rem;
    }
    
    .trust-badge-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .game-id-badge {
        padding: 0.75rem;
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 12px rgba(249, 115, 22, 0.4),
            0 8px 24px rgba(249, 115, 22, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 16px rgba(249, 115, 22, 0.5),
            0 8px 32px rgba(249, 115, 22, 0.3);
    }
}

.checkout-submit-btn {
    animation: pulse-glow 2s ease-in-out infinite;
}

.checkout-submit-btn:hover {
    animation: none;
}

/* =========================================
   CART PAGE STYLES
   ========================================= */

.woocommerce-cart .woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce-cart .woocommerce table.shop_table thead {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}

.woocommerce-cart .woocommerce table.shop_table thead th {
    color: white;
    padding: 1rem;
    font-weight: 600;
}

.woocommerce-cart .woocommerce table.shop_table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

/* =========================================
   MY ACCOUNT STYLES (Logged In)
   ========================================= */

/* Override sidebar width for My Account */
body.page-my-account .lg\:w-96,
body[class*="my-account"] .lg\:w-96,
body.woocommerce-page .lg\:w-96 {
    width: 384px !important;
    max-width: 384px !important;
}

body.page-my-account .lg\:w-80,
body[class*="my-account"] .lg\:w-80,
body.woocommerce-page .lg\:w-80 {
    width: 384px !important;
    max-width: 384px !important;
}

body.page-my-account .lg\:w-64,
body[class*="my-account"] .lg\:w-64,
body.woocommerce-page .lg\:w-64 {
    width: 384px !important;
    max-width: 384px !important;
}

.woocommerce-MyAccount-navigation {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    padding-left: 1.5rem;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation li.is-active a:hover {
    padding-left: 1.25rem;
}

/* My Account Content Area */
.woocommerce-MyAccount-content {
    color: #e2e8f0;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.woocommerce-MyAccount-content p {
    color: #94a3b8;
}

.woocommerce-MyAccount-content a {
    color: #f97316;
}

.woocommerce-MyAccount-content a:hover {
    color: #fbbf24;
}

/* Order Table */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead th {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: #f1f5f9;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead th:first-child {
    border-radius: 0.5rem 0 0 0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table thead th:last-child {
    border-radius: 0 0.5rem 0 0;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.9375rem;
}

.woocommerce-MyAccount-content .woocommerce-orders-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Form Fields in My Account */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm input,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm select,
.woocommerce-MyAccount-content .woocommerce-address-fields input,
.woocommerce-MyAccount-content .woocommerce-address-fields select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border: 2px solid #334155;
    border-radius: 0.75rem;
    color: #f1f5f9;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm input:focus,
.woocommerce-MyAccount-content .woocommerce-address-fields input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm label,
.woocommerce-MyAccount-content .woocommerce-address-fields label {
    display: block;
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.woocommerce-MyAccount-content fieldset {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content legend {
    color: #f1f5f9;
    font-weight: 600;
    padding: 0 0.5rem;
}

/* =========================================
   GENERAL BUTTONS
   ========================================= */

.woocommerce .button,
.woocommerce-page .button {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.woocommerce .button:hover,
.woocommerce-page .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* =========================================
   PACKAGE CARD SELECTION (Archive Page)
   ========================================= */

.package-card {
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-4px);
}

.package-card.selected {
    border-color: #f97316 !important;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.1)) !important;
    box-shadow: 
        0 0 0 3px rgba(249, 115, 22, 0.3),
        0 12px 28px -8px rgba(249, 115, 22, 0.35);
    transform: translateY(-6px) scale(1.02);
}

.package-card.selected::after {
    content: '\2713';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
}

@keyframes pulse-border {
    0%, 100% {
        box-shadow: 
            0 0 0 3px rgba(249, 115, 22, 0.3),
            0 12px 28px -8px rgba(249, 115, 22, 0.35);
    }
    50% {
        box-shadow: 
            0 0 0 5px rgba(249, 115, 22, 0.2),
            0 12px 28px -8px rgba(249, 115, 22, 0.35);
    }
}

.package-card.selected {
    animation: pulse-border 2s ease-in-out infinite;
}

/* ===========================================
   THANK YOU / ORDER RECEIVED PAGE
   =========================================== */

.termgeng-thankyou-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Success Header Card */
.thankyou-card--success {
    background: linear-gradient(145deg, #064e3b, #022c22);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.thankyou-card--error {
    background: linear-gradient(145deg, #7f1d1d, #450a0a);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.thankyou-card--empty {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.thankyou-status-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.thankyou-status-icon--success {
    color: #10b981;
    animation: bounce-in 0.6s ease-out;
}

.thankyou-status-icon--error {
    color: #ef4444;
}

.thankyou-status-icon--empty {
    color: #64748b;
}

@keyframes bounce-in {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.thankyou-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.75rem 0;
}

.thankyou-title--error {
    color: #fecaca;
}

.thankyou-message {
    color: #94a3b8;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Regular Cards */
.thankyou-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.thankyou-card-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #334155, #1e293b);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9375rem;
}

.thankyou-card-header--orange {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
}

.thankyou-card-header--green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

.thankyou-card-body {
    padding: 1.25rem;
}

/* Order Info */
.thankyou-order-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.thankyou-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thankyou-info-label {
    color: #94a3b8;
    font-size: 0.875rem;
}

.thankyou-info-value {
    color: #f1f5f9;
    font-weight: 600;
}

.thankyou-info-value--highlight {
    color: #fbbf24;
    font-size: 1.125rem;
}

/* Status Badge */
.thankyou-status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.thankyou-status-badge--on-hold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e293b;
}

.thankyou-status-badge--pending {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.thankyou-status-badge--processing {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.thankyou-status-badge--completed {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

/* Product Item */
.thankyou-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.thankyou-product-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.875rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thankyou-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thankyou-product-icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.thankyou-product-info {
    flex: 1;
    min-width: 0;
}

.thankyou-product-game {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.thankyou-product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thankyou-product-qty {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.thankyou-product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fbbf24;
    flex-shrink: 0;
}

/* Game ID Section */
.thankyou-game-id-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.thankyou-game-id-title {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.thankyou-game-id-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.thankyou-game-id-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.thankyou-game-id-label {
    display: block;
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.thankyou-game-id-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
}

/* Payment Method */
.thankyou-payment-method {
    margin-bottom: 1rem;
}

.thankyou-payment-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
}

.thankyou-bank-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.875rem;
    padding: 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.thankyou-bank-title {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 1rem 0;
}

.thankyou-bank-account {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.thankyou-bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thankyou-bank-label {
    color: #64748b;
    font-size: 0.875rem;
}

.thankyou-bank-value {
    color: #f1f5f9;
    font-weight: 600;
}

.thankyou-bank-value--highlight {
    color: #fbbf24;
    font-size: 1.125rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* Order Total */
.thankyou-card--total {
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.thankyou-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
}

.thankyou-total-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.thankyou-total-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Action Buttons */
.thankyou-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.thankyou-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.thankyou-btn--primary {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.thankyou-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.5);
}

.thankyou-btn--secondary {
    background: linear-gradient(145deg, #334155, #1e293b);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.thankyou-btn--secondary:hover {
    background: linear-gradient(145deg, #475569, #334155);
    transform: translateY(-2px);
}

/* ===========================================
   LOGIN / REGISTER PAGE - CLEAN STYLE
   =========================================== */

/* Auth Card */
.termgeng-auth-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Single Header (when no registration) */
.auth-single-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-single-header h2 {
    margin: 0;
    color: #f1f5f9;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Tabs */
.termgeng-auth-card .auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(0, 0, 0, 0.2);
}

.termgeng-auth-card .auth-tab {
    padding: 1rem;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.termgeng-auth-card .auth-tab:hover {
    color: #94a3b8;
}

.termgeng-auth-card .auth-tab--active {
    color: #f97316;
    background: transparent;
}

.termgeng-auth-card .auth-tab--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fbbf24);
}

/* Form Panel */
.auth-form-panel {
    display: none;
    padding: 1.5rem;
}

.auth-form-panel--active {
    display: block;
}

/* Fields */
.auth-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
}

.auth-field label .required {
    color: #f87171;
}

.auth-field .auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #f1f5f9;
    transition: all 0.2s ease;
}

.auth-field .auth-input::placeholder {
    color: #475569;
}

.auth-field .auth-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Options row */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #f97316;
}

.auth-link {
    font-size: 0.875rem;
    color: #f97316;
    text-decoration: none;
}

.auth-link:hover {
    color: #fbbf24;
    text-decoration: underline;
}

/* Submit Button */
.auth-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Note */
.auth-note {
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    color: #93c5fd;
    margin: 0;
}

/* Terms */
.auth-terms {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin: 1rem 0 0.5rem;
    line-height: 1.6;
}

.auth-terms .auth-policy-link,
.auth-policy-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-terms .auth-policy-link:hover,
.auth-policy-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Privacy Policy in Auth Card */
div.woocommerce-privacy-policy-text {
    margin: 0.5rem 0 0 !important;
    padding: 0.75rem 1rem !important;
    background: rgba(59, 130, 246, 0.06) !important;
    border: 1px solid rgba(59, 130, 246, 0.12) !important;
    border-radius: 0.625rem !important;
    text-align: center !important;
    font-size: 0.7rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

div.woocommerce-privacy-policy-text p {
    font-size: 0.7rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

div.woocommerce-privacy-policy-text a {
    color: #60a5fa !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

div.woocommerce-privacy-policy-text a:hover {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

/* Error Messages */
.termgeng-auth-card .woocommerce-error,
.termgeng-auth-card .woocommerce-message {
    margin: 0 0 1rem 0;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
}

.termgeng-auth-card .woocommerce-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fecaca;
}

.termgeng-auth-card .woocommerce-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-form-panel {
        padding: 1.25rem;
    }
    
    .auth-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .thankyou-game-id-grid {
        grid-template-columns: 1fr;
    }
    
    .thankyou-product-item {
        flex-wrap: wrap;
    }
    
    .thankyou-product-price {
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
}

/* ===========================================
   LOST PASSWORD / RESET PASSWORD
   =========================================== */

/* Auth page centering (for standalone auth pages without header/footer) */
.termgeng-auth-page {
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.termgeng-auth-page .termgeng-auth-card {
    width: 100%;
    max-width: 28rem;
}

/* Header icon */
.auth-header-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.auth-header-icon--success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Hide WooCommerce built-in password strength meter (we use custom) */
.termgeng-auth-card .woocommerce-password-strength,
.termgeng-auth-card .woocommerce-password-hint,
.termgeng-auth-card .show-password-input {
    display: none !important;
}

/* Reset WooCommerce .password-input wrapper so it doesn't break layout */
.termgeng-auth-card .password-input {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Password wrapper with toggle */
.auth-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.auth-password-wrapper .auth-input {
    padding-right: 3rem;
    width: 100%;
    flex: 1;
}

.auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.auth-password-toggle:hover {
    color: #f97316;
}

/* Password strength */
.auth-password-strength {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    background: #475569;
}

.strength-text {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    min-width: 60px;
}

/* Strength levels */
.strength-weak .strength-fill {
    background: #ef4444;
}
.strength-weak .strength-text {
    color: #ef4444;
}

.strength-fair .strength-fill {
    background: #f97316;
}
.strength-fair .strength-text {
    color: #f97316;
}

.strength-good .strength-fill {
    background: #eab308;
}
.strength-good .strength-text {
    color: #eab308;
}

.strength-strong .strength-fill {
    background: #10b981;
}
.strength-strong .strength-text {
    color: #10b981;
}

/* Password match */
.auth-password-match {
    font-size: 0.75rem;
    margin-top: 0.375rem;
    min-height: 1rem;
}

.auth-password-match.match-ok {
    color: #10b981;
}

.auth-password-match.match-error {
    color: #ef4444;
}

/* Back link */
.auth-back-link {
    text-align: center;
    margin-top: 1.25rem;
}

.auth-back-link .auth-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Button with icon - merge into existing .auth-btn */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.auth-btn-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

/* Force icon + text on same line */
.auth-btn--with-icon {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden;
}

.auth-btn--with-icon span {
    flex-shrink: 0;
}

/* Auth header description text (hint below title) */
.auth-header-desc {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Auth field hint text (below input) */
.auth-field-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Outline button variant */
.auth-btn--outline {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #f97316;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn--outline:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: #f97316;
    color: #fbbf24;
    transform: translateY(-2px);
}

/* Confirmation box */
.auth-confirmation-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.auth-confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    margin-bottom: 0.75rem;
}

.auth-confirmation-text {
    font-size: 0.9375rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.auth-confirmation-note {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

/* WooCommerce notices inside auth card (for lost password) */
.termgeng-auth-card .woocommerce-notices-wrapper {
    padding: 0 1.5rem;
    padding-top: 1rem;
}

.termgeng-auth-card .woocommerce-notices-wrapper:empty {
    display: none;
}

/* ===========================================
   MY ACCOUNT - ORDERS LIST (Card Style)
   =========================================== */

.termgeng-orders-wrapper {
    max-width: 100%;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Order Card */
.order-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.order-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

/* Order Card Header */
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #334155, #1e293b);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-number {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9375rem;
}

.order-number svg {
    color: #f97316;
}

/* Order Status Badges */
.order-status {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-status--pending {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.order-status--on-hold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e293b;
}

.order-status--processing {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.order-status--completed {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

.order-status--cancelled,
.order-status--refunded,
.order-status--failed {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

/* Order Card Body */
.order-card-body {
    padding: 1.25rem;
}

/* Order Product */
.order-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-product-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.order-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.order-product-info {
    flex: 1;
    min-width: 0;
}

.order-product-game {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.order-product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-product-more {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

/* Order Meta */
.order-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.order-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.order-meta-item svg {
    color: #64748b;
}

.order-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fbbf24;
}

/* Order Card Footer */
.order-card-footer {
    display: flex;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Order Buttons */
.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
}

.order-btn--primary {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
}

.order-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.order-btn--warning {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e293b;
}

.order-btn--warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.order-btn--danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.order-btn--danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Orders Empty State */
.orders-empty {
    text-align: center;
    padding: 3rem 1.5rem;
}

.orders-empty-icon {
    color: #475569;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.orders-empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
}

.orders-empty-message {
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
    font-size: 0.9375rem;
}

.orders-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.orders-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Orders Pagination */
.orders-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.orders-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: linear-gradient(145deg, #334155, #1e293b);
    color: #f1f5f9;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orders-pagination-btn:hover {
    background: linear-gradient(145deg, #475569, #334155);
    transform: translateY(-1px);
}

.orders-pagination-info {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ===========================================
   MY ACCOUNT - VIEW ORDER (Card Style)
   =========================================== */

.termgeng-view-order-wrapper {
    max-width: 100%;
}

/* Back Button */
.view-order-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    margin-bottom: 1.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0.625rem;
}

.view-order-back:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

/* View Order Cards */
.view-order-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.view-order-card-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #334155, #1e293b);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9375rem;
}

.view-order-card-header--orange {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
}

.view-order-card-header--green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

.view-order-card-body {
    padding: 1.25rem;
}

/* Order Info */
.view-order-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.view-order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-order-info-label {
    color: #94a3b8;
    font-size: 0.875rem;
}

.view-order-info-value {
    color: #f1f5f9;
    font-weight: 600;
}

.view-order-info-value--highlight {
    color: #fbbf24;
    font-size: 1.125rem;
}

/* View Order Status */
.view-order-status {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.view-order-status--pending {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.view-order-status--on-hold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e293b;
}

.view-order-status--processing {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.view-order-status--completed {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

.view-order-status--cancelled,
.view-order-status--refunded,
.view-order-status--failed {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

/* View Order Product */
.view-order-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-order-product-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.875rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.view-order-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-order-product-icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.view-order-product-info {
    flex: 1;
    min-width: 0;
}

.view-order-product-game {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.view-order-product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-order-product-qty {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

.view-order-product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fbbf24;
    flex-shrink: 0;
}

/* Game ID Section */
.view-order-game-id-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.view-order-game-id-title {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.view-order-game-id-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.view-order-game-id-item {
    background: linear-gradient(145deg, #334155, #1e293b);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-order-game-id-label {
    display: block;
    font-size: 0.6875rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.view-order-game-id-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
}

/* Payment Method */
.view-order-payment-method {
    margin-bottom: 1rem;
}

.view-order-payment-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
}

.view-order-bank-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.875rem;
    padding: 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.view-order-bank-title {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 1rem 0;
}

.view-order-bank-account {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.view-order-bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-order-bank-label {
    color: #64748b;
    font-size: 0.875rem;
}

.view-order-bank-value {
    color: #f1f5f9;
    font-weight: 600;
}

.view-order-bank-value--highlight {
    color: #fbbf24;
    font-size: 1.125rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

/* Order Total */
.view-order-card--total {
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.view-order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
}

.view-order-total-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
}

.view-order-total-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Order Notes */
.view-order-notes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.view-order-note {
    padding: 0.875rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid #f97316;
}

.view-order-note:last-child {
    margin-bottom: 0;
}

.view-order-note-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.view-order-note-content {
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.view-order-note-content p {
    margin: 0;
}

/* Action Buttons */
.view-order-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.view-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-order-btn--primary {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.view-order-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.5);
}

.view-order-btn--secondary {
    background: linear-gradient(145deg, #334155, #1e293b);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-order-btn--secondary:hover {
    background: linear-gradient(145deg, #475569, #334155);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 640px) {
    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    
    .order-product {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-product-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .order-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    
    .order-card-footer {
        flex-direction: column;
    }
    
    .view-order-product-item {
        flex-wrap: wrap;
    }
    
    .view-order-product-price {
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
    
    .view-order-game-id-grid {
        grid-template-columns: 1fr;
    }
    
    .view-order-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .view-order-bank-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ===========================================
   MY ACCOUNT - DASHBOARD
   =========================================== */

@charset "UTF-8";

.dashboard-welcome {
    text-align: center;
    padding: 1.5rem 0 2rem;
    margin-bottom: 2rem;
}

.dashboard-welcome h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
}

.dashboard-welcome p {
    color: #94a3b8;
    margin: 0;
}

/* Stats Section */
.dashboard-stats {
    margin-bottom: 2rem;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dashboard-stat-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.15);
}

.dashboard-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.dashboard-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 0.25rem;
    display: block;
}

.dashboard-stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Quick Actions Section */
.dashboard-quick-actions {
    margin-bottom: 2rem;
}

.dashboard-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-section-title svg {
    color: #f97316;
}

.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dashboard-action-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: #f1f5f9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-action-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.1), rgba(251, 191, 36, 0.05));
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
}

.dashboard-action-icon {
    font-size: 2rem;
}

.dashboard-action-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #f1f5f9;
}

/* Recent Orders Section */
.dashboard-recent-orders {
    margin-bottom: 2rem;
}

.dashboard-orders-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Dashboard Order Card (Mini) */
.dashboard-order-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.875rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-order-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.dashboard-order-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.625rem;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f97316, #fbbf24);
}

.dashboard-order-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-order-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.dashboard-order-info {
    flex: 1;
    min-width: 0;
}

.dashboard-order-game {
    display: block;
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.dashboard-order-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-order-meta {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

.dashboard-order-status {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.dashboard-order-status--pending {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.dashboard-order-status--on-hold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1e293b;
}

.dashboard-order-status--processing {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.dashboard-order-status--completed {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

.dashboard-order-status--cancelled,
.dashboard-order-status--refunded,
.dashboard-order-status--failed {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

/* View All Orders */
.dashboard-view-all {
    text-align: center;
    margin-top: 1rem;
}

.dashboard-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: #f97316;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dashboard-view-all-link:hover {
    color: #fbbf24;
}

/* Empty State */
.dashboard-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.dashboard-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.dashboard-empty p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.dashboard-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #1e293b;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.dashboard-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Account Form Card */
.dashboard-account-form-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.dashboard-account-form-card .view-order-card-header svg {
    color: #f97316;
}

.auth-field-help {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
    display: block;
}

.auth-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 1rem;
}

.auth-divider-title {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-welcome h2 {
        font-size: 1.25rem;
    }
    
    .dashboard-order-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-order-status {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}
