#rbi-firms-portal * { box-sizing: border-box; margin: 0; padding: 0; font-family: Arial, sans-serif; }

.rfi-main {
    background: #fff;
    padding: 20px;
    border: 1px solid #dde3ed;
    border-radius: 4px;
}

.rfi-section-title {
    font-size: 15px;
    font-weight: bold;
    color: #1a3c6e;
    border-bottom: 2px solid #1a3c6e;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

/* Form */
.rfi-form-row {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.rfi-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rfi-field label {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}
.rfi-field select,
.rfi-field input[type="text"],
.rfi-field input[type="date"] {
    border: 1px solid #aaa;
    padding: 6px 8px;
    font-size: 12px;
    background: #fff;
    min-width: 150px;
    border-radius: 3px;
}
.rfi-field select { min-width: 190px; }

.rfi-btn-submit {
    background: #1a3c6e;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}
.rfi-btn-submit:hover { background: #2a5298; }
.rfi-btn-submit:disabled { background: #aaa; cursor: not-allowed; }

/* Results table */
.rfi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 700px;
}
.rfi-table th {
    background: #1a3c6e;
    color: #fff;
    padding: 9px 11px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
}
.rfi-table td {
    padding: 8px 11px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}
.rfi-table tr:nth-child(even) { background: #f5f8ff; }
.rfi-table tr:hover { background: #e8f0fe; }

/* Status badges */
.rfi-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}
.rfi-badge-pending  { background: #fff3cd; color: #856404; }
.rfi-badge-approved { background: #d4edda; color: #155724; }
.rfi-badge-rejected { background: #f8d7da; color: #721c24; }

/* No results */
.rfi-no-results {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    border-radius: 3px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .rfi-form-row { flex-direction: column; }
    .rfi-field select,
    .rfi-field input { width: 100%; }
}
