/* =============================================
   MINING ENERGY — CUSTOMER FRONTEND CSS
   /public/css/customer.css
============================================= */

/* ---- CSS Variables ---- */
:root {
    --primary-color: #ff3f6c;
    --primary-gradient: linear-gradient(135deg, #ff3f6c 0%, #fa4e27 100%);
    --dark-color: #121214;
    --card-bg: #ffffff;
    --bg-color: #f0f0f0;
    --text-color: #333333;
    --text-muted: #8c9099;
    --border-color: #e8eaed;
    --font-family: 'Outfit', sans-serif;
}

/* ---- Base ---- */
body {
    font-family: var(--font-family);
    background-color: #1e1e24;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: var(--text-color);
}

/* ---- Mobile Container Frame ---- */
.app-container {
    width: 100%;
    max-width: 480px;
    background-color: #f0f0f0;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    padding-bottom: 75px;
}

/* ---- Header ---- */
.app-header {
    background-color: #ffffff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef0f3;
    position: sticky;
    top: 0;
    z-index: 100;
}

.myntra-logo-box-global {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-center-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3852;
    font-family: 'Outfit', sans-serif;
}

.header-globe-icon {
    font-size: 1.3rem;
    color: #5d6d7e;
    cursor: pointer;
}

.header-back-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background-color: #f1f3f7;
}

.header-btn .badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid white;
}

/* ---- Main Content Area ---- */
.app-content {
    flex: 1;
    padding: 20px 16px;
    background-color: #f0f0f0;
}

/* ---- Bottom Tab Navigation Bar ---- */
.bottom-nav {
    height: 66px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    height: 100%;
}

.nav-item i {
    font-size: 1.25rem;
    margin-bottom: 3px;
}

.nav-item.active {
    color: var(--primary-color);
}

/* ---- Center Power Button ---- */
.nav-item-center {
    position: relative;
    top: -16px;
    flex: 1;
    display: flex;
    justify-content: center;
}

.power-btn {
    width: 54px;
    height: 54px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(255, 81, 0, 0.4);
    transition: transform 0.2s ease;
    border: 4px solid var(--card-bg);
}

.power-btn:hover {
    transform: scale(1.08);
}

/* ---- Card & Button Utilities ---- */
.mining-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-mining {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 81, 0, 0.2);
    transition: all 0.2s ease;
}

.btn-mining:hover,
.btn-mining:focus {
    background: linear-gradient(135deg, #e0325b 0%, #d83d1c 100%);
    color: white;
    transform: translateY(-1px);
}

/* ---- Hide Scrollbar ---- */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* =============================================
   PREMIUM TOAST NOTIFICATION SYSTEM
============================================= */
#toast-container {
    top: 16px !important;
    right: 0 !important;
    left: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 99999;
}

#toast-container > div {
    pointer-events: all;
    position: relative;
    width: calc(100% - 32px) !important;
    max-width: 440px !important;
    margin: 0 0 10px 0 !important;
    padding: 14px 18px 14px 54px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10) !important;
    font-family: var(--font-family) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    border: none !important;
    opacity: 1 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: toastSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
    overflow: hidden;
}

#toast-container > div::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Progress bar */
.toast-progress {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    border-radius: 0 0 16px 16px !important;
    opacity: 0.5 !important;
}

/* SUCCESS */
#toast-container > .toast-success {
    background: linear-gradient(135deg, #1a2e1a 0%, #0d1f0d 100%) !important;
    color: #5cffa0 !important;
    border-left: 4px solid #28c76f !important;
}
#toast-container > .toast-success::before {
    content: "\f00c" !important;
    background: rgba(40, 199, 111, 0.2);
    color: #28c76f;
}
#toast-container > .toast-success .toast-progress { background: #28c76f !important; }
#toast-container > .toast-success .toast-close-button { color: #5cffa0 !important; }

/* ERROR */
#toast-container > .toast-error {
    background: linear-gradient(135deg, #2e1a1a 0%, #1f0d0d 100%) !important;
    color: #ffb3b3 !important;
    border-left: 4px solid #ea5455 !important;
}
#toast-container > .toast-error::before {
    content: "\f00d" !important;
    background: rgba(234, 84, 85, 0.2);
    color: #ea5455;
}
#toast-container > .toast-error .toast-progress { background: #ea5455 !important; }
#toast-container > .toast-error .toast-close-button { color: #ffb3b3 !important; }

