﻿.dashboard__content {
    padding: 20px 20px 20px 20px !important;
}
.bg-white {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
}
.box-payment {
    width: 305px;
    height: 126px;
    gap: 0px;
    border-radius: 10px;
    border: 1px 0px 0px 0px;
    opacity: 0px;
    border: 1px solid #0000001A;
    margin-right: 15px;
}
.content-box {
    padding: 15px;
    height : 100%;
}
.button-sendRequest {
    display: inline-flex;
/*    width: 180px;*/
    height: 40px;
    justify-content: center;
    padding: 14px;
    margin-top: 15px;
    border-radius: 10px;
    background: #D67D00;
}
#submit-payment {
    background-color: #D67D00;
    color: white; 
    border: none; 
    padding: 10px 20px; /* Khoảng cách bên trong nút */
/*    width: 150px;*/
    font-size: 16px; /* Kích thước chữ */
    cursor: pointer; /* Con trỏ chuột dạng tay khi hover */
    border-radius: 5px; /* Bo tròn các góc */
    transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu khi hover */
}
.button-export {
    display: inline-flex;
    width: 140px;
    height: 40px;
    justify-content: center;
    padding: 14px;
    border-radius: 10px;
    background: #D67D00;
}
.bg-white {
    margin-bottom: 20px;
    border-radius: 10px;
}
table {
    width: 100%;
    border-collapse: collapse; 
}
th, td {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}
.status-ok, .status-wait, .status-cancel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    color: white;
    padding: 4px;
    border-radius: 99px;
    font-weight: bold;
}
.status-ok {
    background-color: #009370;
}
.status-wait {
    background-color: #D67D00;
}
.status-cancel {
    background-color: #000000;
}
.transaction-info > div {
    margin-bottom: 15px;
}
.transaction-info {
    width: 30%;
}
.transaction-info1 > div {
    margin-bottom: 15px;
}
.transaction-info1 {
    width: 70%;
}
.status-container {
    display: flex;
    align-items: start; /* Căn các phần tử theo chiều dọc */
}

.input-box {
    margin-top: 15px;
    margin-bottom: 15px;
}
#text-input {
    width: 100%;
    height: 45px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #00000026;
    justify: space-between;
    opacity: 0px;
}
.info h6 {
    margin-bottom: 20px;
}

/*Conversion Report*/
.search {
    display: flex;
    width: 100%;
}
.left {
    flex: 2;
    padding-right: 10px;
}
.right {
    flex: 1;
    
}
.form-group {
    display: flex;
    align-items: center; /* Canh giữa theo trục dọc */
    gap: 15px; /* Khoảng cách giữa các phần tử */
}
.header {
    width: 610px;
    height: 168px;
    border-radius: 10px;
    border: 1px solid #00000026;
    opacity: 0px;
}
.header-content {
    width: 100%;
    padding: 14px 14px 0px 14px;
}

.content {
    margin-top: 20px;
    margin-bottom: 20px;
}
.search-results {
    display: flex;
    width: 100%;
}
.button-search {
    width: 132px;
    height: 48px;
    padding: 14px;
    border-radius: 10px;
    background-color: #D67D00;
    text-align: center;
}

/* Modal styles */
.sendRequest-modal {
    display: none; /* Ẩn modal theo mặc định */
    position: fixed;
    z-index: 9999; /* Hiển thị trên cùng */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* Full width */
    height: auto; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
}

.modal-sendRequest {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
}

.close {
    display: flex;
    justify-content: flex-end;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    float: right;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.button-sendRequest {
    text-align: center;
    margin-top: 20px;
}

.input-box {
    margin-bottom: 20px;
}

#sendRequest-modal input[type="text"],
#sendRequest-modal input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.notification-popup {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    background-color: #D67D00; 
    color: white;
    border-radius: 8px;
    padding: 20px;
    z-index: 9999; 
}

.popup-content {
    text-align: center;
}

#popup-close {
    background-color: #ffffff; 
    color: #D67D00; 
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

    #popup-close:hover {
        border: 1px solid black;
        color: black; 
    }
