/* SweetAlert2 — Bootstrap confirm/cancel buttons (buttonsStyling: false) */
.swal2-popup.su-swal-popup {
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 0.5rem;
}
.swal2-popup .su-swal-actions {
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
.swal2-popup button.swal2-styled.su-swal-confirm,
.swal2-popup button.swal2-styled.su-swal-cancel {
    margin: 0;
    min-width: 5.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.375rem;
    box-shadow: none !important;
}
.swal2-popup button.swal2-styled.su-swal-confirm:focus,
.swal2-popup button.swal2-styled.su-swal-cancel:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 63, 250, 0.25) !important;
}
.swal2-popup button.swal2-styled.su-swal-confirm {
    color: #fff !important;
}

.dateBox {  
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23343a40' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    cursor:pointer !important;
    padding-right: 2.5rem !important;
}

/* Fix DataTables Bootstrap 5 styling conflicts */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    padding: 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}
.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* Fix dropdown arrow for DataTables length select */
.dataTables_wrapper .dataTables_length select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}
.dataTables_wrapper .dataTables_length select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230d6efd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.dataTables_wrapper .dataTables_paginate {
    margin-top: 1rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
    margin-left: 0.5rem;
    border: none;
    background: transparent;
    color: #0d6efd;
    text-decoration: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: transparent !important;
    color: #0d6efd !important;
    border: none !important;
    font-weight: 600;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: transparent !important;
    color: #0d6efd !important;
    border: none !important;
    text-decoration: underline;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent !important;
    color: #6c757d !important;
    border: none !important;
}
.dataTables_wrapper .dataTables_info {
    padding-top: 0.75rem;
    color: #6c757d;
}
.dataTables_wrapper .dataTables_processing {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.375rem;
    padding: 1rem;
}
/* Ensure table styling matches admin theme */
.dataTables_wrapper .table {
    margin-bottom: 0;
}
.dataTables_wrapper .table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}
/* Action buttons styling */
.dataTables_wrapper .table td .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dataTables_wrapper .table td .btn-sm i {
    font-size: 1rem;
    line-height: 1;
}
/* Ensure action column buttons are properly aligned */
.dataTables_wrapper .table td.text-end {
    white-space: nowrap;
}
/* Image upload dropzone styling */
.dropzone {
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}
.dropzone:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}
.dropzone .dz-message {
    pointer-events: auto;
}
.dropzone .dz-message i {
    display: block;
    margin-bottom: 0.5rem;
}
#picture-dropzone-add:has(input:focus),
#picture-dropzone-update:has(input:focus) {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ==================================================
   ProfitDrop admin theme bridge (Bootstrap CRUD pages)
   ================================================== */

