﻿:root {
    --team-bg-color: #000000;
    --team-card-bg: #0a0a0a;
    --team-border-color: #171717;
    --team-text-white: #ffffff;
    --team-text-light: #d6d6d6;
    --team-gold: #d4a85f;
    --team-gold-dark: #8a6921;
    --team-gold-light: #ffe28b;
}



.team-card {
    background: var(--team-card-bg);
    border: 1px solid var(--team-border-color);
    border-radius: 10px;
}

/* Profile Card */

.team-profile-card {
    padding: 14px;
}

.team-profile-logo {
    width: 50px;
    object-fit: contain;
}

.team-profile-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-profile-email {
    color: var(--team-text-light);
    font-size: 14px;
    margin: 0;
}

.team-copy-btn {
    color: #bcbcbc;
    font-size: 24px;
}

/* Section Title */

.team-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 14px;
}

/* Stats Card */

.team-stats-card {
    padding: 18px;
    height: 100%;
}

.team-stats-icon {
    color: var(--team-gold);
    font-size: 26px;
}

.team-stats-value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.team-stats-label {
    color: var(--team-text-white);
    font-size: 14px;
    margin-top: 4px;
}

/* Rank Card */

.team-rank-card {
    background: radial-gradient(ellipse farthest-corner at right bottom,#fedb37 0%,#fdb931 8%,#9f7928 30%,#8a6e2f 40%,transparent 80%),radial-gradient(ellipse farthest-corner at left top,#fff,#ffffac 8%,#d1b464 25%,#5d4a1f 62.5% 100%);
    border-radius: 10px;
    padding: 16px;
    color: #ffffff;
    /*cursor: pointer;*/
}

.team-rank-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #d4a85f;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .team-rank-icon-box i {
        font-size: 24px;
    }

.team-rank-title,
.team-income-title {
    font-size: 14px;
    margin-bottom: 2px;
    text-shadow: 0 0 20px #0000008f;
}

.team-rank-value,
.team-income-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 0 20px #0000008f;
}

/* Downline */

.team-downline-box {
    padding: 14px;
    color: var(--team-text-light);
    font-size: 15px;
}

@media (max-width: 576px) {

    .team-profile-name {
        font-size: 15px;
    }

    .team-stats-value {
        font-size: 18px;
    }

    .team-rank-value,
    .team-income-value {
        font-size: 18px;
    }
}




/* BALANCE CARD */

.balance-amount {
    margin: 6px 0 14px
}
/* CARD */
.income-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 13px;
}

    .income-grid span {
        color: #9aa0a6
    }

    .income-grid b {
        display: block;
        margin-top: 4px
    }

.btn-theme {
    min-width: 100px;
    padding: 7px 0;
    border-radius: 22px;
    text-align: center;
    font-weight: 600;
    background: linear-gradient(180deg, #f7d57b, #eeb84f);
    color: #000;
}

.form-control {
    color: #fff !important;
    background-color: #252a30 !important;
    border: 1px solid rgba(226, 232, 245, 0.1);
    border-radius: 20px;
}

.table {
    white-space: nowrap !important;
    color: #fff !important;
    font-size: 12px;
    margin-bottom: 0px;
}

table.dataTable {
    border: 1px solid rgba(226, 232, 245, 0.1);
}


.table th, .table td {
    border-top: 1px solid rgba(227, 231, 237, 0.1);
    border-bottom-color: rgba(227, 231, 237, 0.1) !important;
}

#example23 {
    width: 100% !important;
}

.btn-skyblue {
    color: #000 !important;
    background: #FDB931 !important;
}

.page-item.disabled .page-link {
    background-color: #252a30 !important;
    color: #fff !important;
}

.page-link {
    background-color: #252a30 !important;
    color: #fff !important;
}

.page-item.active .page-link {
    color: #000000 !important;
    background-color: #FDB931 !important;
}
 
