body {
    font-size: 14px;
    background-color: #fafafa;
}

h1 {
    font-size: 1.8rem;
    color: #333;
}

.user-status {
    font-size: 1rem;
    color: #666;
}

.metric-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    text-align: center;
}

.metric-card label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.metric-card span {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.table-responsive {
    max-height: calc(100vh - 500px);
    overflow-y: auto;
}

.table-responsive.no-scroll {
    max-height: none;
    overflow-y: visible;
}

.table {
    background: #fff;
}

.table thead th {
    position: sticky;
    top: 0;
    background: #343a40;
    color: #fff;
    z-index: 10;
    white-space: nowrap;
}

.table td, .table th {
    text-align: center;
    vertical-align: middle;
}

.table input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 5px;
    text-align: center;
}

.table input:focus {
    border-color: #007bff;
    outline: none;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background: #f8f9fa;
    font-weight: bold;
}

.nav-tabs .nav-link {
    font-size: 0.9rem;
    padding: 5px 10px;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    font-weight: bold;
}

.btn {
    font-size: 0.9rem;
}

.form-label {
    font-size: 0.85rem;
    color: #666;
}

.alert {
    font-size: 0.9rem;
}

.toast {
    background: #fff;
}

.toast-header {
    background: #f8f9fa;
}

.modal-header {
    background: #f8f9fa;
}

.text-muted {
    font-size: 1rem;
}

.badge {
    font-size: 0.8rem;
}

.text-purple {
    color: #8B5CF6;
}

.delete-btn {
    padding: 2px 8px;
    font-size: 0.8rem;
}

input[type="number"] {
    text-align: right;
}

.snap-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: green;
}

.summary-value {
    font-size: 1.4rem;
    font-weight: bold;
    color:red;
}