body.su-admin-body {
    display: block;
    align-items: initial;
    justify-content: initial;
    background: transparent;
    padding: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

body.su-admin-body .dashboard {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

body.su-admin-body .main {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

body.su-admin-body .main > .topbar {
    flex-shrink: 0;
}

body.su-admin-body .main > .su-admin-footer {
    margin-top: auto;
    flex-shrink: 0;
}

body.su-auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 25%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 20%),
        linear-gradient(145deg, #050505, #111111);
}

.su-logo-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.su-admin-body .main .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.su-admin-body .topbar-left {
    flex: 1;
    min-width: 0;
}

.su-admin-body .topbar-left .page-header {
    margin-bottom: 0;
}

.su-admin-body .topbar-left .page-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.su-admin-body .topbar-left .page-header p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.su-admin-user-filter {
    position: relative;
    flex: 0 1 420px;
    min-width: 280px;
    max-width: 520px;
    align-self: center;
}

.su-admin-user-filter-combo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.su-admin-user-filter.is-open .su-admin-user-filter-combo,
.su-admin-user-filter-combo:focus-within {
    border-color: rgba(255, 91, 0, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(255, 91, 0, 0.12);
}

.su-admin-user-filter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    color: #ff5b00;
    flex-shrink: 0;
    font-size: 14px;
}

.su-admin-user-filter-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 0;
}

.su-admin-user-filter-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.su-admin-user-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.su-admin-user-filter-clear:hover {
    color: #fff;
    background: rgba(255, 85, 0, 0.18);
}

.su-admin-user-filter-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    color: #94a3b8;
    flex-shrink: 0;
    font-size: 11px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.su-admin-user-filter.is-open .su-admin-user-filter-chevron {
    transform: rotate(180deg);
    color: #ff5b00;
}

.su-admin-user-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    max-height: 280px;
    margin: 0;
    padding: 6px;
    list-style: none;
    overflow-y: auto;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.su-admin-user-filter-option {
    padding: 10px 12px;
    border-radius: 8px;
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.su-admin-user-filter-option:hover,
.su-admin-user-filter-option.is-selected {
    background: rgba(255, 85, 0, 0.14);
    color: #fff;
}

.su-admin-user-filter-empty {
    padding: 12px;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
}

.su-admin-filter-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 85, 0, 0.08);
    border: 1px solid rgba(255, 85, 0, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.su-admin-filter-banner strong {
    color: #fff;
}

@media (max-width: 991.98px) {
    .su-admin-user-filter {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .su-admin-user-filter-menu {
        max-height: 220px;
    }
}

.su-admin-body .top-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.su-admin-body .top-icons .icon {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.su-admin-body .top-icons .icon > a,
.su-admin-body .top-icons .icon[role="button"],
.su-admin-body .top-icons #notifToggle {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.su-admin-body .top-icons .icon > a:hover,
.su-admin-body .top-icons .icon[role="button"]:hover,
.su-admin-body .top-icons #notifToggle:hover {
    background: rgba(255, 91, 0, 0.15);
    border-color: rgba(255, 91, 0, 0.35);
}

.su-admin-body .top-icons .notif-wrapper {
    position: relative;
}

.su-admin-body .top-icons .notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    background: #ff5500;
    border-radius: 50%;
    border: 2px solid #171717;
    display: block;
    transition: transform 0.2s;
}

.su-admin-body .top-icons #notifToggle:hover .notif-dot {
    transform: scale(1.2);
}

.su-admin-body .notif-popup {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 370px;
    background: #15151d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.su-admin-body .notif-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.su-admin-body .notif-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #0f0f15;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.su-admin-body .notif-popup-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.su-admin-body .notif-mark-all {
    background: transparent;
    border: 1px solid rgba(255, 85, 0, 0.3);
    color: #ff5500;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
}

.su-admin-body .notif-mark-all:hover {
    background: rgba(255, 85, 0, 0.1);
    border-color: #ff5500;
}

.su-admin-body .notif-list {
    max-height: 320px;
    overflow-y: auto;
}

.su-admin-body .notif-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.su-admin-body .notif-item:last-child {
    border-bottom: none;
}

.su-admin-body .notif-item:hover {
    background: rgba(255, 255, 255, 0.025);
}

.su-admin-body .notif-item.unread {
    background: rgba(255, 85, 0, 0.04);
}

.su-admin-body .notif-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.su-admin-body .notif-icon--success { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.su-admin-body .notif-icon--warning { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.su-admin-body .notif-icon--info { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.su-admin-body .notif-icon--danger { background: rgba(239, 68, 68, 0.12); color: #ef4444; }

.su-admin-body .notif-body {
    flex: 1;
    min-width: 0;
}

.su-admin-body .notif-text {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.45;
    color: #e5e7eb;
}

.su-admin-body .notif-text strong {
    color: #fff;
}

.su-admin-body .notif-time {
    font-size: 11px;
    color: #8a8a8a;
}

.su-admin-body .notif-unread-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    background: #ff5500;
    border-radius: 50%;
    margin-top: 4px;
}

.su-admin-body .notif-popup-footer {
    padding: 12px 20px;
    text-align: center;
    background: #0f0f15;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.su-admin-body .notif-popup-footer a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
}

.su-admin-body .notif-popup-footer a:hover {
    color: #ff5500;
}

.su-admin-body .notif-item--empty {
    cursor: default;
}

.su-admin-body .notif-item--empty:hover {
    background: transparent;
}

.su-admin-body .notif-list--page {
    max-height: none;
    overflow: visible;
}

.su-admin-body .notif-owner {
    color: #ff5500;
    font-weight: 600;
}

.su-admin-body .referral-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 15px;
    width: 100%;
    max-width: 650px;
    min-width: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.su-admin-body .referral-box .fa-link {
    color: #6b7280;
    font-size: 18px;
}

.su-admin-body .referral-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    min-width: 0;
}

.su-admin-body .copy-btn {
    border: none;
    background: #2563eb;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.su-admin-body .copy-btn:hover {
    background: #1d4ed8;
}

.su-admin-body .copy-btn.copied {
    background: #16a34a;
}

@media (max-width: 768px) {
    .su-admin-body .referral-box {
        padding: 8px 10px;
        gap: 8px;
    }

    .su-admin-body .referral-box input {
        font-size: 12px;
    }

    .su-admin-body .copy-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .su-admin-body .notif-popup {
        position: fixed;
        top: 78px;
        left: 12px;
        right: 12px;
        width: auto;
    }
}

.su-admin-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    flex-shrink: 0;
}

.su-admin-footer p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

.su-admin-footer a {
    color: #ff5b00;
    text-decoration: none;
}

.su-auth-wrap {
    width: 100%;
    max-width: 440px;
}

.su-auth-card {
    padding: 32px 28px;
    background: #000000;
    border: 1px solid rgba(255, 85, 0, 0.12);
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.su-auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.su-auth-logo img {
    width: 160px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.su-auth-logo .su-logo-text {
    font-size: 1.75rem;
}

.su-auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.su-auth-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.su-auth-subtitle {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.su-auth-link {
    color: #ff5b00;
    text-decoration: none;
    font-size: 13px;
}

.su-auth-link:hover {
    color: #ff7a33;
}

.su-admin-body .main .card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: #e5e7eb;
    padding: 0;
    min-width: 0;
}

.su-admin-body .main .card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
}

.su-admin-body .main .card-title,
.su-admin-body .main .card-header h4 {
    color: #fff;
}

.su-admin-body .main .form-label {
    color: #cbd5e1;
}

.su-admin-body .main .form-control,
.su-admin-body .main .form-select,
.su-admin-body .main .chosen-container-single .chosen-single {
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

.su-admin-body .main .form-control:focus,
.su-admin-body .main .form-select:focus {
    background-color: #0b1220;
    border-color: rgba(255, 91, 0, 0.45);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 91, 0, 0.15);
}

.su-admin-body .main .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-color: #0b1220;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.su-admin-body .main .form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff5b00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.su-admin-body .main .form-control::placeholder {
    color: #64748b;
    opacity: 1;
}

/* Number inputs — themed stepper arrows (native spinners hidden) */
.su-admin-body .main input[type="number"].form-control,
.su-auth-body input[type="number"].form-control {
    color-scheme: dark;
    -moz-appearance: textfield;
    appearance: textfield;
    padding-right: 2.35rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' viewBox='0 0 12 18' fill='none'%3E%3Cpath d='M6 2.5L9.25 6.25H2.75L6 2.5Z' fill='%23cbd5e1'/%3E%3Cpath d='M6 15.5L2.75 11.75H9.25L6 15.5Z' fill='%23cbd5e1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 12px 18px;
    cursor: text;
}

.su-admin-body .main input[type="number"].form-control:hover,
.su-auth-body input[type="number"].form-control:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' viewBox='0 0 12 18' fill='none'%3E%3Cpath d='M6 2.5L9.25 6.25H2.75L6 2.5Z' fill='%23ff5500'/%3E%3Cpath d='M6 15.5L2.75 11.75H9.25L6 15.5Z' fill='%23ff5500'/%3E%3C/svg%3E");
}

.su-admin-body .main input[type="number"].form-control:focus,
.su-auth-body input[type="number"].form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' viewBox='0 0 12 18' fill='none'%3E%3Cpath d='M6 2.5L9.25 6.25H2.75L6 2.5Z' fill='%23ff5b00'/%3E%3Cpath d='M6 15.5L2.75 11.75H9.25L6 15.5Z' fill='%23ff5b00'/%3E%3C/svg%3E");
}

