﻿.summary-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.05);
    height: 130px;
    transition: .3s;
}

    .summary-card:hover {
        transform: translateY(-5px);
    }

.summary-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.green {
    background: #e8f7ea;
    color: #1d6e2f;
}

.gold {
    background: #fff4df;
    color: #c28b13;
}

.light-green {
    background: #eef8ea;
    color: #1d7d35;
}

.orange {
    background: #fff3e0;
    color: #c78400;
}

.summary-card p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.summary-card h2 {
    margin: 5px 0;
    font-weight: 700;
    font-size: 20px;
}

.summary-card span {
    color: #2c8a40;
    font-weight: 500;
    font-size: 13px;
}

.dashboard-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    height: 100%;
}

.card-title {
    font-size: 28px;
    font-weight: 600;
}

.month-select {
    width: 150px;
}

.income-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 12px;
}

    .income-item h6 {
        margin: 0;
        font-size: 15px;
    }

    .income-item span {
        font-weight: 600;
    }

.income-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.today-card {
    background: #06371d;
    color: #fff;
    padding: 24px;
    border-radius: 20px;
    height: 100%;
}

.today-box {
    background: rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

    .today-box i {
        font-size: 24px;
        margin-bottom: 10px;
        color: #d9b14d;
    }

    .today-box p {
        margin: 0;
        font-size: 14px;
        opacity: .8;
    }

    .today-box h3 {
        margin-top: 8px;
        font-size: 28px;
        font-weight: 700;
    }


/*=========================================
        VIEW PROFILE THEME
==========================================*/

:root {
    --primary: #06361d;
    --secondary: #0d4a29;
    --gold: #d8b36a;
    --gold-light: #f3d38f;
    --white: #ffffff;
    --text: #1e1e1e;
    --muted: #7b7b7b;
    --border: #edf0eb;
    --bg: #f6f8f4;
    --shadow: 0 12px 35px rgba(0,0,0,.08);
}

.wrap {
    display: grid;
    /*grid-template-columns: 1fr 320px;*/
    gap: 30px;
    align-items: start;
}

.stack {
    width: 100%;
}

.side {
    width: 100%;
}

.cardx {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: .35s;
}

    .cardx:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0,0,0,.10);
    }

.panel-pad {
    padding: 35px;
}

.sec-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin: 35px 0 22px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

    .topbar h1 {
        margin: 0;
        font-size: 42px;
        font-weight: 700;
        color: var(--primary);
        font-family: 'Cormorant Garamond',serif;
    }
/*=========================================
        PROFILE HEADER
==========================================*/

.prof-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
}

.avatar {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 5px solid var(--gold);
    padding: 5px;
    box-shadow: 0 12px 30px rgba(216,179,106,.35);
    transition: .35s;
}

    .avatar:hover {
        transform: scale(1.05);
    }

.prof-wrap > div {
    flex: 1;
}

.name {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.tag {
    margin-top: 8px;
    color: #666;
    font-size: 17px;
    font-weight: 500;
}

    .tag span {
        color: var(--gold);
        font-weight: 700;
    }

/* Rank */

#lbl_rank {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fff7e7;
    color: #b8860b;
    font-weight: 700;
    margin-top: 12px;
    border: 1px solid rgba(216,179,106,.35);
}

/*=========================================
            ACTION BUTTONS
==========================================*/

.actions {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gold-btn {
    border: none;
    background: linear-gradient(135deg,#d8b36a,#b8892f);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: .35s;
    box-shadow: 0 10px 20px rgba(216,179,106,.25);
}

    .gold-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 30px rgba(216,179,106,.40);
    }

    .gold-btn i {
        font-size: 16px;
    }

/*=========================================
        PROFILE HEADER BACKGROUND
==========================================*/

.panel-pad {
    position: relative;
    overflow: hidden;
}

    .panel-pad::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(216,179,106,.08);
        right: -70px;
        top: -90px;
    }

    .panel-pad::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(6,54,29,.05);
        left: -60px;
        bottom: -80px;
    }

