﻿body {
}

.big-mag{
    margin-right: 20% !important;
}

    /* ============================================================
           PAGE
           ============================================================ */
    .deposit-page {
        padding: 20px;
        background: #f5f7fa;
        min-height: calc(100vh - 70px);
    }
    /* ============================================================
           MAIN CARD
           ============================================================ */

    .deposit-card {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 6px;
        box-shadow: 0 3px 15px rgba(30, 55, 90, 0.06);
        overflow: hidden;
    }
    /* ============================================================
           HEADER
           ============================================================ */

    .deposit-header {
        padding: 25px 20px;
        border-bottom: 1px solid #e7e7e7;
    }

        .deposit-header h2 {
            margin: 0;
            color: #182d4d;
            font-size: 22px;
            font-weight: 400;
        }
    /* ============================================================
           TRANSACTIONS BUTTON
           ============================================================ */

    .transactions-container {
        display: flex;
        justify-content: center;
        padding: 31px 20px 18px;
    }

    .transactions-btn {
        display: inline-block;
        padding: 8px 13px;
        border: 1px solid #1f4686;
        border-radius: 5px;
        background: #ffffff;
        color: #1f4686;
        text-decoration: none;
        font-size: 14px;
        transition: .2s ease;
    }

        .transactions-btn:hover {
            background: #1f4686;
            color: #ffffff;
        }
    /* ============================================================
           CRYPTO SECTION
           ============================================================ */

    .crypto-section {
        padding: 0 40px 31px;
    }

        .crypto-section h1 {
            margin: 0 0 20px;
            color: #1b355b;
            font-size: 29px;
            font-weight: 400;
        }
    /* ============================================================
           GRID
           ============================================================ */

    .crypto-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        padding: 0 16px;
    }
    /* ============================================================
           CRYPTO OPTION
           ============================================================ */

    .crypto-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    /* ============================================================
           CRYPTO ICON
           ============================================================ */

    .crypto-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Bitcoin */

    .bitcoin-icon {
        background: #f7931a;
        border-radius: 50%;
        color: #ffffff;
        font-size: 64px;
        font-family: Arial, sans-serif;
        font-weight: bold;
    }

        .bitcoin-icon span {
            transform: translateY(-2px);
        }
    /* Ethereum */

    .ethereum-icon {
        position: relative;
        width: 75px;
        height: 100px;
        margin-left: 0;
    }

    .eth-diamond {
        position: relative;
        width: 0;
        height: 0;
        border-left: 34px solid transparent;
        border-right: 34px solid transparent;
        border-bottom: 54px solid #343434;
    }

        .eth-diamond::after {
            content: "";
            position: absolute;
            left: -34px;
            top: 54px;
            width: 0;
            height: 0;
            border-left: 34px solid transparent;
            border-right: 34px solid transparent;
            border-top: 46px solid #343434;
        }
    /* Tether */

    .tether-icon {
        width: 100px;
        height: 86px;
        margin-top: 7px;
        background: #50af95;
        color: white;
        font-size: 58px;
        font-weight: bold;
        clip-path: polygon( 18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50% );
    }
    /* ============================================================
           TEXT
           ============================================================ */

    .crypto-name {
        margin-bottom: 32px;
        color: #617080;
        font-size: 15px;
    }

    .crypto-network {
        margin-bottom: 36px;
        color: #617080;
        font-size: 14px;
    }
    /* ============================================================
           DEPOSIT BUTTON
           ============================================================ */

    .deposit-btn {
        width: 250px;
        max-width: 100%;
        height: 36px;
        border: none;
        border-radius: 5px;
        background: #24467e;
        color: white;
        font-size: 14px;
        cursor: pointer;
        transition: background .2s ease, transform .1s ease;
    }

        .deposit-btn:hover {
            background: #193764;
        }

        .deposit-btn:active {
            transform: scale(.98);
        }
    /* ============================================================
           MODAL
           ============================================================ */

    .deposit-modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        padding: 20px;
        background: rgba(10, 25, 45, .55);
        align-items: center;
        justify-content: center;
    }

        .deposit-modal.show {
            display: flex;
        }
    /* ============================================================
           MODAL CONTENT
           ============================================================ */

    .deposit-modal-content {
        position: relative;
        width: 500px;
        max-width: 100%;
        padding: 30px;
        background: #ffffff;
        border-radius: 9px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, .2);
    }
    /* Close */

    .modal-close {
        position: absolute;
        top: 10px;
        right: 17px;
        border: none;
        background: transparent;
        color: #657180;
        font-size: 30px;
        cursor: pointer;
    }
    /* ============================================================
           MODAL HEADER
           ============================================================ */

    .modal-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 8px;
    }

        .modal-header h2 {
            margin: 0;
            color: #1b355b;
            font-size: 24px;
            font-weight: 500;
        }

    .modal-network {
        margin: 4px 0 0;
        color: #617080;
        font-size: 14px;
    }

    .modal-crypto-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: white;
        font-size: 28px;
        font-weight: bold;
    }
    /* ============================================================
           SUBTITLE
           ============================================================ */

    .modal-subtitle {
        margin-bottom: 22px;
        color: #697787;
        font-size: 14px;
    }
    /* ============================================================
           QR CODE
           ============================================================ */

    .qr-container {
        display: flex;
        justify-content: center;
        margin-bottom: 22px;
    }

    .qr-placeholder {
        width: 150px;
        height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #d9dee7;
        background: repeating-linear-gradient( 45deg, #111 0, #111 3px, #fff 3px, #fff 7px );
        color: transparent;
        font-size: 0;
    }
    /* ============================================================
           WALLET ADDRESS
           ============================================================ */

    .wallet-box label {
        display: block;
        margin-bottom: 7px;
        color: #47566a;
        font-size: 14px;
    }

    .wallet-address-row {
        display: flex;
        gap: 8px;
    }

        .wallet-address-row input {
            flex: 1;
            min-width: 0;
            padding: 11px;
            border: 1px solid #d6dce5;
            border-radius: 5px;
            background: #f9fafc;
            color: #334155;
            font-size: 13px;
        }

        .wallet-address-row button {
            padding: 0 18px;
            border: none;
            border-radius: 5px;
            background: #24467e;
            color: white;
            cursor: pointer;
        }

            .wallet-address-row button:hover {
                background: #193764;
            }
    /* Copy message */

    .copy-message {
        min-height: 20px;
        margin-top: 6px;
        color: #2f7d55;
        font-size: 13px;
    }
    /* ============================================================
           WARNING
           ============================================================ */

    .network-warning {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 15px;
        padding: 13px;
        border-radius: 5px;
        background: #fff7df;
        color: #765c18;
        font-size: 13px;
        line-height: 1.5;
    }
    /* ============================================================
           DONE BUTTON
           ============================================================ */

    .modal-done-btn {
        width: 100%;
        height: 40px;
        margin-top: 20px;
        border: none;
        border-radius: 5px;
        background: #24467e;
        color: white;
        cursor: pointer;
    }
    /* ============================================================
           RESPONSIVE
           ============================================================ */

    @media (max-width: 850px) {

        .crypto-grid {
            grid-template-columns: 1fr;
            gap: 45px;
        }

        .crypto-section {
            padding-left: 20px;
            padding-right: 20px;
        }

            .crypto-section h1 {
                font-size: 25px;
            }
    }


    @media (max-width: 500px) {

        .deposit-page {
            padding: 10px;
        }

        .deposit-header {
            padding: 20px 15px;
        }

        .crypto-section {
            padding: 0 15px 25px;
        }

        .deposit-modal-content {
            padding: 25px 18px;
        }

        .wallet-address-row {
            flex-direction: column;
        }

            .wallet-address-row button {
                height: 40px;
            }
    }

/* =========================================================
   CRYPTO DEPOSIT PAGE
   ========================================================= */

.crypto-deposit-wrapper {
    width: 100%;
    max-width: 1200px;
    /* Prevent content from going underneath dashboard sidebar */
    margin-left: 280px;
    padding: 30px 30px 50px;
    box-sizing: border-box;
}


    /* Main content width */
    .crypto-deposit-wrapper > .row {
        width: 100%;
        margin: 0;
    }


    /* Prevent the inner column from becoming too wide */
    .crypto-deposit-wrapper .col-md-10 {
        width: 100%;
        max-width: 1100px;
    }


    /* =========================================================
   CRYPTO CARDS
   ========================================================= */

    .crypto-deposit-wrapper .card {
        max-width: 100%;
    }

    .crypto-deposit-wrapper .crypto-card {
        min-height: 300px;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .crypto-deposit-wrapper {
        margin-left: 250px;
        padding: 25px 20px 40px;
        max-width: none;
    }
}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 991px) {

    .crypto-deposit-wrapper {
        margin-left: 0;
        padding: 25px 20px 40px;
    }

        .crypto-deposit-wrapper .col-md-10 {
            width: 100%;
        }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .crypto-deposit-wrapper {
        margin-left: 0;
        padding: 20px 15px 30px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .crypto-deposit-wrapper {
        padding: 15px 10px 25px;
    }
}

/* Mobile transaction rows */
@media (max-width: 767.98px) {

    .transaction-row {
        cursor: pointer;
        transition: background-color 0.15s ease;
    }

        .transaction-row:active {
            background-color: #f5f5f5;
        }

        .transaction-row .view-transaction-btn {
            position: relative;
            z-index: 5;
        }
}
.dashboard-admin-message {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #0d6efd;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dashboard-admin-message-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.dashboard-admin-message-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.dashboard-admin-message-title {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

.dashboard-admin-message-subtitle {
    color: #888;
    font-size: 10px;
    margin-top: 2px;
}

.dashboard-admin-message-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 7px 0;
    margin-bottom: 7px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    color: #777;
    font-size: 10px;
}

    .dashboard-admin-message-details strong {
        color: #333;
        font-weight: 600;
    }

.dashboard-admin-message-text {
    color: #444;
    font-size: 11px;
    line-height: 1.5;
    white-space: pre-wrap;
}

#transactionsTable {
    width: max-content;
    min-width: 100%;
}

    #transactionsTable th,
    #transactionsTable td {
        white-space: nowrap;
        vertical-align: middle;
    }

    #transactionsTable input,
    #transactionsTable select {
        width: auto;
        min-width: 100%;
    }

    /* Transaction ID */
    #transactionsTable th:nth-child(2),
    #transactionsTable td:nth-child(2) input {
        min-width: 130px;
    }

    /* Account Number */
    #transactionsTable th:nth-child(3),
    #transactionsTable td:nth-child(3) input {
        min-width: 150px;
    }

    /* Name */
    #transactionsTable th:nth-child(4),
    #transactionsTable td:nth-child(4) input {
        min-width: 150px;
    }

    /* Description */
    #transactionsTable th:nth-child(5),
    #transactionsTable td:nth-child(5) input {
        min-width: 170px;
    }

    /* Debit */
    #transactionsTable th:nth-child(6),
    #transactionsTable td:nth-child(6) input {
        min-width: 110px;
    }

    /* Credit */
    #transactionsTable th:nth-child(7),
    #transactionsTable td:nth-child(7) input {
        min-width: 110px;
    }

    /* Balance */
    #transactionsTable th:nth-child(8),
    #transactionsTable td:nth-child(8) input {
        min-width: 120px;
    }

    /* Status */
    #transactionsTable th:nth-child(9),
    #transactionsTable td:nth-child(9) select {
        min-width: 125px;
    }

    /* Transaction Date */
    #transactionsTable th:nth-child(10),
    #transactionsTable td:nth-child(10) input {
        min-width: 190px;
    }

    /* Update button */
    #transactionsTable th:nth-child(11),
    #transactionsTable td:nth-child(11) {
        min-width: 105px;
    }

    /* Delete button */
    #transactionsTable th:nth-child(12),
    #transactionsTable td:nth-child(12) {
        min-width: 100px;
    }