.su-admin-body .main input[type="number"].form-control::-webkit-inner-spin-button,
.su-admin-body .main input[type="number"].form-control::-webkit-outer-spin-button,
.su-auth-body input[type="number"].form-control::-webkit-inner-spin-button,
.su-auth-body input[type="number"].form-control::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.su-admin-body .main input[type="number"].form-control.su-number-stepping,
.su-auth-body input[type="number"].form-control.su-number-stepping {
    cursor: ns-resize;
}

/* Input groups already have a trailing control (e.g. Max) */
.su-admin-body .main .input-group > input[type="number"].form-control,
.su-auth-body .input-group > input[type="number"].form-control {
    padding-right: 0.75rem;
    background-image: none;
    cursor: text;
}

.su-admin-body .main .su-password-field {
    position: relative;
}

.su-admin-body .main .su-password-field .form-control {
    padding-right: 48px;
}

.su-admin-body .main .su-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.su-admin-body .main .su-password-toggle:hover {
    color: #ff5b00;
    background: rgba(255, 91, 0, 0.08);
}

.su-admin-body .main .su-password-toggle i {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.su-admin-body .main .input-group-text {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.su-admin-body .main .table {
    color: #e5e7eb;
    --bs-table-bg: transparent;
    --bs-table-color: #e5e7eb;
    --bs-table-hover-bg: rgba(255, 91, 0, 0.08);
    --bs-table-hover-color: #fff;
}

.su-admin-body .main .table thead th,
.su-admin-body .main .table-light th {
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.06);
}

.su-admin-body .main .table td,
.su-admin-body .main .table th {
    border-color: rgba(255, 255, 255, 0.06);
}

.su-admin-body .main .table a.text-dark,
.su-admin-body .main .table a.text-decoration-none {
    color: #e5e7eb !important;
}

.su-admin-body .main .btn-primary {
    background: #ff5b00;
    border-color: #ff5b00;
}

.su-admin-body .main .btn-primary:hover {
    background: #e65200;
    border-color: #e65200;
}

.su-admin-body .main .btn-success {
    background: #16a34a;
    border-color: #16a34a;
}

.su-admin-body .main .btn-danger {
    background: #dc2626;
    border-color: #dc2626;
}

.su-admin-body .main .btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.su-admin-body .main .btn-secondary,
.su-admin-body .main .btn-light {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e5e7eb;
}

.su-admin-body .main .btn-outline-secondary {
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.15);
}