.prof-wrap,
.actions {
    position: relative;
    z-index: 2;
}
/*=========================================
        ACCOUNT DETAILS GRID
==========================================*/

.grid {
    display: grid;
    gap: 22px;
}

.grid-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

/*=========================================
        INFO CARD
==========================================*/

.ibox {
    padding: 22px 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(6,54,29,.08);
    position: relative;
    overflow: hidden;
    transition: .35s;
}

    .ibox::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom,#06361d,#d8b36a);
    }

    .ibox:hover {
        transform: translateY(-5px);
        border-color: rgba(216,179,106,.45);
        box-shadow: 0 15px 35px rgba(0,0,0,.08);
    }

    /*=========================================
            LABEL
==========================================*/

    .ibox label {
        display: block;
        margin-bottom: 12px;
        font-size: 13px;
        font-weight: 600;
        color: #7b7b7b;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/*=========================================
            VALUE
==========================================*/

.val {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 17px;
    font-weight: 600;
    color: #06361d;
    word-break: break-word;
}

    .val span {
        flex: 1;
        color: #222;
        line-height: 1.5;
    }

/*=========================================
        COPY BUTTON
==========================================*/

.i-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #f7f8f6;
    color: #06361d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
    flex-shrink: 0;
}

    .i-btn:hover {
        background: linear-gradient(135deg,#06361d,#0b4a2a);
        color: #fff;
        transform: scale(1.08);
    }

    .i-btn i {
        font-size: 18px;
    }

/*=========================================
        SPECIAL VALUE COLORS
==========================================*/

#txt_mem_id,
#txt_mem_id_,
#txt_sponsor_id {
    color: #06361d;
    font-weight: 700;
}

#txt_email {
    color: #0066cc;
}

#txt_crypto_address {
    font-family: monospace;
    color: #b8860b;
    font-size: 15px;
}

#txt_join_date {
    color: #2d7a43;
    font-weight: 700;
}

#txt_address {
    color: #444;
}
/*=========================================
        UPDATE PROFILE THEME
==========================================*/

.main {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    border: 1px solid #edf1ec;
    position: relative;
    overflow: hidden;
}

    .form-card::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(216,179,106,.08);
        right: -120px;
        top: -120px;
    }

    .form-card::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(6,54,29,.05);
        left: -70px;
        bottom: -70px;
    }

#update {
    position: relative;
    z-index: 2;
}

/*=========================================
            TITLE
==========================================*/

.card-titles {
    font-size: 36px;
    font-weight: 700;
    color: #06361d;
    margin-bottom: 35px;
    font-family: 'Cormorant Garamond',serif;
    position: relative;
}

    .card-titles::after {
        content: "";
        display: block;
        width: 70px;
        height: 4px;
        background: #d8b36a;
        border-radius: 30px;
        margin-top: 10px;
    }

/*=========================================
            LABEL
==========================================*/

.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    font-size: 15px;
}

/*=========================================
            INPUT
==========================================*/

.form-control {
    height: 55px;
    border-radius: 14px;
    border: 1px solid #dfe6df;
    background: #fafcf9;
    padding: 0 18px;
    font-size: 15px;
    transition: .3s;
    box-shadow: none;
}

textarea.form-control {
    height: auto;
    padding: 15px 18px;
}

.form-control:focus {
    border-color: #d8b36a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(216,179,106,.15);
}

/*=========================================
        FILE INPUT
==========================================*/

input[type=file] {
    height: 55px;
    padding: 12px;
}
/*=========================================
        UPDATE PROFILE BUTTON
==========================================*/

