/* Generic homepage CSS */
html {
    height: 100%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    position: relative;
    margin: 0;
    padding-bottom: 6rem;
    min-height: 100%;
}

section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.hr-section {
    width: 60%;
}

.hr-page-title {
    margin-top: 20px;
    margin-bottom: 50px;
}

hr {
    margin-top: 50px;
    padding-bottom: -20px;
}

.hr-no-padding {
    margin-top: 0px;
    margin-bottom: 10px;
}

h1 {
    text-align: center;
    font-weight: bold;
}

h5 {
    color: #00609C;
    margin-bottom: 50px;
    font-size: 1.5em;
}

.lm-blue-font {
    color: #00609C;
}

.no-bottom-margin {
    margin-bottom: inherit;
}

.main-button {
    background-color: #00609C;
    border-color: #00609C;
    color: white !important;
    font-weight: 500;
}

.main-button:hover {
    background-color: white;
    border-color: #00609C;
    color: #00609C !important;
    font-weight: 500;
}

.edit-button {
    color: #00609C;
    text-decoration: none;
}

.edit-div {
    max-width: 50%;
    padding-bottom: 20px;
    text-decoration: none;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}
.standard-box-shadow {
    box-shadow: 3px 10px 25px gray;
}
/* All-purpose text color containers */
.green {
    color: rgb(35, 179, 35);
}
.red {
    color: red;
}

.dashboard-style {
    color: #6a6a6b;
}

.dashboard-header {
    margin-bottom: 20px;
}

.subsection-header {
    margin-bottom: 20px;
    padding: 0px;
}

.dwolla-container {
    max-width: 75%;
    margin: 0 auto;
}

.dwolla-container>form {
    width: 50%;
}

.small-font-table {
    font-size: 0.8em;
}

.center-table {
    width: 50%;
    margin: 0 auto;
}

.breadcrumbs {
    font-size: 0.8em;
    margin-bottom: 15px;
}

.funding-cost-table {
    font-size: 1.4em;
    font-weight: 500;
    color: #00609C;
}

.font-bold-light {
    font-weight: 600;
}

.font-bold-heavy {
    font-weight: 800;
}

.spinner {
    text-align: center;
    z-index: 1000000;
    margin-top: 50px;
    margin-bottom: 50px;
}

.doc-spinner {
    text-align: center;
    z-index: 1000000;
}

@media only screen and (max-width: 768px) {
    [class*="mobile-center"] {
        text-align: center;
    }
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex>[class*='col-'] {
    flex-grow: 1;
}

.dashboard-charts {
    margin-top: 20px;
}

.chart-padding {
    padding: 10px;
}

.allocation-div {
    padding-top: 0px;
    margin-top: -20px;
    margin-bottom: 50px;
    text-align: center;
}

.allocation-link {
    margin-bottom: 30px;
    color: #00609C;
}

.fix-table-rows>tbody {
    max-height: 400px;
}

.wide-label {
    width: 70%;
}

.fifty-pct-label {
    width: 50%;
}

.tr-header {
    background-color: #00609C;
    color: white;
}

.tr-sub-header {
    background-color: lightgray;
    color: #6a6a6b;
}

.document-card {
    height: 250px;
    width: 225px;
    margin: 10px;
    font-size: 0.9em;
}

.document-card-div {
    margin: 0 auto;
    text-align: center;
}

/* blockchain validated */
.document-verified {
    min-width: 200px;
    border: 1px solid green;
    border-radius: 3px;
    padding: 5px;
    background-color: #b5e6c2;
    color: green;
    margin: 0 auto;
    text-align: center;
}

.verification-info>a,
nolink {
    color: green;
    font-size: 0.75em;
}


/* dropzone formatting */
.dropzone-format {
    background-color: whitesmoke;
    border-radius: 3px;
    border-style: dashed;
}

.dropzone-button {
    margin-top: 0px;
}

/* File hash validation results */
.validation-result {
    min-width: max-content;
}

.validation-result {
    font-size: 10px;
    line-height: 14px;
    min-width: inherit;
}

.cursor-pointer {
    cursor: pointer
}

.doc-ingest-details-col:hover {
    color: #00609C !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 96, 156, 0.035) 100%);
    text-decoration: underline;
}

.doc-ingest-details-col {
    color: #6C757D;
}

/* General-purpose icons */
.lm-icon {
    display: inline-block;
    width: 20px;
    height: 24px;
    padding-bottom: 4px;
}

/* blockchain data/document verification */

.data-verify-match, .document-verify-match {
    background: #8acf9a;
    border: 1px solid #8aaf92;
    border-radius: 5px;
    box-shadow: 5px 5px 10px lightgrey;
}

.data-verify-mismatch, .document-verify-mismatch {
    background: #dd6969;
    border: 1px solid #be2f2f;
    border-radius: 5px;
    box-shadow: 5px 5px 10px lightgrey;
}

.data-verify-table, .data-history-table, .document-verify-table, .document-history-table {
    font-size: 0.9em;
}

.mismatch-icon {
    width: 110px;
}

.match-icon {
    width: 110px;
}

.data-history-raw-data-box, .document-history-raw-data-box {
    background: aliceblue;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 5px 5px 10px lightgrey;
}

.event-badge {
    font-size: 0.9em;
    font-weight: normal;
}

.null-archive-data {
    color: #d2d2d2;
    font-style: italic;
}

.archive-expand-compress {
    cursor: pointer;
}

@media only screen and (max-width: 1199px) {
    .documents-folder, .data-folder, .logs-folder, .payments-folder {
        overflow-x: scroll !important;
    }
}

@media only screen and (max-width: 767px) {
    .file-history-folder {
        overflow-x: scroll !important;
    }
}

.documents-folder, .data-folder, .logs-folder, .file-history-folder, .payments-folder {
    font-size: 0.9em !important;
}

#soc-badge {
    max-width: 120px;
}

/* pipeline formatting */
.pipeline-table, .infinite-pipeline-table {
    font-size: 0.9em;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Pipeline table header styling */
.infinite-pipeline-table th.sortable {
    padding: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
    user-select: none;
}

.infinite-pipeline-table th.sortable .header-text {
    display: inline-block;
    color: #495057;
}

/* Sort indicators using ::after pseudo-element */
.infinite-pipeline-table th.sortable::after {
    content: '↕';  /* Default state */
    margin-left: 8px;
    opacity: 0.3;
}

.infinite-pipeline-table th.sortable[data-sort-direction="asc"]::after {
    content: '↑';
    opacity: 1;
    color: #00609C;  /* LiquidFi blue */
}

.infinite-pipeline-table th.sortable[data-sort-direction="desc"]::after {
    content: '↓';
    opacity: 1;
    color: #00609C;  /* LiquidFi blue */
}

.infinite-pipeline-table th.sortable[data-sort-active="true"] {
    background-color: #f8f9fa;
}

.infinite-pipeline-table th.sortable:hover {
    background-color: #f8f9fa;
}