body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f9fafb;
}

/* Status Color Variables */
:root {
    --cbc-color-status-approved: #34D399;
    --cbc-color-status-denied: #F87171;
    --cbc-color-status-pending: #f7d043;
    --cbc-color-status-failed: #f8991d;
    --cbc-color-status-incomplete: #9CA3AF;
}

/* Dashboard Tab Styles */
.status-tab {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.status-tab:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.status-tab.active {
    background-color: #fff;
    border-color: #9ca3af;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-weight: 600;
}

/* Status Indicator Classes */
.status-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    color: white;
}

.status-approved {
    background-color: var(--cbc-color-status-approved);
}

.status-declined {
    background-color: var(--cbc-color-status-denied);
}

.status-pending {
    background-color: var(--cbc-color-status-pending);
}

.status-failed {
    background-color: var(--cbc-color-status-failed);
}

.status-incomplete {
    background-color: var(--cbc-color-status-incomplete);
}

/* Status Explanations Styles */
.status-explanation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    color: white;
}

/* Export Button */
.btn-export {
    display: inline-flex;
    align-items: center;
    background-color: #f3f4f6;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-export:hover {
    background-color: #e5e7eb;
    color: #1d4ed8;
}

.btn-export i {
    margin-right: 0.375rem;
}

/* Sorting Icons */
.sort-header {
    cursor: pointer;
    white-space: nowrap;
}

.sort-header:hover {
    color: #2563eb;
}

.sort-icon {
    margin-left: 0.375rem;
    font-size: 0.875rem;
    color: #4b5563;
}

/* Per Page Select */
.per-page-select {
    font-size: 0.875rem;
    padding: 0.25rem 2rem 0.25rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #374151;
}

/* Export Modal Specifics */
#export-modal .modal-content {
    border-radius: 0.75rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#export-modal .modal-header {
    background-color: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 1.25rem 1.5rem;
}

#export-modal .modal-body {
    padding: 1.5rem;
    text-align: center;
}

.export-options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.export-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #f9fafb;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.export-link:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.export-link i {
    margin-right: 0.75rem;
    color: #9ca3af;
}

.export-link:hover i {
    color: #2563eb;
}

.auth-container {
    max-width: 32rem;
    margin: 2rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    max-width: 16rem;
    height: auto;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.form-footer a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.errorlist {
    margin-top: 0.5rem;
    color: #dc2626;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.btn-orange {
    background: #FF9800;
    color: white;
}

.btn-orange:hover {
    background: #e67c00;
}

/* Input Fields Styling */
.input__elem {
    padding: 0 12px;
    line-height: 50px;
    height: 50px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #ced3e2;
    transition: all 100ms linear;
}

.input__elem:hover {
    border-color: #209FF3;
}

.input__elem:focus {
    border-color: #2080F3;
    outline: none;
}

.hide {
    display: none;
}

.input__error {
    color: #F95356;
    padding-left: 12px;
    margin-top: 5px;
    font-size: 0.9em;
}

.o-input {
    position: relative;
    background-color: transparent;
    box-sizing: border-box;
    text-align: left;
}

.input__elem.border-red-500 {
    border-color: #F95356 !important;
}

/* Button Styling */
.o-button {
    color: #fff;
    background-color: #2080F3;
    border: 1px solid transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    text-align: center;
    margin: 0;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: all 200ms linear;
    box-sizing: border-box;
    padding: 12px 24px;
    border-radius: 27px;
}

@media only screen and (min-width: 45em) and (max-width: 74.999em) {

    .o-button--borderinverse,
    .o-button--border,
    .o-button {
        min-height: 54px;
        padding: 0 24px;
        border-radius: 27px;
    }
}

.o-button--full {
    width: 100% !important;
}

.o-button:disabled,
.o-button[disabled] {
    background-color: #9CA3AF !important;
    /* Gray-400 equivalent */
    color: #F3F4F6 !important;
    /* Gray-100 equivalent */
    cursor: not-allowed !important;
    border-color: transparent !important;
}

.o-button:hover:not(:disabled) {
    background-color: #1a6ac9;
    color: #fff;
}

/* File Input Styling */
.input__elem[type="file"] {
    padding: 0 6px;
    line-height: inherit;
    display: flex;
    align-items: center;
}

.input__elem[type="file"]::file-selector-button {
    background-color: #1f2937;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 38px;
    font-size: 0.875rem;
    font-weight: 500;
}

.input__elem[type="file"]::file-selector-button:hover {
    background-color: #374151;
}

.input__elem[type="file"]::-webkit-file-upload-button {
    background-color: #1f2937;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 38px;
    font-size: 0.875rem;
    font-weight: 500;
}

.input__elem[type="file"]::-webkit-file-upload-button:hover {
    background-color: #374151;
}