#total-income,
#amount-AffiliateWallet,
#transactions-performed {
    font-family: Poppins;
    font-size: 28px;
    font-weight: 700;
    line-height: 42px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.popup-modal {
    display: none; /* Ẩn modal theo mặc định */
    position: fixed;
    z-index: 9999; /* Hiển thị trên cùng */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Căn giữa */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
}
.popup {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%; /* Điều chỉnh chiều rộng của modal */
}
.popup-info {
    position: relative;
}
.exit {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 28px;
}
.popup-info p {
    display: flex;
    align-items: center;
    width: 100%; 
}

.popup-info p strong {
    width: 30%;
    font-weight: bold;
}
#popup-transaction-status {
    width: 120px;
}
@media (max-width: 425px) and (min-width: 320px) {
    .dashboard__content {
        padding: 5px !important;
        width: 70% !important;
    }
    .bg-white {
        margin-bottom: 20px;
        border-radius: 10px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
        border-radius: 10px;
        height: 100%;
    }
    .statistical {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .box-payment {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        border: 1px;
        border: 1px solid #0000001A;
    }

    .content-box {
        padding: 15px;
        height: 100%;
        width: 100%;
    }

    .button-sendRequest {
        display: inline-flex;
        /*    width: 180px;*/
        height: 40px;
        justify-content: center;
        padding: 14px;
        margin-top: 15px;
        border-radius: 10px;
        background: #D67D00;
    }

    #submit-payment {
        background-color: #D67D00;
        color: white;
        border: none;
        padding: 10px 20px; /* Khoảng cách bên trong nút */
        /*    width: 150px;*/
        font-size: 16px; /* Kích thước chữ */
        cursor: pointer; /* Con trỏ chuột dạng tay khi hover */
        border-radius: 5px; /* Bo tròn các góc */
        transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu khi hover */
    }

    .button-export {
        display: inline-flex;
        width: 140px;
        height: 40px;
        justify-content: center;
        padding: 14px;
        border-radius: 10px;
        background: #D67D00;
    }
    .ps-widget {
        padding: 0px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        border-bottom: 1px solid #ddd;
        padding: 10px;
        text-align: center;
        vertical-align: middle;
    }

    .status-ok, .status-wait, .status-cancel {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 28px;
        color: white;
        padding: 4px;
        border-radius: 99px;
        font-weight: bold;
    }

    .status-ok {
        background-color: #009370;
    }

    .status-wait {
        background-color: #D67D00;
    }

    .status-cancel {
        background-color: #000000;
    }

    .transaction-info > div {
        margin-bottom: 15px;
    }

    .transaction-info {
        width: 30%;
    }

    .transaction-info1 > div {
        margin-bottom: 15px;
    }

    .transaction-info1 {
        width: 70%;
    }

    .status-container {
        display: flex;
        align-items: start; /* Căn các phần tử theo chiều dọc */
    }

    .input-box {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #text-input {
        width: 100%;
        height: 45px;
        padding: 14px;
        border-radius: 10px;
        border: 1px solid #00000026;
        justify: space-between;
        opacity: 0px;
    }

    .info h6 {
        margin-bottom: 20px;
    }

    /*Conversion Report*/
    .search {
        display: flex;
        width: 100%;
    }

    .left {
        flex: 2;
        padding-right: 10px;
    }

    .right {
        flex: 1;
    }

    .form-group {
        display: flex;
        align-items: center; /* Canh giữa theo trục dọc */
        gap: 15px; /* Khoảng cách giữa các phần tử */
    }

    .header {
        width: 610px;
        height: 168px;
        border-radius: 10px;
        border: 1px solid #00000026;
        opacity: 0px;
    }

    .header-content {
        width: 100%;
        padding: 14px 14px 0px 14px;
    }

    .content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .search-results {
        display: flex;
        width: 100%;
    }

    .button-search {
        width: 132px;
        height: 48px;
        padding: 14px;
        border-radius: 10px;
        background-color: #D67D00;
        text-align: center;
    }

    /* Modal styles */
    .sendRequest-modal {
        display: none; /* Ẩn modal theo mặc định */
        position: fixed;
        z-index: 9999; /* Hiển thị trên cùng */
        left: 25%;
        top: 40%;
        transform: translate(-50%, -50%);
        width: 60%; /* Full width */
        height: auto; /* Full height */
        background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
    }

    .modal-sendRequest {
        background-color: white;
        margin: 15% auto;
        padding: 20px;
        border-radius: 10px;
        width: 60%;
    }

    .close {
        display: flex;
        justify-content: flex-end;
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        float: right;
    }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

    .button-sendRequest {
        text-align: center;
        margin-top: 20px;
    }

    .input-box {
        margin-bottom: 20px;
    }

    #sendRequest-modal input[type="text"],
    #sendRequest-modal input[type="number"] {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .notification-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 25%;
        transform: translate(-50%, -50%);
        background-color: #D67D00;
        color: white;
        border-radius: 8px;
        padding: 20px;
        z-index: 9999;
    }

    .popup-content {
        text-align: center;
    }

    #popup-close {
        background-color: #ffffff;
        color: #D67D00;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 10px;
        transition: background-color 0.3s;
    }

        #popup-close:hover {
            border: 1px solid black;
            color: black;
        }

    #total-income,
    #amount-AffiliateWallet,
    #transactions-performed {
        font-family: Poppins;
        font-size: 28px;
        font-weight: 700;
        line-height: 42px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .btn-action {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .popup-modal {
        display: none; /* Ẩn modal theo mặc định */
        position: fixed;
        z-index: 9999; /* Hiển thị trên cùng */
        left: 25%;
        top: 50%;
        transform: translate(-50%, -50%); /* Căn giữa */
        width: 70%; /* Full width */
        height: auto; /* Full height */
        background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
    }

    .popup {
        background-color: white;
        margin: 10% auto;
        padding: 20px;
        border-radius: 10px;
        width: 60%; /* Điều chỉnh chiều rộng của modal */
    }

    .popup-info {
        position: relative;
    }

    .exit {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        font-size: 28px;
    }

    .popup-info p {
        display: flex;
        align-items: center;
        width: 100%;
    }

        .popup-info p strong {
            width: 30%;
            font-weight: bold;
        }

    #popup-transaction-status {
        width: 120px;
    }
    
}

