.dashboard__content {
    padding: 20px;
}

.form-style1 .ud-btn {
    padding: 14px 28px;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    background: rgb(214, 125, 0);
    font-size: 18px;
    font-weight: 400;
}

.box {
    width: 100%;
    height: auto;
    gap: 0px;
    border-radius: 10px;
    border: 1px solid #0000001A;
    margin-right: 15px;
    opacity: 0.9;
}

.content-box {
    padding: 15px;
    height: 100%;
}

.button-pay, .button-export {
    display: inline-flex;
    justify-content: center;
    padding: 14px;
    margin-top: 15px;
    border-radius: 10px;
    background: #D67D00;
    width: 100%;
    max-width: 180px;
}

.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 {
    width: 120px;
    height: 28px;
    padding: 4px;
    border-radius: 99px;
    color: white;
}

.status-ok {
    background-color: #009370;
}

.status-wait {
    background-color: #D67D00;
}

.status-cancel {
    background-color: black;
}

.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;
}

.input-box {
    margin-top: 15px;
    margin-bottom: 15px;
}

#text-input {
    width: 100%;
    height: 45px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #00000026;
    opacity: 0.9;
}

.info h6 {
    margin-bottom: 20px;
}

.search {
    display: flex;
    width: 100%;
}

.left {
    flex: 2;
    padding-right: 10px;
}

.right {
    flex: 1;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header {
    width: 100%;
    height: 168px;
    border-radius: 10px;
    border: 1px solid #00000026;
}

.header-content {
    width: 100%;
    padding: 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;
}

.apartment-img-transaction-history {
    border-radius: 4px;
    margin-right: 1rem;
}

.apartment-name-transaction-history {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
}

.pagination .page-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #212529;
    border: 1px solid #DEE2E6;
    margin: 0 4px;
}

.pagination .page-item.active .page-link {
    background-color: #D67D00;
    border-color: #D67D00;
    color: white;
}

.pagination .page-link:hover {
    background-color: #F8F9FA;
    border-color: #DEE2E6;
    color: #D67D00;
}

.page-item:first-child .page-link {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.page-item:last-child .page-link {
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.pagination-wrapper {
    margin-top: 20px;
}

#affiliateLinkList tr td:nth-child(2) div,
#affiliateLinkList tr td:nth-child(7) div {
    margin: auto;
}

#affiliateLinkList tr td:nth-child(5) {
    text-align: left;
}

.apartment-img-transaction-history img {
    margin-right: 1rem;
}

#dataTable-affiliateLinkList thead tr th:nth-child(2),
#dataTable-affiliateLinkList thead tr th:nth-child(5) {
    text-align: left;
}

#dataTable-affiliateLinkList thead tr th:nth-child(1),
#affiliateLinkList tr td:nth-child(1) {
    height: 36px;
    padding: 6px 12px;
    align-items: center;
}

/* Container chứa SVG */
.copy-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* SVG */
.copy-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease-in-out;
}

.copy-container:active .copy-icon {
    transform: scale(0.9);
}

.copy-feedback {
    position: absolute;
    inset: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    pointer-events: none;
    z-index: 1;
}

.copy-success {
    border-color: green;
    opacity: 1;
    transform: scale(1);
}

.copy-fail {
    border-color: red;
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dashboard__content {
        padding: 10px;
    }

    .form-style1 .ud-btn {
        width: 100%;
        padding: 12px;
    }

    .box {
        width: 100%;
        margin-right: 0;
    }

    .transaction-info,
    .transaction-info1 {
        width: 100%;
    }

    .header,
    .header-content {
        width: 100%;
    }

    .search-results {
        flex-direction: column;
    }

    .button-search {
        width: 100%;
        margin-top: 10px;
    }

    .pagination-wrapper {
        margin-top: 20px;
        text-align: center;
    }
}
