/** base CSS **/
.flex-col {
    display: column;
    flex-flow: column;
}

.flex-direction-col {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    align-items: center;
}

.align-group-col-start {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}

.card {
    display: flex;
    padding: 32px;
    margin: 16px 0px;
    background: var(--light-bg-primary);
    box-shadow: 0px 2px 2px rgba(2, 2, 15, 0.01), 0px 2px 4px rgba(2, 2, 15, 0.01), 0px 0px 24px rgba(2, 2, 15, 0.01), 0px 2px 72px rgba(2, 2, 15, 0.01);
    border-radius: 12px;
    border: none;
}

.logo-quickbook {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 9px;
    background-color: var(--quickbook-bg-green);
    content: url('/v4/img/heartland-admin/quickbook-logo/quickbook-logo.svg');
    margin-right: 16px;
}
.text1-quickbook {
    width: 40px;
    height: 11px;
    content: url('/v4/img/heartland-admin/quickbook-logo/quickbook-text1.svg');
}

.text-quickbook {
    width: 174px;
    height: 32px;
    content: url('/v4/img/heartland-admin/quickbook-logo/quickbook-text.svg');
}

.third-party-company-text {
    /* font-family: 'Inter'; */
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.btn {
    /* font-family: 'Inter'; */
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    /** the keyword "important" shoud be removed in the future */
    border-radius: 9999px !important; 
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    color: var(--light-bg-primary);
}

.btn-parmary {
    background-color: var(--bg-action);
}

.title-header {
    /* font-family: 'Inter'; */
    font-style: normal;
    font-weight: 700;
}

.title-h2 {
    font-size: 32px;
    line-height: 40px;
    color: var(--light-bg-inverted-primary);
}

.title-h4 {
    font-size: 24px;
    line-height: 32px;
    color: var(--light-bg-inverted-primary);
}

.title-h5 {
    font-size: 20px;
    line-height: 28px;
    color: var(--light-bg-inverted-primary);
}

.title-h6 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.warning-text {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--light-bg-danger);
}

.portrait-p2 {
    /* font-family: 'Inter'; */
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var( --light-bg-brand);
}

.w-full {
    width: 100%;
}

.m-0-auto {
    margin: 0 auto;
}

.m-0 {
    margin: 0;
}

.m-8 {
    margin: 8px;
}

.mb-8 {
    margin-bottom: 8px;
}

.m-x-12 {
    margin: 0 12px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mr-24 {
    margin-right: 24px;
}

.p-16-64 {
    padding: 16px 64px;
}

.connection_status {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    padding: 7px 8px;
    border-radius: 40px;
    background-color: var(--light-bg-tertlary);
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-bg-status-success);
    vertical-align: middle;
    margin-right: 4px;
}

.font-inter {
    font-family: 'Inter';
    font-style: normal;
}

.vertical-split-line {
    content: url('/v4/img/heartland-admin/split-line-horizontal.svg');
}

.action-link {
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: var(--bg-action);
}

.action-link:hover {
    cursor: pointer;
}

#status-info {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.status-info__success {
    background-color: var(--light-bg-status-success);
}

i.success-symbol{
    content: url('/v4/img/heartland-admin/success-symbol.svg');
}

.status-info__warning {
    background-color: var(--light-bg-status-error);
}

i.warning-symbol{
    content: url('/v4/img/heartland-admin/warning-symbol.svg');
}


i.swirl-blue {
    content: url('/v4/img/heartland-admin/swirl-blue.svg');
}

i.x-button {
    content: url('/v4/img/heartland-admin/x-button.svg');
}

i.x-button:hover {
    cursor: pointer;
}


/** quick-book-index */

/** quick-book-sync */
#quickbook-table table{
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

#quickbook-table table{
    width: 100%;
    table-layout: fixed;
}

#quickbook-table .quick-book-thead {
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    color: var(--text-primary);
    background-color: var(--light-bg-tertlary);
    border-radius: 8px;
}

#quickbook-table th,
#quickbook-table td {
    padding: 8px 16px;
}

#quickbook-table .quick-book-td .vertical-split-line {
    display: inline-block;
    vertical-align: middle;
}

.quick-book-tr th:last-child,.quick-book-tr td:last-child {
    text-align: right;
}

.quick-book-tbody tr:nth-child(even) {
    background-color: var(--light-bg-tertlary);
}