.custom-btn-submit {
    min-width: 230px;
    height: 58px;
    border: none;
    outline: none;
    border-radius: 16px;
    background: linear-gradient(135deg,#06361d,#0d5a32);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all .35s ease;
    box-shadow: 0 12px 28px rgba(6,54,29,.28);
    position: relative;
    overflow: hidden;
}

    /* Shine Effect */

    .custom-btn-submit::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: rgba(255,255,255,.28);
        transform: skewX(-30deg);
        transition: .7s;
    }

    .custom-btn-submit:hover::before {
        left: 130%;
    }

    /* Hover */

    .custom-btn-submit:hover {
        background: linear-gradient(135deg,#0b4b2b,#d8b36a);
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(0,0,0,.20);
    }

    /* Click */

    .custom-btn-submit:active {
        transform: scale(.98);
    }

    /* Focus */

    .custom-btn-submit:focus {
        box-shadow: 0 0 0 4px rgba(216,179,106,.25);
    }

    /* Disabled */

    .custom-btn-submit:disabled {
        opacity: .6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/*==================================================
            TEAM PAGE
==================================================*/

.wrap {
    display: grid;
/*    grid-template-columns: 1fr;
*/    gap: 25px;
}

.stack {
    width: 100%;
}

/*==================================================
            CARD
==================================================*/

.cardx {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(6,54,29,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: .35s;
}

    .cardx:hover {
        box-shadow: 0 18px 40px rgba(0,0,0,.08);
    }

.panel-pad {
    padding: 30px;
}

/*==================================================
            PAGE TITLE
==================================================*/

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .topbar h1 {
        margin: 0;
        color: #06361d;
        font-size: 38px;
        font-weight: 700;
        font-family: 'Cormorant Garamond',serif;
    }

.sec-title {
    margin: 0 0 18px;
    color: #06361d;
    font-size: 24px;
    font-weight: 700;
}

/*==================================================
            FILTER GRID
==================================================*/

.ff-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}

.ff-span-2 {
    grid-column: span 1;
}

.ff-field {
    display: flex;
    flex-direction: column;
}

    .ff-field label {
        font-size: 14px;
        color: #666;
        font-weight: 600;
        margin-bottom: 10px;
    }

/*==================================================
            INPUT BOX
==================================================*/

.money-input {
    position: relative;
}

    .money-input input,
    .ff-select {
        width: 100%;
        height: 55px;
        border-radius: 14px;
        border: 1px solid #dfe6df;
        background: #fafcf9;
        padding: 0 18px;
        font-size: 15px;
        outline: none;
        transition: .35s;
    }

        .money-input input:focus,
        .ff-select:focus {
            border-color: #d8b36a;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(216,179,106,.15);
        }

        .money-input input[readonly] {
            background: #f5f6f4;
            color: #06361d;
            font-weight: 700;
        }

/*==========================================
            REPORT PAGE LAYOUT
==========================================*/

/*.wrap {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 28px;
    align-items: start;
}*/

.stack {
    width: 100%;
}

.side {
    width: 100%;
}

/*==========================================
                PANEL
==========================================*/

.panel {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(6,54,29,.08);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    margin-bottom: 24px;
    transition: .35s;
}

    .panel:hover {
        box-shadow: 0 18px 40px rgba(0,0,0,.08);
    }

/*==========================================
            PAGE HEADER
==========================================*/

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

    .topbar h1 {
        margin: 0;
        color: #06361d;
        font-size: 38px;
        font-weight: 700;
        font-family: 'Cormorant Garamond',serif;
    }

/*==========================================
            FILTER GRID
==========================================*/

.ff-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}

.ff-field {
    display: flex;
    flex-direction: column;
}

    .ff-field label {
        font-size: 14px;
        font-weight: 600;
        color: #666;
        margin-bottom: 10px;
    }

/*==========================================
            INPUTS
==========================================*/

.money-input {
    position: relative;
}

    .money-input input,
    .money-input select {
        width: 100%;
        height: 56px;
        border-radius: 14px;
        border: 1px solid #dfe6df;
        background: #fafcf9;
        padding: 0 18px;
        font-size: 15px;
        outline: none;
        transition: .35s;
    }

        .money-input input:focus,
        .money-input select:focus {
            border-color: #d8b36a;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(216,179,106,.15);
        }

        .money-input input[readonly] {
            background: #f4f6f4;
            color: #06361d;
            font-size: 20px;
            font-weight: 700;
        }


/*==========================================
            REPORT TABLE
==========================================*/

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(6,54,29,.08);
    background: #fff;
}

    /* Scrollbar */

    .table-wrap::-webkit-scrollbar {
        height: 8px;
    }

    .table-wrap::-webkit-scrollbar-thumb {
        background: #d8b36a;
        border-radius: 20px;
    }

    .table-wrap::-webkit-scrollbar-track {
        background: #eef3ee;
    }