/* Allow the table to grow to the size of its contents */
#transactionsTable {
    width: max-content !important;
    min-width: 100% !important;
    table-layout: auto !important;
}

    #transactionsTable th,
    #transactionsTable td {
        white-space: nowrap !important;
        vertical-align: middle !important;
    }


        /* =========================
       INPUT SIZES
       ========================= */

        /* Transaction ID */
        #transactionsTable td:nth-child(2) input {
            width: 130px !important;
        }

        /* Account Number */
        #transactionsTable td:nth-child(3) input {
            width: 155px !important;
        }

        /* Name */
        #transactionsTable td:nth-child(4) input {
            width: 170px !important;
        }

        /* Description */
        #transactionsTable td:nth-child(5) input {
            width: 180px !important;
        }

        /* Debit */
        #transactionsTable td:nth-child(6) input {
            width: 115px !important;
        }

        /* Credit */
        #transactionsTable td:nth-child(7) input {
            width: 115px !important;
        }

        /* Balance */
        #transactionsTable td:nth-child(8) input {
            width: 125px !important;
        }

        /* Status */
        #transactionsTable td:nth-child(9) select {
            width: 130px !important;
        }

        /* Date */
        #transactionsTable td:nth-child(10) input {
            width: 200px !important;
        }


        /* =========================
       BUTTONS
       ========================= */

        #transactionsTable td:nth-child(11) button {
            width: 95px !important;
        }

        #transactionsTable td:nth-child(12) button {
            width: 90px !important;
        }


    /* =========================
       INPUT APPEARANCE
       ========================= */

    #transactionsTable .form-control,
    #transactionsTable .form-select {
        display: inline-block !important;
        max-width: none !important;
        padding-left: 10px;
        padding-right: 10px;
    }