/* WARNING — brand orange */
#toast-container > .toast-warning {
    background: linear-gradient(135deg, #2e2010 0%, #1f1508 100%) !important;
    color: #ffd580 !important;
    border-left: 4px solid #ff6a00 !important;
}
#toast-container > .toast-warning::before {
    content: "\f071" !important;
    background: rgba(255, 106, 0, 0.2);
    color: #ff6a00;
}
#toast-container > .toast-warning .toast-progress { background: #ff6a00 !important; }
#toast-container > .toast-warning .toast-close-button { color: #ffd580 !important; }

/* INFO */
#toast-container > .toast-info {
    background: linear-gradient(135deg, #1a1e2e 0%, #0d111f 100%) !important;
    color: #a0c4ff !important;
    border-left: 4px solid #4d80e4 !important;
}
#toast-container > .toast-info::before {
    content: "\f129" !important;
    background: rgba(77, 128, 228, 0.2);
    color: #4d80e4;
}
#toast-container > .toast-info .toast-progress { background: #4d80e4 !important; }
#toast-container > .toast-info .toast-close-button { color: #a0c4ff !important; }

/* Close button */
.toast-close-button {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    font-size: 1rem !important;
    opacity: 0.6 !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}
.toast-close-button:hover { opacity: 1 !important; }

/* Toast text */
.toast-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.toast-message {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    opacity: 0.9;
}

/* Slide-in animation */
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Home Page Styles */
.slider-container {
    padding: 12px 16px;
}

.carousel-inner {
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.carousel-item img {
    height: 200px;
    object-fit: cover;
}

.carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    opacity: 0.8;
    border: none;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #ff3f6c;
    width: 18px;
    border-radius: 4px;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.btn-action-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid #eef0f3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-action-card:active {
    transform: scale(0.97);
}

.btn-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.recharge-theme {
    color: #4a60e2;
}
.recharge-theme .btn-icon-wrapper {
    background-color: #eef2ff;
}

.withdraw-theme {
    color: #e67e22;
}
.withdraw-theme .btn-icon-wrapper {
    background-color: #fff6ed;
}

.invest-theme {
    color: #9b59b6;
}
.invest-theme .btn-icon-wrapper {
    background-color: #f5eef8;
}

.btn-action-label {
    font-weight: 700;
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.2;
}

.balance-card-container {
    padding: 0 16px;
    margin-bottom: 20px;
}

.myntra-balance-card {
    background: linear-gradient(135deg, #eef3ff 0%, #e5ebfc 100%);
    border: 1px solid rgba(220, 228, 248, 0.8);
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(220, 228, 248, 0.3);
}

.invite-code-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    color: #506690;
    border-bottom: 1px solid rgba(200, 212, 240, 0.5);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.labels-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2c3852;
}

.values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
}

.value-col {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    line-height: 1.1;
}

.value-col.text-end {
    justify-content: flex-end;
}

.value-currency {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3852;
    margin-right: 2px;
}

.value-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2c3852;
}

.stats-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-box.align-right {
    align-items: flex-end;
}

.stat-box-lbl {
    font-size: 0.72rem;
    color: #6c7a9c;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-box-val {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2c3852;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 16px 12px 16px;
}

.indicator-bar {
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3852;
}

.updates-scroller {
    max-height: 250px;
    overflow: hidden;
    position: relative;
    padding: 0 16px;
}

.updates-scroller-inner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

.feed-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid #eef0f3;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.feed-date-box {
    border-right: 1px solid #eef0f3;
    padding-right: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7b88a8;
    min-width: 55px;
}

.feed-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-commission-lbl {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2c3852;
}

.feed-commission-val {
    color: #e67e22;
    font-weight: 800;
}

.feed-user-phone {
    font-size: 0.75rem;
    color: #9aa5c0;
    font-weight: 600;
}

.partners-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 16px 12px 16px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 16px;
    margin-bottom: 24px;
}

.partner-card {
    background-color: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.partner-img {
    max-height: 24px;
    max-width: 90%;
    object-fit: contain;
}

/* Orders Record Styles */
.orders-page-container {
    background-color: #f7f9fc;
    min-height: 100vh;
}

.orders-tabs-nav {
    display: flex;
    padding: 12px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #eef0f3;
}

.orders-tabs-wrapper {
    display: flex;
    width: 100%;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
}

.orders-tab-link {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    background-color: #ffffff;
    border-right: 1px solid var(--primary-color);
    transition: all 0.2s ease;
}

.orders-tab-link:last-child {
    border-right: none;
}

.orders-tab-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.order-list-container {
    padding: 16px;
}

.order-record-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(238, 240, 243, 0.5);
}

.order-card-top-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #999999;
    margin-bottom: 12px;
}