/*=============================
            TABLE
==============================*/

#tab_data {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

    /*=============================
        HEADER
==============================*/

    #tab_data thead {
        background: linear-gradient(135deg,#06361d,#0f5c35);
    }

        #tab_data thead th {
            color: #fff;
            padding: 18px;
            text-align: left;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: .5px;
            border: none;
            white-space: nowrap;
        }

    /*=============================
            BODY
==============================*/

    #tab_data tbody td {
        padding: 16px 18px;
        border-bottom: 1px solid #edf0eb;
        color: #333;
        font-size: 14px;
        transition: .3s;
        white-space: nowrap;
    }

    /* Zebra */

    #tab_data tbody tr:nth-child(even) {
        background: #fafcf9;
    }

    /* Hover */

    #tab_data tbody tr {
        transition: .3s;
    }

        #tab_data tbody tr:hover {
            background: #fff7eb;
        }

        /* Last Row */

        #tab_data tbody tr:last-child td {
            border-bottom: none;
        }

    /*=============================
        SERIAL COLUMN
==============================*/

    #tab_data tbody td:first-child {
        font-weight: 700;
        color: #06361d;
    }

    /*=============================
        AMOUNT COLUMN
==============================*/

    #tab_data tbody td:last-child {
        color: #14823c;
        font-weight: 700;
    }

/*=============================
        STATUS
==============================*/

.ff-hint {
    text-align: center;
    padding: 25px;
    color: #888;
    font-size: 15px;
}

/*=============================
        LOADING
==============================*/

#tab_data img {
    display: block;
    margin: 30px auto;
}

#tab_data {
    animation: fadeTable .35s ease;
}

@keyframes fadeTable {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
/*==========================================
            RIGHT SIDEBAR
==========================================*/

.side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(6,54,29,.08);
    border-radius: 18px;
    padding: 20px;
    text-decoration: none;
    transition: .35s;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}

    .side-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(#06361d,#d8b36a);
    }

    .side-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 35px rgba(0,0,0,.08);
        background: #fffdf9;
    }

.side-title {
    color: #06361d;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.side-desc {
    color: #777;
    font-size: 13px;
    line-height: 22px;
}

/*==========================================
        TOTAL AMOUNT BOX
==========================================*/

#lbl_tot_amt {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0c6d35;
    text-align: center;
    letter-spacing: 1px;
}

/*==========================================
        DATE PICKER
==========================================*/

input[type="date"] {
    cursor: pointer;
}

/*==========================================
        PANEL TITLE
==========================================*/

.panel h3 {
    margin-bottom: 20px;
}

/*==========================================
            RESPONSIVE
==========================================*/

@media(max-width:1200px) {

    .wrap {
        grid-template-columns: 1fr;
    }

    .side {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 18px;
    }
}

@media(max-width:991px) {

    .ff-grid {
        grid-template-columns: 1fr;
    }

    .side {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 20px;
    }

    .topbar h1 {
        font-size: 30px;
    }
}

@media(max-width:576px) {

    .panel {
        border-radius: 16px;
        padding: 18px;
    }

    .topbar h1 {
        font-size: 26px;
    }

    #tab_data {
        min-width: 700px;
    }

    .money-input input {
        height: 50px;
    }
}

/*==========================================
        FADE ANIMATION
==========================================*/

.panel {
    animation: fadeCard .35s ease;
}