/* Keep the table scrollable */
.table-responsive {
    overflow-x: auto !important;
}


/* Admin Customer Review */
#customersTable {
    font-size: 13px;
}

    #customersTable th {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        background: #f8f9fa;
        white-space: nowrap;
        padding: 10px 14px;
    }

    #customersTable td {
        padding: 12px 14px;
        color: #374151;
        vertical-align: middle;
    }

    #customersTable tbody tr {
        background: #ffffff;
    }

        #customersTable tbody tr:hover {
            background: #f8fafc;
        }

#customerPagination button {
    min-width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 2px;
    font-size: 13px;
}

    #customerPagination button:hover {
        background: #f1f3f5;
    }

    #customerPagination button.active {
        background: #4b5563;
        color: white;
        border-color: #4b5563;
    }

.customer-password {
    font-family: Arial, sans-serif;
    font-size: 13px;
}

@media (max-width: 767px) {
    #customersTable {
        font-size: 12px;
    }

        #customersTable th,
        #customersTable td {
            padding: 9px 10px;
        }
}

/* Complete Registration Page */
.complete-registration-page {
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 30px 0 40px;
    background: #ffffff;
}

.registration-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 35px;
}

    .registration-header h1 {
        font-size: 38px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 10px;
    }

    .registration-header p {
        color: #64748b;
        font-size: 16px;
        margin-bottom: 15px;
    }