.su-admin-body .main .alert-success {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.su-admin-body .main .alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.su-admin-body .main .text-muted {
    color: #94a3b8 !important;
}

.su-admin-body .main .pagination .page-link {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

.su-admin-body .main .pagination .page-item.active .page-link {
    background: #ff5b00;
    border-color: #ff5b00;
}

.su-admin-body .main .pagination .page-item.disabled .page-link {
    background: #0f172a;
    color: #64748b;
}

.su-auth-body .form-control {
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
}

.su-auth-body .form-control:focus {
    background: #0b1220;
    border-color: rgba(255, 91, 0, 0.45);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 91, 0, 0.15);
}

.su-auth-body .form-control::placeholder {
    color: #64748b;
    opacity: 1;
}

.su-auth-body .form-label,
.su-auth-body .form-check-label {
    color: #cbd5e1;
}

.su-auth-body .btn-primary {
    background: #ff5b00;
    border-color: #ff5b00;
}

.su-auth-body .su-password-field {
    position: relative;
}

.su-auth-body .su-password-field .form-control {
    padding-right: 48px;
}

.su-auth-body .su-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.su-auth-body .su-password-toggle:hover {
    color: #ff5b00;
    background: rgba(255, 91, 0, 0.08);
}

.su-auth-body .su-password-toggle i {
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}

.su-auth-body .input-group-text {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.su-admin-body .main .dropzone {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.su-admin-body .main .dropzone:hover {
    border-color: rgba(255, 91, 0, 0.45);
    background: rgba(255, 91, 0, 0.05);
}

.su-admin-body .main .text-primary {
    color: #ff5b00 !important;
}

.su-admin-body .main .bg-primary {
    background-color: #ff5b00 !important;
}

.su-admin-body .main .page-header h1 {
    color: #fff;
}

.su-admin-body .main .page-header p {
    color: #94a3b8;
}

/* CRUD pages — restore Bootstrap grid/card inside ProfitDrop theme */
.su-admin-body .main .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
    padding: 0;
    border-bottom: none;
    justify-content: flex-start;
    color: inherit;
}

.su-admin-body .main .row strong {
    color: inherit;
}

.su-admin-body .main .su-crud-card {
    background: #000000;
    border: 1px solid rgba(255, 85, 0, 0.12);
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: 0;
    overflow: visible;
    color: #e5e7eb;
}

.su-admin-body .main .su-crud-card > .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 85, 0, 0.08);
    padding: 16px;
}

.su-admin-body .main .su-crud-card > .card-body {
    padding: 16px;
}

.su-admin-body .main .su-crud-card > .card-body:only-child {
    padding: 16px;
}

.su-admin-body .main .su-crud-card .card-body > .card-header {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 85, 0, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 16px;
}

.su-admin-body .main .su-crud-card .card-body > .card-header:first-child {
    margin-top: 0;
}

.su-admin-body .main .su-crud-card .card-body > .card-header + .card-body {
    padding: 12px 0 0;
}

.su-admin-body .main .su-crud-card .card-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.su-admin-body .main .su-crud-card > .card-header .d-flex {
    gap: 8px !important;
}

.su-admin-body .main .su-crud-card > .card-header .btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 8px;
    margin: 0;
}

.su-admin-body .main .su-crud-card > .card-body:has(.su-crud-table-wrap) {
    padding: 0;
}

.su-admin-body .main .su-crud-card > .card-body:has(.dataTables_wrapper) {
    padding: 16px;
}

.su-admin-body .main .su-crud-card .card-body > .rounded,
.su-admin-body .main .su-crud-card .su-crud-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 85, 0, 0.08);
    border-radius: 10px;
}

.su-admin-body .main .su-crud-card .su-crud-actions .btn,
.su-admin-body .main .su-crud-card .card-body > .rounded .btn {
    min-height: 42px;
    min-width: 120px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    line-height: 1.4;
}

.su-admin-body .main .su-crud-card .su-crud-actions .btn i,
.su-admin-body .main .su-crud-card .card-body > .rounded .btn i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

.su-admin-body .main .su-crud-card .su-crud-actions .btn-primary:hover,
.su-admin-body .main .su-crud-card .card-body > .rounded .btn-primary:hover {
    background: #e65200;
    border-color: #e65200;
}

.su-admin-body .main .su-crud-card .su-crud-actions .btn-secondary:hover,
.su-admin-body .main .su-crud-card .card-body > .rounded .btn-secondary:hover {
    background: #374151;
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.su-admin-body .main .su-crud-actions #edit-mode {
    display: contents;
}

.su-admin-body .main .btn-outline-primary {
    color: #ff5b00;
    border-color: rgba(255, 91, 0, 0.45);
}