@keyframes fadeCard {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/*==================================================
        SIGNUP LEVEL INCOME
==================================================*/


.card {
    background: #fff !important;
    border: none !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
    overflow: hidden;
}

/*=========================================
            PAGE TITLE
=========================================*/

.i2 {
    font-size: 34px;
    font-weight: 700;
    color: #06361d;
    margin-bottom: 30px;
    font-family: 'Cormorant Garamond',serif;
}

    .i2::after {
        content: "";
        display: block;
        width: 70px;
        height: 4px;
        margin-top: 10px;
        border-radius: 20px;
        background: #d8b36a;
    }

/*=========================================
            LABEL
=========================================*/

.i3 {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

/*=========================================
            INPUT
=========================================*/

.input {
    width: 100%;
    height: 55px;
    border: 1px solid #dfe6df;
    border-radius: 14px;
    background: #fafcf9;
    padding: 0 18px;
    outline: none;
    transition: .35s;
    font-size: 15px;
}

    .input:focus {
        border-color: #d8b36a;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(216,179,106,.15);
    }

    .input[readonly] {
        font-size: 22px;
        color: #0c6d35;
        font-weight: 700;
        text-align: center;
    }

/*=========================================
        ROW GAP
=========================================*/

.row > .col-12 {
    margin-bottom: 20px;
}


/*==================================================
            FUSION TRADE PAGE
==================================================*/

:root {
    --primary: #06361d;
    --primary-light: #0d6b36;
    --gold: #d8b36a;
    --gold-light: #f3d38f;
    --bg: #f7f8fa;
    --white: #ffffff;
    --text: #1e293b;
    --muted: #7a8796;
    --border: #e8ecef;
    --green: #12b76a;
    --red: #ef4444;
}

/*====================================
            PAGE
====================================*/

.main {
    width: 100%;
    padding: 20px;
    background: var(--bg);
    min-height: 100vh;
}

.wrap {
    max-width: 1450px;
    margin: auto;
}

/*====================================
            HEADER
====================================*/

#pair {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
}

#px {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

#pxInr {
    font-size: 14px;
    color: #777;
}

/*====================================
            CHIP
====================================*/

.chip {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    background: #eaf8ef;
    color: var(--green);
}

/*====================================
        LEFT + RIGHT GRID
====================================*/

.two-col {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 22px;
    margin-top: 20px;
}

@media(max-width:991px) {

    .two-col {
        grid-template-columns: 1fr;
    }
}

/*====================================
        TRADING CARD
====================================*/

.two-col > div:first-child > div,
.two-col > div:last-child > div {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

/*====================================
        BUY / SELL TAB
====================================*/

.seg {
    background: #f2f4f7;
    padding: 6px;
    border-radius: 14px;
    display: flex;
    gap: 6px;
}

    .seg .tab {
        flex: 1;
        border: none;
        background: transparent;
        height: 46px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        transition: .35s;
        color: #555;
    }

        .seg .tab.active {
            background: linear-gradient(135deg,#06361d,#0d6b36);
            color: #fff;
            box-shadow: 0 8px 20px rgba(6,54,29,.22);
        }

        .seg .tab:hover {
            background: #d8b36a;
            color: #fff;
        }

/*====================================
        ORDER TYPE BUTTON
====================================*/

.otype-btn {
    height: 46px;
    border-radius: 12px;
    padding: 0 18px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 600;
    color: #06361d;
}

    .otype-btn:hover {
        background: #06361d;
        color: #fff;
    }
/*==========================================
        WALLET / TRADE TOGGLE
==========================================*/

.toggle-row {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px;
    gap: 8px;
    background: #eef4ef;
    border: 1px solid #e3ebe3;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

    .toggle-row .seg {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 56px;
        padding: 0 20px;
        margin: 0;
        border: none;
        outline: none;
        border-radius: 15px;
        background: transparent;
        color: #06361d;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
        white-space: nowrap;
        cursor: pointer;
        transition: all .35s ease;
    }

        .toggle-row .seg:hover {
            background: #d8b36a;
            color: #fff;
        }

        .toggle-row .seg.on {
            background: linear-gradient(135deg,#06361d,#0b5a31);
            color: #fff;
            box-shadow: 0 10px 25px rgba(6,54,29,.25);
        }

        .toggle-row .seg:focus {
            outline: none;
        }

/*==========================================
        MOBILE
==========================================*/

@media(max-width:768px) {

    .toggle-row {
        flex-direction: column;
        padding: 6px;
    }

        .toggle-row .seg {
            width: 100%;
            height: 52px;
        }
}
/*==========================================
        FUSION BUTTON
==========================================*/

.button-29 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    padding: 0 32px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg,#06361d,#0d5b33);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .4px;
    text-align: center;
    cursor: pointer;
    transition: all .35s ease;
    box-shadow: 0 12px 28px rgba(6,54,29,.22);
}

    .button-29:hover {
        background: linear-gradient(135deg,#d8b36a,#b98934);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(216,179,106,.35);
    }

    .button-29:active {
        transform: scale(.98);
    }

    .button-29:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(216,179,106,.18), 0 12px 28px rgba(6,54,29,.22);
    }

    .button-29:disabled {
        opacity: .6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* Loading Image */

#img_load {
    margin-left: 12px;
    vertical-align: middle;
}

/* Mobile */

@media(max-width:768px) {

    .button-29 {
        width: 100%;
        min-width: 100%;
    }
}
/*=========================================
        SUPPORT TABLE
=========================================*/

.str_sty {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(6,54,29,.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

#tab_query {
    width: 100%;
    border-collapse: collapse;
}

    #tab_query tr {
        transition: .3s;
    }

        #tab_query tr:hover {
            background: #f6fbf8;
        }

    #tab_query th {
        background: #06361d;
        color: #fff;
        padding: 16px;
        font-size: 15px;
        font-weight: 700;
        text-align: center;
    }

    #tab_query td {
        padding: 15px;
        border-bottom: 1px solid #edf1ed;
        color: #444;
        font-size: 14px;
        vertical-align: middle;
    }