.header-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

    .header-line span {
        display: block;
        width: 45px;
        height: 3px;
        background: #102a72;
    }

    .header-line i {
        display: block;
        width: 5px;
        height: 5px;
        background: #102a72;
    }


.form-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    margin-bottom: 16px;
}

.form-group {
    width: 100%;
}

.full-width {
    width: 100%;
    margin-bottom: 16px;
}

.phone-group {
    width: 52%;
    margin-bottom: 18px;
}


.registration-input {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 0;
    outline: none;
    background: #f4f6fb;
    color: #64748b;
    padding: 0 24px;
    font-size: 16px;
    font-family: inherit;
    box-shadow: none;
}

    .registration-input:focus {
        background: #f4f6fb;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .registration-input::placeholder {
        color: #64748b;
        opacity: 1;
    }


select.registration-input {
    appearance: auto;
    -webkit-appearance: auto;
    cursor: pointer;
}


.upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 5px;
}

.upload-group {
    width: 100%;
}

    .upload-group label {
        display: block;
        color: #111827;
        font-size: 16px;
        margin-bottom: 18px;
    }

.file-input {
    width: 100%;
    height: 60px;
    background: #f4f6fb;
    border: none;
    border-radius: 0;
    padding: 7px 24px;
    font-size: 16px;
    color: #64748b;
}

    .file-input::file-selector-button {
        height: 44px;
        padding: 0 10px;
        margin-right: 6px;
        border: 1px solid #777;
        background: #ffffff;
        color: #111827;
        cursor: pointer;
    }


.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.complete-button {
    min-width: 258px;
    height: 50px;
    padding: 0 30px;
    border: none;
    border-radius: 30px;
    background: #ff6427;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

    .complete-button:hover {
        background: #ff6427;
        color: #ffffff;
    }


.text-danger {
    display: block;
    margin-top: 5px;
}


@media (max-width: 767px) {
    .complete-registration-page {
        padding: 25px 15px 40px;
    }

    .registration-header h1 {
        font-size: 30px;
    }

    .registration-header p {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .phone-group {
        width: 100%;
    }

    .upload-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .registration-input {
        height: 55px;
    }

    .file-input {
        height: 55px;
    }

    .complete-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Pending Review For Admin to Customer */
.review-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #fff3cd;
    color: #d39e00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.review-message {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

    .review-message h3 {
        margin-bottom: 20px;
        font-weight: 700;
    }

    .review-message p {
        color: #666;
        line-height: 1.7;
        margin-bottom: 15px;
    }

.review-account {
    margin: 30px 0;
    padding: 18px 20px;
    background: #f7f8fa;
    border-radius: 8px;
    text-align: center;
}

    .review-account span {
        display: block;
        color: #888;
        font-size: 13px;
        margin-bottom: 5px;
    }

    .review-account strong {
        display: block;
        font-size: 22px;
        letter-spacing: 2px;
    }

.review-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin: 25px 0;
    background: #fff8e1;
    border-radius: 8px;
    color: #795548;
    text-align: left;
    line-height: 1.6;
}

    .review-warning i {
        font-size: 20px;
        flex-shrink: 0;
    }