.sync-indicator {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 100px;
    background-color: var(--light-bg-accent3-primary);
}

.pay-period {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var(--text-primary);
}

/** quick-book-sync-dialog */
.loading-dot {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    margin:auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--bg-action);

}

.circle-rotate-animation {
    -webkit-animation:circle-rotate 2s linear infinite;
    -moz-animation:circle-rotate 2s linear infinite;
    animation:circle-rotate 2s linear infinite;
}

@-moz-keyframes circle-rotate { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes circle-rotate { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes circle-rotate { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}
/** quick-book-dialog */
#quick-book-dialog {
    padding: 40px;
    min-width: 400px;
}

#quick-book-dialog .header-line,
#quick-book-dialog-with-payroll-details .header-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    text-align: right;
    line-height: 40px;
    padding-top: 15px;
    padding-right: 24px;
}

#quick-book-dialog .text-container .message-content {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.004em;
}

/** qbo-data-popup **/
#qbo-data-popup {
    min-width: 1000px;
    height: auto;
}
#qbo-data-popup .header-line {
    text-align: right;
}

#qbo-data-popup .payroll-details-card,
#quick-book-dialog-with-payroll-details .payroll-details-card {
    max-width: 400px;
    border-radius: 16px;
    padding: 24px;
    background-color: var(--light-bg-Accent5-Tertiary);
    
}

#quick-book-dialog-with-payroll-details {
    min-width: 1000px;
    height: auto;
}

#quick-book-dialog-with-payroll-details  .payroll-details-card {
    max-width: unset;
}

#qbo-data-popup .payroll-details-card .payroll-details-item{
    display: flex;
    justify-content: space-between;
}

#qbo-data-popup .payroll-details-label,
#quick-book-dialog-with-payroll-details .payroll-details-label {
    /* font-family: 'Inter'; */
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
}

#qbo-data-popup .payroll-details-content,
#quick-book-dialog-with-payroll-details .payroll-details-content {
    /* font-family: 'Inter'; */
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var(--light-text-secondary);
}

#quick-book-dialog-with-payroll-details .payroll-details-card {
    width: 100%;
    padding: 24px;
    background-color: var(--light-bg-Accent5-Tertiary);
}

#quick-book-dialog-with-payroll-details .payroll-details-card .payroll-details-item {
    display: flex;
    justify-content: space-between;
}
#quick-book-dialog-with-payroll-details .payroll-details-card .payroll-details-item:nth-child(2) {
    padding: 10px 0;
}

#qbo-data-popup #qbo-data-table thead tr,
#quick-book-dialog-with-payroll-details #qbo-data-table thead tr {
    color: var(--text-primary);
    background-color: var(--light-bg-tertlary);
}

#qbo-data-popup #qbo-data-table th, td,
#quick-book-dialog-with-payroll-details #qbo-data-table th, td {
    padding: 12px 16px;
}

#qbo-data-popup #qbo-data-table tbody tr,
#quick-book-dialog-with-payroll-details #qbo-data-table tbody tr {
    color: var(--light-bg-brand);
}

#qbo-data-popup #qbo-data-table tbody tr:nth-child(odd),
#quick-book-dialog-with-payroll-details #qbo-data-table tbody tr:nth-child(odd) {
    background-color: var(--light-bg-primary);
}

#qbo-data-popup #qbo-data-table tbody tr:nth-child(even),
#quick-book-dialog-with-payroll-details tbody tr:nth-child(even) {
    background-color: var(--light-bg-tertlary);
}

#qbo-data-popup #qbo-data-table tr th:nth-child(2),
#qbo-data-popup #qbo-data-table tr td:nth-child(2),
#qbo-data-popup #qbo-data-table tr th:nth-child(3),
#qbo-data-popup #qbo-data-table tr td:nth-child(3),
#quick-book-dialog-with-payroll-details #qbo-data-table tr th:nth-child(2),
#quick-book-dialog-with-payroll-details #qbo-data-table tr td:nth-child(2),
#quick-book-dialog-with-payroll-details #qbo-data-table tr th:nth-child(3),
#quick-book-dialog-with-payroll-details #qbo-data-table tr td:nth-child(3) {
    text-align: right;
}

.tbody-container {
    overflow-y: scroll;
    max-height: 230px;
    height: auto;
}

.thead-sticky {
    position: sticky;
    top: 0px;
}

.tfoot-sticky {
    position: sticky;
    bottom: 0px;
}
