/*
=========================================================
 Keektrade Global UI
 Premium Light Green Mobile System
=========================================================
*/

:root{
    --bg:#f4faf7;
    --bg2:#eef7f2;
    --card:#ffffff;
    --soft:#f8fcfa;
    --text:#14281d;
    --muted:#74857c;
    --muted2:#8c9490;
    --green:#1fb875;
    --green2:#18af6b;
    --green3:#34d88d;
    --gold:#ffd76a;
    --gold2:#d99a11;
    --orange:#f58b32;
    --red:#ef4444;
    --blue:#38bdf8;
    --border:rgba(20,40,29,.07);
    --border2:rgba(95,191,148,.24);
    --shadow:0 14px 30px rgba(20,40,29,.07);
    --shadow-soft:0 8px 18px rgba(20,40,29,.045);
    --radius:22px;
    --radius-lg:26px;
    --radius-sm:15px;
    --max:640px;
}

html,
body,
body *,
button,
input,
select,
textarea,
a,
span,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6{
    font-family:Arial,Tahoma,sans-serif !important;
}

body{
    background:
        radial-gradient(circle at top left, rgba(52,216,141,.16), transparent 28%),
        linear-gradient(180deg,var(--bg),var(--bg2)) !important;
    color:var(--text);
    overflow-x:hidden;
}

header,
footer,
.site-header,
.footer{
    display:none !important;
}

/* ===== App Shell ===== */
.app-shell,
.dashboard-shell,
.wallet-wrap,
.wd-shell,
.sessions-shell,
.support-shell,
.page-wrap{
    width:100%;
    max-width:var(--max);
    margin:0 auto;
    padding:10px 10px 92px;
    position:relative;
    z-index:2;
}

/* ===== Topbar / Brand ===== */
.app-topbar,
.mini-topbar,
.wd-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
}