.su-admin-body .main .btn-outline-primary:hover,
.su-admin-body .main .btn-outline-primary:focus,
.su-admin-body .main label.btn-outline-primary:has(input:checked) {
    background: rgba(255, 91, 0, 0.12);
    border-color: #ff5b00;
    color: #fff;
}

.su-admin-body .main .btn-outline-dark {
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.12);
}

.su-admin-body .main .btn-outline-dark:hover,
.su-admin-body .main label.btn-outline-dark:has(input:checked) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.su-admin-body .main .btn-outline-success {
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.35);
}

.su-admin-body .main .btn-outline-success:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: #22c55e;
    color: #fff;
}

.su-admin-body .main .form-check-input {
    background-color: #0b1220;
    border-color: rgba(255, 255, 255, 0.2);
}

.su-admin-body .main .form-check-input:checked {
    background-color: #ff5b00;
    border-color: #ff5b00;
}

.su-admin-body .main .table:not(.su-crud-table) tbody tr:hover {
    background: rgba(255, 91, 0, 0.08);
}

.su-admin-body .main .img-thumbnail,
.su-admin-body .main .border.rounded {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02);
}

.su-admin-body .main .avatar-lg.bg-light {
    background: rgba(255, 255, 255, 0.04) !important;
}

.su-admin-body .main .bg-light-subtle {
    background: rgba(255, 255, 255, 0.03) !important;
}

.su-admin-body .main .fs-48 {
    font-size: 3rem;
    line-height: 1;
}

.su-admin-body .main .fs-13,
.su-admin-body .main .fs-14 {
    color: #94a3b8;
}

.su-admin-body .main h5,
.su-admin-body .main h6 {
    color: #e5e7eb;
}