@media (max-width: 769px) and (min-width: 426px) {
    .dashboard__content {
        padding: 6px !important;
        width: 69.5% !important;
        margin: 0 auto; /* Centers horizontally */
        position: absolute; /* Allows vertical centering */
        top: 50%; /* Moves the element 50% from the top of the screen */
        left: 50%; /* Moves the element 50% from the left of the screen */
        transform: translate(-50%, -50%); /* Offsets the element to truly center it */
    }

    .bg-white {
        margin-bottom: 20px;
        border-radius: 10px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
        border-radius: 10px;
        height: 100%;
    }

    .statistical {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .box-payment {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        border: 1px;
        border: 1px solid #0000001A;
    }

    .content-box {
        padding: 15px;
        height: 100%;
        width: 100%;
    }

    .button-sendRequest {
        display: inline-flex;
        /*    width: 180px;*/
        height: 40px;
        justify-content: center;
        padding: 14px;
        margin-top: 15px;
        border-radius: 10px;
        background: #D67D00;
    }

    #submit-payment {
        background-color: #D67D00;
        color: white;
        border: none;
        padding: 10px 20px; /* Khoảng cách bên trong nút */
        /*    width: 150px;*/
        font-size: 16px; /* Kích thước chữ */
        cursor: pointer; /* Con trỏ chuột dạng tay khi hover */
        border-radius: 5px; /* Bo tròn các góc */
        transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu khi hover */
    }

    .button-export {
        display: inline-flex;
        width: 140px;
        height: 40px;
        justify-content: center;
        padding: 14px;
        border-radius: 10px;
        background: #D67D00;
    }

    .ps-widget {
        padding: 0px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        border-bottom: 1px solid #ddd;
        padding: 10px;
        text-align: center;
        vertical-align: middle;
    }

    .status-ok, .status-wait, .status-cancel {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 28px;
        color: white;
        padding: 4px;
        border-radius: 99px;
        font-weight: bold;
    }

    .status-ok {
        background-color: #009370;
    }

    .status-wait {
        background-color: #D67D00;
    }

    .status-cancel {
        background-color: #000000;
    }

    .transaction-info > div {
        margin-bottom: 15px;
    }

    .transaction-info {
        width: 30%;
    }

    .transaction-info1 > div {
        margin-bottom: 15px;
    }

    .transaction-info1 {
        width: 70%;
    }

    .status-container {
        display: flex;
        align-items: start; /* Căn các phần tử theo chiều dọc */
    }

    .input-box {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #text-input {
        width: 100%;
        height: 45px;
        padding: 14px;
        border-radius: 10px;
        border: 1px solid #00000026;
        justify: space-between;
        opacity: 0px;
    }

    .info h6 {
        margin-bottom: 20px;
    }

    /*Conversion Report*/
    .search {
        display: flex;
        width: 100%;
    }

    .left {
        flex: 2;
        padding-right: 10px;
    }

    .right {
        flex: 1;
    }

    .form-group {
        display: flex;
        align-items: center; /* Canh giữa theo trục dọc */
        gap: 15px; /* Khoảng cách giữa các phần tử */
    }

    .header {
        width: 610px;
        height: 168px;
        border-radius: 10px;
        border: 1px solid #00000026;
        opacity: 0px;
    }

    .header-content {
        width: 100%;
        padding: 14px 14px 0px 14px;
    }

    .content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .search-results {
        display: flex;
        width: 100%;
    }

    .button-search {
        width: 132px;
        height: 48px;
        padding: 14px;
        border-radius: 10px;
        background-color: #D67D00;
        text-align: center;
    }

    /* Modal styles */
    .sendRequest-modal {
        display: none; /* Ẩn modal theo mặc định */
        position: fixed;
        z-index: 9999; /* Hiển thị trên cùng */
        left: 25%;
        top: 40%;
        transform: translate(-50%, -50%);
        width: 60%; /* Full width */
        height: auto; /* Full height */
        background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
    }

    .modal-sendRequest {
        background-color: white;
        margin: 15% auto;
        padding: 20px;
        border-radius: 10px;
        width: 60%;
    }

    .close {
        display: flex;
        justify-content: flex-end;
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        float: right;
    }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

    .button-sendRequest {
        text-align: center;
        margin-top: 20px;
    }

    .input-box {
        margin-bottom: 20px;
    }

    #sendRequest-modal input[type="text"],
    #sendRequest-modal input[type="number"] {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .notification-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 25%;
        transform: translate(-50%, -50%);
        background-color: #D67D00;
        color: white;
        border-radius: 8px;
        padding: 20px;
        z-index: 9999;
    }

    .popup-content {
        text-align: center;
    }

    #popup-close {
        background-color: #ffffff;
        color: #D67D00;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-top: 10px;
        transition: background-color 0.3s;
    }

        #popup-close:hover {
            border: 1px solid black;
            color: black;
        }

    #total-income,
    #amount-AffiliateWallet,
    #transactions-performed {
        font-family: Poppins;
        font-size: 28px;
        font-weight: 700;
        line-height: 42px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .btn-action {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .popup-modal {
        display: none; /* Ẩn modal theo mặc định */
        position: fixed;
        z-index: 9999; /* Hiển thị trên cùng */
        left: 25%;
        top: 50%;
        transform: translate(-50%, -50%); /* Căn giữa */
        width: 70%; /* Full width */
        height: auto; /* Full height */
        background-color: rgba(0, 0, 0, 0.5); /* Nền mờ */
    }

    .popup {
        background-color: white;
        margin: 10% auto;
        padding: 20px;
        border-radius: 10px;
        width: 60%; /* Điều chỉnh chiều rộng của modal */
    }

    .popup-info {
        position: relative;
    }

    .exit {
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        font-size: 28px;
    }

    .popup-info p {
        display: flex;
        align-items: center;
        width: 100%;
    }

        .popup-info p strong {
            width: 30%;
            font-weight: bold;
        }

    #popup-transaction-status {
        width: 120px;
    }
}