#revenue-page {
    background-color: var(--bg-body);
    max-width: 1020px;
    padding: 20px 0px
}

#revenue-page .tab-content {
    padding: 20px 0px;
}

#revenue-page .nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
}

#revenue-page .nav-item {
    margin-right: 20px;
}

#revenue-page .nav-link {
    border: none;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-description);
    color: var(--text-primary);

}

#revenue-page .nav-link img.tab-icon {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

#revenue-page .nav-item .active {
    border: none;
    border-bottom: 2px solid var(--bg-black);
    /* color: var(--text-description); */
    font-weight: 700;
}

#revenue-page .tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#revenue-page .tab-description {
    font-family: 'Pretendard';
    font-style: normal;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: var(--text-tab-description);
}

#revenue-page .list-card {
    background: var(--bg-body);
    box-shadow: var(--box-shadow-default);
    border-radius: 16px;
    padding: 40px 0px 20px 0px;
    margin-top: 20px;
    width: 100%;
}

#revenue-page .list-card .title,
#revenue-page .list-card .description {
    font-family: 'Public Sans';
    font-size: 18px;
    line-height: 28px;
    color: var(--text-primary);
}

#revenue-page .list-card .title {
    font-weight: 600;
}

/* Customize the table row styles */
#statistics-tab table thead tr,
#statistics-tab table tbody tr.table-row-total {
   height: 76px;
}

#statistics-tab table tbody tr.table-row {
    height: 54px;
}

#statistics-tab table .table-row {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-primary);
}

#statistics-tab table .table-row a.app-name {
    font-family: 'Public Sans';
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-decoration-line: underline;
    color: var(--text-primary);
}

#statistics-tab table .table-row-total,
#statistics-tab table .table-row-total td {
    background: var(--table-header-bg);
}

#revenue-page span.not-found {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-description);
}

#revenue-page .list-card-notice {
    box-sizing: border-box;
    background: var(--bg-card-notice);
    border: 1px solid var(--border-card-notice);
    border-radius: 20px;
    padding: 24px;
}

#revenue-page .list-card-notice .notice-title,
#revenue-page .list-card-notice .notice-content {
    font-family: 'Pretendard';
    font-style: normal;
    font-size: 12px;
    line-height: 22px;
    color: var(--text-normal);
}

#revenue-page .list-card-notice .notice-title {
    font-weight: 700;
}

#revenue-page .label {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-description);
}

#revenue-page .label.success {
    color: var(--text-success);
}

#revenue-page .label.bold {
    font-weight: 700;
}

#revenue-page button.btn-submit-default {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: var(--bg-white);
    border-radius: 8px;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 22px;
    color: var(--text-primary);
    height: 30px;
    padding: 0px 8px;
    gap: 8px;
    border: 1px solid var(--border-cancel-btn);
    border-radius: 8px;
    white-space: nowrap;
}

#revenue-page button.btn-submit-nice {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 12px;
    gap: 8px;
    height: 36px;
    background: var(--bg-button-nice);
    border-radius: 8px;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-button-nice);
}

#revenue-page span.warning {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    color: var(--text-warning);
}

#revenue-page span.success {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: var(--color-success);
}

#revenue-page span.reject {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: var(--color-reject);
}

#revenue-page span.status {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 6px;
    gap: 6px;
    height: 24px;
    border-radius: 6px;
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    width: auto;
    min-width: 0;
}

#revenue-page span.status.success {
    background: rgba(34, 197, 94, 0.16);
    color: #118D57;
}

#revenue-page span.status.reject {
    background: rgba(142, 51, 255, 0.16);
    color: #5119B7;
    cursor: pointer;
}

#revenue-page span.status-description {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-secondary);
}


/* For dialog */
#rejectProfitInfoDialog .modal-content {
    width: 320px;
    min-height: 180px;
}


#rejectProfitInfoDialog .modal-header {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 10px 20px;
}

#rejectProfitInfoDialog .modal-header img {
    width: 48px;
    height: 48px;
}

#rejectProfitInfoDialog .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px 20px 20px;

    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: var(--text-normal);
}

#rejectProfitInfoDialog .modal-body .first-line {
    font-family: 'Pretendard';
    font-style: normal;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: var(--text-normal);
    padding-bottom: 10px;
}

#rejectProfitInfoDialog .modal-body .second-line {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: var(--text-secondary);
    padding-bottom: 10px;
}

#rejectProfitInfoDialog .modal-body .second-line.warning {
    color: #FF5F57;
}

#rejectProfitInfoDialog .modal-body .third-line {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 44px;
    text-align: center;
    color: var(--text-primary);
    padding-bottom: 10px;
}

#rejectProfitInfoDialog .modal-body .fourth-line {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: #AAAAAA; 
}

#rejectProfitInfoDialog .reason-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 280px;
    height: 170px;
    background: rgba(145, 158, 171, 0.08);
    border: 1px solid rgba(145, 158, 171, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

#rejectProfitInfoDialog .reason-box span {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(----text-secondary);
}


#rejectProfitInfoDialog .modal-footer {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px 20px 20px;
}

#rejectProfitInfoDialog .modal-footer button {
    height: 36px;
    min-width: 64px;
    background: var(--bg-black);
    border-radius: 8px;
    border: none;
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: var(--text-white);
}

#no-result {
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}