.order-product-box {
    display: flex;
    gap: 12px;
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.order-product-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 6px;
}

.order-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-product-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.35;
}

.order-status-box {
    align-self: flex-start;
    margin: 4px 0;
}

.order-status-badge-red {
    display: inline-block;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 2px;
    text-transform: capitalize;
}

.order-product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.order-price-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
}

.order-qty-val {
    font-size: 0.75rem;
    color: #666666;
}

.order-details-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.order-details-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #333333;
}

.order-details-lbl {
    color: #666666;
}

.order-details-val {
    font-weight: 500;
}

.btn-order-submit-full {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn-order-submit-full:active {
    background-color: #e0355c;
}

/* ---- Grab Page Styles ---- */
.grab-header-banner {
    background: var(--primary-gradient);
    color: white;
    padding: 24px 16px 80px 16px;
    border-radius: 0 0 32px 32px;
    position: relative;
}

.grab-header-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.9;
}

.grab-container {
    padding: 16px 16px 0 16px;
    position: relative;
    z-index: 10;
}

/* Minimum Balance Card (Rose/Pink gradient matching theme) */
.min-balance-card {
    background: linear-gradient(135deg, #ff6b8b 0%, var(--primary-color) 100%);
    border-radius: 20px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 20px rgba(255, 63, 108, 0.2);
}

.min-balance-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.min-balance-subtitle {
    font-size: 0.82rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Grab Statistics Box (White Card) */
.grab-stats-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 24px;
}

.stats-grid-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f2f4f7;
}

.stats-grid-row:last-of-type {
    border-bottom: none;
}

.stat-label-item {
    display: flex;
    flex-direction: column;
}

.stat-label-item.align-right {
    text-align: right;
}

.stat-val-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2c3852;
}

.stat-sub-text {
    font-size: 0.75rem;
    color: #9aa5c0;
    font-weight: 600;
    margin-top: 2px;
}

.available-bal-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Auto Grab Button */
.btn-auto-grab {
    width: 100%;
    background: var(--primary-gradient);
    border: none;
    border-radius: 16px;
    color: white;
    padding: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(255, 63, 108, 0.25);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-auto-grab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 63, 108, 0.35);
}

.btn-auto-grab:active {
    transform: translateY(0);
}

/* Rules section */
.rules-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 24px;
}

.rules-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3852;
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
}

.rules-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.rules-list li {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

/* Matching Overlay Modal */
.matching-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.matching-card-pop {
    background-color: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: scaleUp 0.3s ease;
}

.matching-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---- Profile Page Styles ---- */
.back-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff0f3;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(255, 63, 108, 0.1);
}

.balance-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #fff0f3;
    border: 1px solid #ffccd5;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Pink profile card */
.user-profile-card {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 24px 20px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255, 63, 108, 0.2);
    position: relative;
    overflow: hidden;
}

.user-profile-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.logo-circle img {
    height: 38px;
}

.user-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 6px;
}