/* CRUD search bar (reference: user-filters) */
.su-admin-body .main .su-crud-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.su-admin-body .main .su-crud-filters input[type="text"],
.su-admin-body .main .su-crud-filters input[type="search"],
.su-admin-body .main .su-crud-filters select {
    width: 100%;
    min-height: 42px;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.su-admin-body .main .su-crud-filters input[type="text"]::placeholder,
.su-admin-body .main .su-crud-filters input[type="search"]::placeholder {
    color: #64748b;
}

.su-admin-body .main .su-crud-filters input[type="text"]:focus,
.su-admin-body .main .su-crud-filters input[type="search"]:focus,
.su-admin-body .main .su-crud-filters select:focus {
    border-color: rgba(255, 91, 0, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(255, 91, 0, 0.12);
}

.su-admin-body .main .su-crud-filters select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-color: #181818;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cbd5e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.su-admin-body .main .su-crud-filters select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff5b00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.su-admin-body .main .su-crud-filters .btn {
    min-height: 42px;
    white-space: nowrap;
    padding: 10px 16px;
    margin: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* CRUD tables (reference: user-table) */
.su-admin-body .main .su-crud-table-wrap,
.su-admin-body .main .table-responsive.su-crud-table-wrap {
    background: transparent;
    margin: 0;
    border-radius: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.su-admin-body .main .su-crud-table {
    width: 100%;
    min-width: 650px;
    margin-bottom: 0;
    border-collapse: collapse;
    background-color: transparent !important;
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-color: #e5e7eb;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-color: #fff;
    --bs-table-striped-bg: transparent;
    --bs-table-active-bg: rgba(255, 255, 255, 0.02);
    --bs-table-border-color: rgba(255, 255, 255, 0.04);
}

.su-admin-body .main .su-crud-table > :not(caption) > * > * {
    background-color: transparent !important;
    box-shadow: none !important;
}

.su-admin-body .main .su-crud-table thead {
    background: rgba(255, 255, 255, 0.02);
}

.su-admin-body .main .su-crud-table thead th,
.su-admin-body .main .su-crud-table.table-light th {
    background: transparent !important;
    color: #8a8a8a !important;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
    white-space: nowrap;
}

.su-admin-body .main .su-crud-table tbody tr {
    background-color: transparent !important;
}

.su-admin-body .main .su-crud-table tbody td {
    padding: 14px 16px;
    font-size: 13px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    background-color: transparent !important;
}

.su-admin-body .main .su-crud-table tbody tr:hover,
.su-admin-body .main .su-crud-table.table-hover > tbody > tr:hover {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.su-admin-body .main .su-crud-table tbody tr:hover > td,
.su-admin-body .main .su-crud-table.table-hover > tbody > tr:hover > * {
    background-color: transparent !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.02) !important;
}

.su-admin-body .main .su-crud-table a.text-dark,
.su-admin-body .main .su-crud-table a.text-decoration-none {
    color: #e5e7eb !important;
}

.su-admin-body .main .su-crud-table a.text-dark:hover,
.su-admin-body .main .su-crud-table a.text-decoration-none:hover {
    color: #ff5b00 !important;
}

.su-admin-body .main .su-crud-table .btn-sm {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    border-radius: 8px;
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.su-admin-body .main .su-crud-table .btn-sm i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

.su-admin-body .main .su-crud-table td .d-flex.gap-1 {
    gap: 6px !important;
}

.su-admin-body .main .su-crud-card > .card-body > .mt-4 {
    margin-top: 0 !important;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 85, 0, 0.08);
}

/* DataTables inside CRUD pages */
.su-admin-body .main .dataTables_wrapper {
    color: #e5e7eb;
}

.su-admin-body .main .dataTables_wrapper .dataTables_length,
.su-admin-body .main .dataTables_wrapper .dataTables_filter,
.su-admin-body .main .dataTables_wrapper .dataTables_info {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.su-admin-body .main .dataTables_wrapper .dataTables_length label,
.su-admin-body .main .dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    color: #94a3b8;
    font-size: 13px;
}

.su-admin-body .main .dataTables_wrapper .dataTables_length select,
.su-admin-body .main .dataTables_wrapper .dataTables_filter input {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    padding: 10px 12px;
    min-height: 42px;
    outline: none;
}

.su-admin-body .main .dataTables_wrapper .dataTables_filter input {
    min-width: 220px;
}

.su-admin-body .main .dataTables_wrapper .dataTables_length select:focus,
.su-admin-body .main .dataTables_wrapper .dataTables_filter input:focus {
    border-color: rgba(255, 91, 0, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(255, 91, 0, 0.12);
}

.su-admin-body .main .dataTables_wrapper .dataTables_length select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.su-admin-body .main .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #e5e7eb !important;
}

.su-admin-body .main .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.su-admin-body .main .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #ff5b00 !important;
    font-weight: 600;
}

.su-admin-body .main .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #ff5b00 !important;
    background: transparent !important;
}

.su-admin-body .main .dataTables_wrapper .dataTables_processing {
    background: rgba(17, 24, 39, 0.95);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .su-admin-body .main .su-crud-filters {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Recent Transactions (reference index layout) */
.su-admin-body .left > .table-card {
    padding: 24px;
    margin-top: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, #181818, #101010);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: visible;
}

.su-admin-body .left > .table-card h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: inherit;
}

.su-admin-body .left > .table-card .tx-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 18px 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #9a9a9a;
    font-size: 14px;
}

.su-admin-body .left > .table-card .tx-row:last-child {
    border-bottom: none;
}

.su-admin-body .left > .table-card .tx-row strong {
    color: #fff;
    font-weight: 600;
}

.su-admin-body .left > .table-card .tx-row span:last-child {
    color: #e5e7eb;
    font-weight: 500;
    white-space: nowrap;
}

.su-admin-body .overview .actions .btn {
    margin-right: 0;
}

/* Referral profits dashboard — compact cards tied to content height */
.su-admin-body .main .referral-dashboard .row-stats {
    align-items: flex-start !important;
}

.su-admin-body .main .referral-dashboard .row-stats > [class*="col-"] {
    align-self: flex-start !important;
    height: auto !important;
}

.su-admin-body .main .referral-dashboard .row-levels {
    align-items: flex-start !important;
}

.su-admin-body .main .referral-dashboard .row-levels > [class*="col-"] {
    align-self: flex-start !important;
    height: auto !important;
}

.su-admin-body .main .referral-dashboard .card-custom {
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
}

.su-admin-body .main .referral-dashboard .card-custom.card-stat {
    padding: 10px 12px !important;
}

.su-admin-body .main .referral-dashboard .card-value {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 4px 0 2px !important;
}

.su-admin-body .main .referral-dashboard .card-value-lg {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.su-admin-body .main .referral-dashboard .card-label {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.su-admin-body .main .referral-dashboard .card-trend {
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.su-admin-body .main .referral-dashboard .icon-wrapper {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
}

.su-admin-body .main .referral-dashboard .chart-wrapper {
    height: 160px !important;
}

.su-admin-body .main .referral-dashboard .card-custom.card-chart {
    padding: 12px 14px !important;
}

.su-admin-body .main .referral-dashboard .card-custom.card-chart h5,
.su-admin-body .main .referral-dashboard .card-custom.card-table h5,
.su-admin-body .main .referral-dashboard .card-custom.card-link h5 {
    font-size: 15px !important;
    margin-bottom: 4px !important;
}

.su-admin-body .main .referral-dashboard .card-custom.card-table h5 {
    margin-bottom: 8px !important;
}

.su-admin-body .main .referral-dashboard .font-size-sm {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
}

.su-admin-body .main .referral-dashboard .referral-input-field {
    padding: 8px 12px 8px 36px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
}

.su-admin-body .main .referral-dashboard .parent-referral-id {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.su-admin-body .main .referral-dashboard .parent-referral-id__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.su-admin-body .main .referral-dashboard .parent-referral-id__value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #fff;
}

.su-admin-body .main .stats-dashboard {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.su-admin-body .main .dashboard-stat-link.stat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.su-admin-body .main .dashboard-stat-link.stat-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 91, 0, 0.35);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 91, 0, 0.2);
}

.su-admin-body .main .referral-dashboard .parent-referral-id__value i {
    color: #ff5b00;
}

.su-admin-body .main .referral-dashboard .btn-primary-orange,
.su-admin-body .main .referral-dashboard .btn-outline-dark {
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    min-height: 0 !important;
}

.su-admin-body .main .referral-dashboard .table-custom th {
    padding: 8px 10px !important;
    font-size: 11px !important;
}

.su-admin-body .main .referral-dashboard .table-custom td {
    padding: 8px 10px !important;
    font-size: 12px !important;
}

.su-admin-body .main .referral-dashboard .table-custom {
    min-width: 520px;
}

.su-admin-body .main .referral-dashboard .level-card {
    padding: 10px 12px !important;
}

.su-admin-body .main .referral-dashboard .level-badge {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
}

.su-admin-body .main .referral-dashboard .level-card h6 {
    font-size: 13px !important;
    margin-bottom: 2px !important;
}

.su-admin-body .main .referral-dashboard .qr-container {
    padding: 8px 10px !important;
    gap: 10px !important;
}

.su-admin-body .main .referral-dashboard .qr-placeholder-wrapper {
    width: 38px !important;
    height: 38px !important;
}

.su-admin-body .main .referral-dashboard .qr-code-icon {
    font-size: 26px !important;
}

.su-admin-body .main .referral-dashboard .badge-status {
    padding: 3px 8px !important;
    font-size: 11px !important;
}

.su-admin-body .main .referral-dashboard .leaderboard-mobile-item {
    padding: 8px 10px !important;
}

.su-admin-body .main .referral-dashboard .card-custom:hover {
    transform: none !important;
}

/* User investments dashboard */
.su-admin-body .main .investment-dashboard .investment-donut {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.su-admin-body .main .investment-dashboard .investment-donut::after {
    content: "";
    position: absolute;
    width: 76px;
    height: 76px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.su-admin-body .main .investment-dashboard .investment-allocation-list,
.su-admin-body .main .investment-dashboard .investment-ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.su-admin-body .main .investment-dashboard .investment-allocation-list li,
.su-admin-body .main .investment-dashboard .investment-ranking-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 12px;
}

.su-admin-body .main .investment-dashboard .investment-ranking-list {
    counter-reset: none;
    padding-left: 0;
}

.su-admin-body .main .investment-dashboard .investment-ranking-list li {
    list-style: none;
}

.su-admin-body .main .investment-dashboard .allocation-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.su-admin-body .main .investment-dashboard .investment-allocation-list li strong,
.su-admin-body .main .investment-dashboard .investment-ranking-list li strong {
    margin-left: auto;
    color: #fff !important;
    font-size: 12px;
}

.su-admin-body .main .investment-analytics-row > td {
    background: rgba(255, 255, 255, 0.02);
    border-top: none !important;
}

.su-admin-body .main .investment-row-analytics {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 85, 0, 0.2);
}

.su-admin-body .main .investment-row-stat {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    height: 100%;
}

.su-admin-body .main .investment-row-stat .stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.su-admin-body .main .investment-row-stat strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.su-admin-body .main .investment-row-stat small {
    display: block;
    margin-top: 0.2rem;
}

.su-admin-body .main .investment-row-chart-wrap {
    position: relative;
    height: 220px;
}

.su-admin-body .main .investment-analytics-toggle.btn-primary .toggle-label {
    font-weight: 600;
}

.su-admin-body .main .referral-level-stat-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.su-admin-body .main .referral-level-stat-link:hover {
    transform: translateY(-1px);
}

.su-admin-body .main .referral-level-stat-link.is-active .card-stat {
    border-color: rgba(255, 85, 0, 0.65);
    box-shadow: 0 0 0 1px rgba(255, 85, 0, 0.35);
}

.su-admin-body .main .referral-dashboard .filter-btn {
    text-decoration: none;
}

.su-admin-body .main .withdrawal-source-stat-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.su-admin-body .main .withdrawal-source-stat-link:hover {
    transform: translateY(-1px);
}

.su-admin-body .main .withdrawal-source-stat-link.is-active .su-crud-card {
    border-color: rgba(255, 85, 0, 0.65);
    box-shadow: 0 0 0 1px rgba(255, 85, 0, 0.35);
}

.su-admin-body .topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

.su-admin-body .topbar-profile-dropdown {
    position: relative;
}

.su-admin-body .topbar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 280px;
    padding: 6px 10px 6px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.su-admin-body .topbar-profile.dropdown-toggle::after {
    display: none;
}

.su-admin-body .topbar-profile:hover,
.su-admin-body .topbar-profile.show,
.su-admin-body .topbar-profile-dropdown.show .topbar-profile {
    background: rgba(255, 91, 0, 0.12);
    border-color: rgba(255, 91, 0, 0.35);
    color: #fff;
}

.su-admin-body .topbar-profile-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 91, 0, 0.18);
    border: 1px solid rgba(255, 91, 0, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.su-admin-body .topbar-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.su-admin-body .topbar-profile-initials {
    font-size: 14px;
    font-weight: 700;
    color: #ff5b00;
    line-height: 1;
}

.su-admin-body .topbar-profile-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.su-admin-body .topbar-profile-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.su-admin-body .topbar-profile-meta {
    font-size: 11px;
    line-height: 1.35;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.su-admin-body .topbar-profile-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.su-admin-body .topbar-profile-dot {
    color: #64748b;
}

.su-admin-body .topbar-profile-chevron {
    flex-shrink: 0;
    color: #64748b;
    font-size: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.su-admin-body .topbar-profile:hover .topbar-profile-chevron,
.su-admin-body .topbar-profile.show .topbar-profile-chevron,
.su-admin-body .topbar-profile-dropdown.show .topbar-profile-chevron {
    color: #ff5b00;
    transform: rotate(180deg);
}

.su-admin-body .topbar-profile-menu {
    min-width: 280px;
    padding: 0;
    margin-top: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #121826;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.su-admin-body .topbar-profile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px 16px;
    background: linear-gradient(180deg, rgba(255, 91, 0, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.su-admin-body .topbar-profile-menu-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 91, 0, 0.18);
    border: 2px solid rgba(255, 91, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.su-admin-body .topbar-profile-menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.su-admin-body .topbar-profile-menu-avatar .topbar-profile-initials {
    font-size: 24px;
}

.su-admin-body .topbar-profile-menu-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    word-break: break-word;
}

.su-admin-body .topbar-profile-menu-email {
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
    word-break: break-word;
}

.su-admin-body .topbar-profile-menu-meta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 11px;
    color: #64748b;
}

.su-admin-body .topbar-profile-menu-actions {
    padding: 8px 10px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.su-admin-body .topbar-profile-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    color: #e2e8f0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.su-admin-body .topbar-profile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.su-admin-body .topbar-profile-menu-link i {
    width: 18px;
    font-size: 14px;
    text-align: center;
    flex-shrink: 0;
    color: #94a3b8;
}

.su-admin-body .topbar-profile-menu-link:hover i {
    color: #ff8b3d;
}

.su-admin-body .topbar-profile-menu-footer {
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

.su-admin-body .topbar-profile-menu-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.su-admin-body .topbar-profile-menu-logout i {
    font-size: 14px;
    color: #ff8b3d;
    flex-shrink: 0;
}

.su-admin-body .topbar-profile-menu-logout:hover {
    background: rgba(255, 91, 0, 0.14);
    border-color: rgba(255, 91, 0, 0.35);
    color: #fff;
}

.su-admin-body .topbar-profile-menu-logout:hover i {
    color: #ffb380;
}

.su-admin-body .topbar-profile-menu-logout:active {
    transform: scale(0.98);
}

@media (max-width: 991.98px) {
    .su-admin-body .topbar-right {
        flex-wrap: wrap;
        justify-content: flex-end;
        width: 100%;
        margin-left: 0;
    }

    .su-admin-body .topbar-right .topbar-profile-dropdown {
        display: none;
    }

    .su-admin-body .topbar-right .top-icons {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 1024px) {
    .su-admin-body .mobile-header-bar .mobile-logo {
        flex-shrink: 0;
    }

    .su-admin-body .mobile-header-end {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1;
        justify-content: flex-end;
    }

    .su-admin-body .mobile-header-bar .topbar-profile {
        min-width: 0;
        max-width: none;
        width: auto;
        padding: 4px 8px 4px 4px;
        gap: 6px;
        background: rgba(255, 255, 255, 0.05);
    }

    .su-admin-body .mobile-header-bar .topbar-profile-details {
        display: none !important;
    }

    .su-admin-body .mobile-header-bar .topbar-profile-avatar {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .su-admin-body .mobile-header-bar .topbar-profile-initials {
        font-size: 12px;
    }

    .su-admin-body .mobile-header-bar .topbar-profile-name {
        font-size: 12px;
    }

    .su-admin-body .mobile-header-bar .topbar-profile-meta {
        font-size: 10px;
    }

    .su-admin-body .mobile-header-bar .topbar-profile-chevron {
        display: none;
    }

    .su-admin-body .mobile-header-bar .topbar-profile-role {
        display: none;
    }
}

@media (max-width: 400px) {
    .su-admin-body .mobile-header-bar .topbar-profile-meta:not(.topbar-profile-role) {
        display: none;
    }

    .su-admin-body .mobile-header-bar .topbar-profile {
        max-width: 140px;
    }
}

.su-admin-body .main .referral-dashboard .referral-code-copy-btn {
    min-height: 0 !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    line-height: 1;
}

.su-admin-body .main .referral-dashboard .referral-code-copy-btn i {
    color: #fff !important;
}