.invite-card {
    background: #383b3f;
    border-radius: 14px;
    border: 1px solid #a49a9a;
    padding: 20px;
    margin: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.invite-left {
    width: 85%;
}

    .invite-left h3 {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
    }

    .invite-left p {
        margin-top: 6px;
        font-size: 14px;
        color: #cfcfcf;
        line-height: 1.4;
    }

.invite-right i {
    font-size: 25px;
    color: #f4c35a;
}

.reflinkshow {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
}

hr {
    border-top: 1px solid rgb(228 194 124 / 62%);
}

.stats-title {
    font-size: 13px;
    color: #9ca3af;
}

.stats-value {
    font-size: 18px;
    font-weight: 700;
}
/* Pie Chart */
.pie {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient( #2563eb 0% 40%, #16a34a 40% 75%, #f59e0b 75% 100% );
}

.legend span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.blue {
    background: #2563eb;
}

.green {
    background: #16a34a;
}

.orange {
    background: #f59e0b;
}

.legend-item {
    font-size: 14px;
    margin-bottom: 8px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: left;
}




.myteam-outer-card {
    background-color: #39393969;
    padding: 10px 0px;
    border-radius: 10px;
    border: 1px solid #363636;
}

table.dataTable thead > tr th {
    background-color: #383838;
    color: #fff6f6;
}
 
.table > :not(caption) > * > * {
    background-color: #383838;
    color: #fff6f6;
}

div.dataTables_wrapper div.dataTables_length select {
    border-radius: 8px;
}

@media screen and (max-width: 767px) {
    div.dt-buttons {
        width: 75%;
    }
}

.dataTables_wrapper.dt-bootstrap4 {
    position: relative;
}






/* Datatable Premium Card wrapper */
.txn-table-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px -2px rgba(148, 163, 184, 0.06);
}

/* Pure Left-Right Scroll container on mobile screens */
.txn-table-responsive {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
}

    .txn-table-responsive::-webkit-scrollbar {
        height: 6px;
    }

    .txn-table-responsive::-webkit-scrollbar-track {
        background: #f8fafc;
    }

    .txn-table-responsive::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

/* Main Table styling overrides for DataTables */
table.dataTable {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 15px 0 !important;
    font-size: 13px;
}

    table.dataTable thead th {
        background-color: #5a5b5c !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        padding: 18px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        white-space: nowrap;
    }

    table.dataTable tbody td {
        padding: 18px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        vertical-align: middle !important;
        color: #ffffff;
        white-space: nowrap; /* Prevent messy line-breaks in data columns */
    }

    /* Professional Zebra Stripe & Smooth Hover Effects */
    table.dataTable tbody tr {
        background-color: #ffffff !important;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

        table.dataTable tbody tr:nth-child(even) {
            background-color: #f8fafc !important; /* Premium Alternate Row color */
        }

        table.dataTable tbody tr:hover {
            background-color: rgba(99, 102, 241, 0.05) !important; /* Smooth Hover transition */
        }

/* Total Row style alignment */
.txn-total-row {
    background-color: rgba(99, 102, 241, 0.03) !important;
    font-weight: 700;
    color: #6366f1;
}

/* Text Align helpers */
.txn-text-center {
    text-align: center !important;
}

.txn-text-right {
    text-align: right !important;
}


.txn-text-left {
    text-align: left !important;
}

.txn-font-mono {
    font-family: 'Courier New', Courier, monospace;
}

/* Custom Badges */
.txn-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.txn-status-credit {
    background-color: #ecfdf5;
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.txn-status-debit {
    background-color: #fff1f2;
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.15);
}

/* Top Controls Row Structure: Length Menu left, Buttons Center, Search Right */
.txn-top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* Advanced DataTables Controls Custom Styling */
.dt-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 0 !important;
}

.dt-button {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

    .dt-button:hover {
        background: #6366f1 !important;
        color: #ffffff !important;
        border-color: #6366f1 !important;
    }

/* Custom Length Menu Styling */
.dataTables_length {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 600;
    width: 100%;
}

    .dataTables_length label {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
    }

    .dataTables_length select {
        background-color: #383838 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        outline: none !important;
        margin: 0 5px !important;
        width: 104px;
        height: 43px;
    }

/* Search Input styling inside Datatable header */
.dataTables_filter {
    margin: 0 !important;
    width: 100%;
}

    .dataTables_filter label {
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 600;
        display: flex;
        align-items: center;
    }

    .dataTables_filter input {
        background-color: #383838 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
        outline: none !important;
        width: 200px !important;
        margin-left: 10px !important;
        color: #ffffff !important;
    }



/* Pagination design styling matching panels */
.dataTables_paginate {
    margin-top: 20px !important;
    display: flex;
    gap: 5px;
}

    .dataTables_paginate .paginate_button {
        padding: 0px !important;
        cursor: pointer;
    }

        .dataTables_paginate .paginate_button.current,
        .dataTables_paginate .paginate_button.current:hover {
            background: #6366f1 !important;
            color: #ffffff !important;
            border-color: #6366f1 !important;
        }

        .dataTables_paginate .paginate_button:hover {
            background: #e2e8f0 !important;
            color: #0f172a !important;
        }

.dataTables_info {
    font-size: 12px !important;
    color: #ffffff !important;
    margin-top: 20px !important;
    margin-left: 10px;
}

/* Screen Adjustments */
@media (max-width: 991px) {
    .txn-filter-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .txn-filter-card {
        padding: 18px;
        margin-bottom: 20px;
    }

    .txn-top-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dataTables_length, .dt-buttons, .dataTables_filter {
        display: flex;
        justify-content: center;
        width: 100%;
        text-align: center !important;
    }

        .dataTables_filter input {
            width: 100% !important;
            margin-left: 0 !important;
            margin-top: 8px;
        }
}

.table-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .dataTables_wrapper .dataTables_paginate {
        margin-bottom: 17px;
        text-align: center;
    }

    .dataTables_wrapper .bottom {
        overflow-x: auto;
    }


    .dataTables_filter label {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 100%;
    }

        .dataTables_filter label input {
            width: 200px !important;
        }
}


.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

    .table-scroll table {
        min-width: 1200px;
    }

 
