#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.formset-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.transaction-form > .form-header {
    display: flex;
    gap: 5px;
    align-items: center;
}

.form-number {
    font-weight: bold;
    min-width: 30px;
    text-align: left;
}

.form-inline {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border: 1px solid #ccc;
    padding: 10px;
    flex-wrap: wrap;
}

.form-errors p {
    color: red;
}

.readonly-subfield {
    margin-top: 5px;
}

.form-field {
    display: flex;
    flex-direction: column;
}