/*=========================================
            CHAT BOX
=========================================*/

#div_chat_history {
    background: #ffffff !important;
    border: 2px solid #d8b36a !important;
    border-radius: 20px !important;
    min-height: 250px;
    max-height: 420px;
    overflow-y: auto;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    color: #444 !important;
    line-height: 1.8;
}

    #div_chat_history::-webkit-scrollbar {
        width: 8px;
    }

    #div_chat_history::-webkit-scrollbar-thumb {
        background: #d8b36a;
        border-radius: 20px;
    }

    #div_chat_history label {
        display: inline-block;
    }
.panel {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
    border: 1px solid rgba(6,54,29,.08);
}
#txt_subject,
#txt_msg {
    width: 100%;
    height: 56px;
    border: 1px solid #dfe7df;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 15px;
    transition: .3s;
    background: #fff;
}

    #txt_subject:focus,
    #txt_msg:focus {
        border-color: #0b5a31;
        box-shadow: 0 0 0 4px rgba(6,54,29,.08);
        outline: none;
    }
#tab_query {
    width: 100%;
    border-collapse: collapse;
}

    #tab_query th {
        background: #06361d;
        color: #fff;
        padding: 15px;
    }

    #tab_query td {
        padding: 15px;
        border-bottom: 1px solid #eee;
        color: #444;
    }
@media(max-width:768px) {

    .panel {
        padding: 18px;
    }

    .button-29 {
        width: 100%;
        margin-bottom: 12px;
    }

    #div_chat_history {
        min-height: 220px;
    }
}
/* Address */

textarea {
    width: 100%;
    min-height: 130px;
    padding: 15px 18px;
    border: 1px solid #dfe5df;
    border-radius: 16px;
    background: #fff;
    font-size: 15px;
    color: #333;
    resize: vertical;
    transition: .3s;
}

    textarea:focus {
        outline: none;
        border-color: #0b5a31;
        box-shadow: 0 0 0 4px rgba(6,54,29,.08);
    }
/* Logo Upload */

input[type="file"] {
    width: 100%;
    height: 58px;
    padding: 8px;
    border: 1px solid #dfe5df;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
}

    input[type="file"]::file-selector-button {
        background: #06361d;
        color: #fff;
        border: none;
        border-radius: 12px;
        padding: 11px 22px;
        margin-right: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: .3s;
    }

        input[type="file"]::file-selector-button:hover {
            background: #d8b36a;
        }