.app-brand,
.mini-brand,
.wd-brand{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.app-logo,
.mini-brand-logo,
.wd-brand-logo{
    width:40px;
    height:40px;
    border-radius:14px;
    background:linear-gradient(135deg,#10271c,#1ecb79);
    border:1px solid rgba(255,255,255,.45);
    box-shadow:0 10px 20px rgba(20,40,29,.10);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    flex-shrink:0;
    color:#fff;
    font-weight:900;
    font-size:17px;
}

.app-logo img,
.mini-brand-logo img,
.wd-brand-logo img{
    width:78%;
    height:78%;
    object-fit:contain;
}

.app-brand-title,
.mini-brand-title,
.wd-brand-title{
    font-size:17px;
    font-weight:900;
    color:var(--text);
    line-height:1.1;
    white-space:nowrap;
    letter-spacing:-.3px;
}

.app-brand-title span,
.mini-brand-title span,
.wd-brand-title span{
    color:#22b978;
}

.app-top-actions,
.mini-top-actions,
.wd-top-actions{
    display:flex;
    align-items:center;
    gap:7px;
    justify-content:flex-end;
    flex-wrap:nowrap;
}

.app-icon-btn,
.mini-top-btn,
.wd-top-btn{
    min-width:40px;
    width:40px;
    height:40px;
    padding:0;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.96) !important;
    border:1px solid var(--border);
    color:var(--green);
    font-weight:900;
    box-shadow:0 7px 16px rgba(20,40,29,.055);
    text-decoration:none;
    cursor:pointer;
    font-size:15px;
}

/* ===== Hero Cards ===== */
.app-hero,
.hero-card,
.wd-hero-card,
.dashboard-like-hero,
.support-hero,
.hero-banner{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(64,223,143,.24), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(255,214,107,.20), transparent 24%),
        linear-gradient(135deg,#10271c,#173d2b 55%,#0d1f17);
    border:1px solid rgba(255,255,255,.35);
    border-radius:26px;
    box-shadow:0 16px 34px rgba(20,40,29,.13);
    padding:18px 16px;
    margin-bottom:10px;
    color:#fff;
}

.app-hero::after,
.hero-card::after,
.wd-hero-card::after,
.dashboard-like-hero::after,
.support-hero::after,
.hero-banner::after{
    content:"";
    position:absolute;
    width:170px;
    height:170px;
    border-radius:50%;
    background:rgba(255,255,255,.06);
    top:-70px;
    right:-70px;
    pointer-events:none;
}

.app-hero-title,
.hero-title,
.wd-hero-title,
.dash-hero-title,
.support-title{
    position:relative;
    z-index:2;
    font-size:26px;
    font-weight:900;
    line-height:1.25;
    margin:0 0 7px;
    color:#fff;
    letter-spacing:-.4px;
}

.app-hero-subtitle,
.hero-sub,
.wd-hero-subtitle,
.dash-hero-sub,
.support-subtitle{
    position:relative;
    z-index:2;
    color:rgba(255,255,255,.74);
    font-size:12.5px;
    line-height:1.75;
    font-weight:800;
}

/* ===== Cards ===== */
.app-card,
.card,
.panel-card,
.sessions-card,
.admin-card,
.wd-card,
.quick-section,
.section,
.main-balance-card,
.support-card,
.note-card{
    background:rgba(255,255,255,.98);
    border:1px solid var(--border);
    border-radius:22px;
    box-shadow:var(--shadow-soft);
    padding:13px;
    margin-bottom:10px;
}

.app-card-soft,
.soft-card{
    background:var(--soft);
    border:1px solid var(--border);
    border-radius:17px;
    padding:11px;
}

.app-section-title,
.section-title,
.panel-title,
.wd-section-title{
    color:var(--text);
    font-size:17px;
    font-weight:900;
    text-align:center;
    margin:0 0 11px;
}

/* ===== Inputs ===== */
.app-input,
.app-select,
.app-textarea,
.wd-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea{
    width:100%;
    min-height:48px;
    border:1px solid var(--border) !important;
    outline:none;
    background:#f8fcfa !important;
    border-radius:15px;
    padding:0 13px;
    font-size:14px;
    font-weight:800;
    color:var(--text) !important;
    box-shadow:none !important;
}

textarea,
.app-textarea{
    padding-top:12px;
    min-height:90px;
    resize:vertical;
}

.app-input:focus,
.app-select:focus,
.app-textarea:focus,
.wd-input:focus,
input:focus,
select:focus,
textarea:focus{
    border-color:rgba(31,184,117,.48) !important;
    box-shadow:0 0 0 3px rgba(31,184,117,.10) !important;
}

/* ===== Buttons ===== */
.app-btn,
.mini-btn,
.session-btn,
.wd-submit-btn,
.telegram-btn,
.btn{
    min-height:44px;
    border:none;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:900;
    font-size:13px;
    color:#fff;
    box-shadow:0 10px 20px rgba(20,40,29,.08);
    gap:7px;
    cursor:pointer;
    padding:9px 12px;
}

.app-btn-green,
.mini-btn.green,
.session-btn.green,
.wd-submit-btn,
.telegram-btn,
.btn-green{
    background:linear-gradient(135deg,var(--green3),var(--green2)) !important;
    color:#fff !important;
}

.app-btn-soft,
.mini-btn.soft,
.btn-soft{
    background:linear-gradient(135deg,#56d8a6,#20ad73) !important;
    color:#fff !important;
}

.app-btn-orange,
.session-btn.orange,
.btn-orange{
    background:linear-gradient(135deg,#ffd76a,#d99a11) !important;
    color:#14281d !important;
}

.app-btn-gray,
.session-btn.gray,
.btn-gray{
    background:linear-gradient(135deg,#bcc8c1,#95a59c) !important;
    color:#fff !important;
}

/* ===== Status ===== */
.status-pill,
.session-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:6px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
}

.status-pill.approved,
.approved,
.session-badge.live,
.session-badge.joined{
    background:rgba(39,201,122,.12);
    color:#18af6b;
}

.status-pill.pending,
.pending,
.session-badge.claim{
    background:rgba(255,184,77,.14);
    color:#b77900;
}

.status-pill.rejected,
.rejected,
.session-badge.finished{
    background:rgba(239,107,107,.10);
    color:#e56767;
}

.session-badge.coming{
    background:rgba(188,200,193,.18);
    color:#6e877c;
}

/* ===== Bottom Nav ===== */
.bottom-nav,
.wd-bottom-nav,
.rq-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:99999;
    background:#f3faf6;
    padding:0 10px 0;
    overflow:hidden;
    border-top:1px solid rgba(95,191,148,.20);
}

.bottom-nav-inner,
.wd-bottom-nav-inner,
.rq-bottom-nav-inner{
    max-width:var(--max);
    margin:0 auto;
    background:rgba(255,255,255,.98);
    border:1px solid rgba(95,191,148,.26);
    border-radius:18px 18px 0 0;
    box-shadow:0 -8px 22px rgba(20,40,29,.10);
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2px;
    padding:6px 8px 6px;
    overflow:hidden;
}

.bottom-nav a,
.wd-bottom-nav a,
.rq-bottom-nav a{
    min-height:48px;
    border-radius:14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    gap:3px;
    color:#8c9490;
    font-size:10.5px;
    font-weight:900;
}

.bottom-nav a i,
.wd-bottom-nav a i,
.rq-bottom-nav a i{
    font-size:17px;
}

.bottom-nav a.active,
.wd-bottom-nav a.active,
.rq-bottom-nav a.active{
    color:var(--green);
    background:rgba(31,184,117,.08);
}

/* ===== Utilities ===== */
.ltr,
.app-ltr{
    direction:ltr;
    unicode-bidi:isolate;
}

.app-alert,
.notice,
.wd-alert-box{
    padding:10px 12px;
    border-radius:16px;
    margin-bottom:10px;
    font-size:12px;
    font-weight:900;
    text-align:center;
    background:#fff;
    border:1px solid var(--border);
    box-shadow:0 6px 14px rgba(20,40,29,.035);
}

.app-empty,
.empty{
    text-align:center;
    padding:18px 12px;
    border-radius:18px;
    background:#fff;
    border:1px solid var(--border);
    color:#8f9d96;
    font-weight:900;
    font-size:12px;
    box-shadow:var(--shadow-soft);
}

/* ===== Responsive ===== */
@media(max-width:430px){
    .app-shell,
    .dashboard-shell,
    .wallet-wrap,
    .wd-shell,
    .sessions-shell,
    .support-shell,
    .page-wrap{
        padding:9px 9px 92px;
    }

    .app-brand-title,
    .mini-brand-title,
    .wd-brand-title{
        font-size:15px;
    }

    .app-logo,
    .mini-brand-logo,
    .wd-brand-logo,
    .app-icon-btn,
    .mini-top-btn,
    .wd-top-btn{
        width:38px;
        height:38px;
        min-width:38px;
    }

    .app-hero-title,
    .hero-title,
    .wd-hero-title,
    .dash-hero-title,
    .support-title{
        font-size:24px;
    }
}

@media(max-width:360px){
    .app-actions-2,
    .profit-actions{
        grid-template-columns:1fr !important;
    }
}