.btn-copy-phone {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 600;
    margin-left: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Info cards */
.info-card-pill {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.pill-title {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.pill-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Menu List */
.menu-list-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: #222;
    transition: background-color 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #fafbfc;
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bg-orange-light {
    background-color: #fff0f3;
}

.text-orange {
    color: var(--primary-color) !important;
}

.menu-text {
    font-weight: 600;
    font-size: 0.88rem;
    color: #2c3e50;
}

/* Outlined Logout Button */
.btn-logout-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.btn-logout-outline:hover {
    background-color: #fff0f3;
    color: #d92650;
    border-color: #d92650;
}

/* ---- Team Page Styles ---- */
.team-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.team-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}

/* Counter stats from screenshot */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.stat-pill {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.stat-pill-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-pill-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Link copy box */
.invite-box {
    background: linear-gradient(135deg, #fff0f3 0%, #fff0f3 100%);
    border: 1px solid #ffccd5;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 24px;
}

.invite-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.link-copy-grp {
    display: flex;
    background-color: white;
    border: 1px solid #ffccd5;
    border-radius: 12px;
    overflow: hidden;
    padding: 4px;
}

.link-copy-input {
    flex: 1;
    border: none;
    background: none;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #555;
    outline: none;
}

.btn-copy {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mission cards timeline (matches screenshots) */
.mission-timeline {
    position: relative;
    padding-left: 28px;
}

.mission-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 2px;
    background-color: #e2e8f0;
}

.mission-node {
    position: relative;
    margin-bottom: 22px;
}

.mission-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mission-node.active .mission-dot {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.mission-node.claimed .mission-dot {
    border-color: #28a745;
    background-color: #28a745;
    color: white;
}

.mission-dot i {
    font-size: 0.55rem;
}

.mission-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.mission-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mission-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #222;
}

.mission-reward-badge {
    background-color: #fff0f3;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ffccd5;
}

.mission-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.mission-progress-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.progress {
    height: 6px;
    border-radius: 3px;
    background-color: #f1f3f7;
    margin-bottom: 12px;
}

.progress-bar {
    background: var(--primary-gradient);
    border-radius: 3px;
}

.btn-mission-action {
    width: 100%;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
}

.btn-mission-action.locked {
    background-color: #f1f3f7;
    color: #a0aec0;
    cursor: not-allowed;
}

.btn-mission-action.claimable {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 63, 108, 0.15);
}

.btn-mission-action.claimed {
    background-color: #e6f7ed;
    color: #28a745;
    cursor: not-allowed;
}

/* Downline referrals styling */
.downline-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.downline-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.downline-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.referral-row {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.ref-name {
    font-weight: 600;
    color: #333;
}

.ref-phone {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-top: 1px;
}

.ref-date {
    color: var(--text-muted);
    font-size: 0.68rem;
}

/* ---- Withdraw Page Styles ---- */
.withdraw-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.withdraw-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}

.balance-banner {
    background: var(--primary-gradient);
    border-radius: 20px;
    padding: 18px;
    color: white;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(255, 63, 108, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-label {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
}

.balance-val {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 2px;
}

.form-group-custom {
    margin-bottom: 16px;
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.form-control-custom {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    outline: none;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
}

.amount-input-grp {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-tag {
    position: absolute;
    left: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.disclaimer-box {
    background-color: #fff0f3;
    border: 1px solid #ffccd5;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.72rem;
    color: #d92650;
    margin-bottom: 22px;
}

/* ---- Recharge Page Styles ---- */
.recharge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.recharge-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}

.recharge-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 4px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.currency-symbol {
    font-size: 1.4rem;
    font-weight: 800;
    color: #222;
    margin-right: 6px;
}

.recharge-input {
    border: none;
    background: none;
    width: 100%;
    padding: 10px 0;
    font-size: 1.4rem;
    font-weight: 800;
    outline: none;
    color: #111;
}

/* Selection chips */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.amt-chip {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amt-chip:hover, .amt-chip.active {
    border-color: var(--primary-color);
    background-color: #fff0f3;
    color: var(--primary-color);
}

/* Payment guidelines box */
.payment-guide {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 22px;
}

.qr-container {
    text-align: center;
    margin-bottom: 15px;
}

.qr-img {
    width: 130px;
    height: 130px;
    border: 1px solid #ffccd5;
    border-radius: 12px;
    padding: 4px;
}

.upi-details {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f1f3f7;
    font-size: 0.8rem;
}

.step-card {
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
    margin-bottom: 12px;
    font-size: 0.76rem;
    color: #555;
}

.step-num {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 4px;
}

/* ---- Shop/Investment Plans Page Styles ---- */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-pill {
    background-color: #fff0f3;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ffccd5;
}

/* Tabs styling matching image 4 */
.tab-pills {
    display: flex;
    background-color: #f1f3f7;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab-pill-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-pill-btn.active {
    background-color: var(--card-bg);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Card styling */
.plan-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
    position: relative;
}

.plan-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.plan-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 16px;
}

.plan-img-wrapper {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.plan-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-info-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.plan-info-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.plan-detail-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.75rem;
    border: 1px solid #f1f3f7;
}

.plan-detail-lbl {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-detail-val {
    font-weight: 700;
    color: #333;
}

.plan-footer-row {
    padding: 0 16px 16px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--border-color);
    margin-top: 5px;
    padding-top: 12px;
}

.plan-price-block {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.plan-price-block strong {
    display: block;
    font-size: 1.3rem;
    color: #111;
    font-weight: 800;
}

.btn-buy-now {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(255, 63, 108, 0.15);
    transition: all 0.2s ease;
}

.btn-buy-now:hover {
    opacity: 0.95;
}

/* ---- Generic Profile Page / Form Layouts ---- */
.custom-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 4px;
    margin-bottom: 20px;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
}

.form-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

/* ---- Log List / Transaction Records ---- */
.log-row {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.log-left {
    display: flex;
    flex-direction: column;
}

.log-title {
    font-weight: 600;
    color: #333;
}

.log-subtitle {
    color: var(--text-muted);
    font-size: 0.68rem;
    margin-top: 1px;
}

.log-right {
    text-align: right;
}

.log-amt {
    font-weight: 700;
    margin-bottom: 2px;
}

.status-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-badge.pending {
    background-color: #fff8e6;
    color: #ffaa00;
    border: 1px solid #ffe8cc;
}

.status-badge.approved {
    background-color: #e6f7ed;
    color: #28a745;
    border: 1px solid #c3e6cb;
}

.status-badge.rejected {
    background-color: #fdf2f2;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

.download-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.about-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.version-badge {
    background-color: #fff0f3;
    color: var(--primary-color);
}

.social-btn {
    background-color: #fff0f3;
    color: var(--primary-color) !important;
    border-radius: 10px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-btn:hover {
    background-color: #ffccd5;
}

/* ---- Product Investment History ---- */
.history-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #222;
}

.status-badge.active {
    background-color: #e6f7ed;
    color: #28a745;
}

.status-badge.expired {
    background-color: #f1f3f7;
    color: #a0aec0;
}

.card-body-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px dashed #eee;
    padding-top: 12px;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
}

/* ---- Financial Records Tabs ---- */
.history-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.history-tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.history-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ---- Grab Page Products List ---- */
.grab-products-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    margin-bottom: 24px;
}

.grab-products-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3852;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
}

.grab-products-title i {
    color: var(--primary-color);
}

.grab-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.grab-product-item {
    background-color: #f8fafc;
    border-radius: 14px;
    padding: 10px;
    border: 1px solid rgba(238, 240, 243, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.grab-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.grab-product-img-wrapper {
    width: 100%;
    height: 90px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
}

.grab-product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.grab-product-info {
    width: 100%;
    min-width: 0;
}

.grab-product-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grab-product-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.empty-grab-products {
    grid-column: span 2;
    padding: 20px;
    text-align: center;
}

/* ═══════════════════════════════════════════
   Support Page Styles
═══════════════════════════════════════════ */
.support-page {
    padding: 16px;
    padding-bottom: 90px;
}

/* Globe icon in header */
.header-globe-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}
.header-globe-icon {
    font-size: 1.2rem;
    color: #ff6a00;
    cursor: pointer;
}

/* Telegram icon in header */
.header-telegram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}
.header-telegram-icon {
    font-size: 1.35rem;
    color: #0088cc;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.header-telegram-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

/* Banner */
.support-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #ff6a00 0%, #ff3f6c 100%);
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 20px;
    color: #fff;
}
.support-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.support-banner-title {
    font-weight: 800;
    font-size: 1.05rem;
}
.support-banner-sub {
    font-size: 0.78rem;
    opacity: 0.88;
    margin-top: 2px;
}

/* Section labels */
.support-section-label {
    font-weight: 700;
    font-size: 0.82rem;
    color: #333;
    margin-bottom: 10px;
    margin-top: 4px;
}

/* FAQ accordion */
.faq-accordion {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    background: #fff;
    margin-bottom: 4px;
}
.faq-item {
    border-bottom: 1px solid #f5f5f5;
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #2d2d2d;
    text-align: left;
    cursor: pointer;
    gap: 12px;
}
.faq-question .faq-arrow {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #ff6a00;
    transition: transform 0.25s ease;
}
.faq-question:not(.collapsed) .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 4px 16px 14px;
    font-size: 0.80rem;
    color: #666;
    line-height: 1.6;
    background: #fafafa;
}

/* Submit form card */
.support-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin-bottom: 4px;
}
.support-form-label {
    font-size: 0.80rem;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 6px;
}
.support-form-input {
    width: 100%;
    border: 1.5px solid #eee;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    color: #333;
    outline: none;
    background: #fafafa;
    transition: border-color 0.2s;
    font-family: inherit;
}
.support-form-input:focus {
    border-color: #ff6a00;
    background: #fff;
}
.support-form-textarea {
    min-height: 100px;
    resize: vertical;
}
.support-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6a00, #ff3f6c);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 4px;
}
.support-submit-btn:active { opacity: 0.85; }

/* Tickets list */
.tickets-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}
.ticket-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.ticket-subject {
    font-weight: 700;
    font-size: 0.83rem;
    color: #2d2d2d;
    flex: 1;
    margin-right: 8px;
}
.ticket-msg {
    font-size: 0.78rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 6px;
}
.ticket-reply {
    background: #f0fff4;
    border-left: 3px solid #28a745;
    padding: 7px 10px;
    border-radius: 0 8px 8px 0;
    font-size: 0.76rem;
    color: #2d6a4f;
    margin-bottom: 6px;
}
.ticket-date {
    font-size: 0.70rem;
    color: #aaa;
    text-align: right;
}
