/* Renacer Base Precios */
.rbp-shell, .rbp-admin-wrap .rbp-shell {
    max-width: 1180px;
    margin: 22px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #121212;
}
.rbp-hero {
    background: linear-gradient(135deg, #111827, #b91c1c);
    color: #fff;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.rbp-hero h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.1; }
.rbp-hero p { margin: 0; opacity: .9; }
.rbp-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 22px;
    margin: 18px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.rbp-card h2 { margin-top: 0; }
.rbp-muted { color: #666; }
.rbp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.rbp-full { grid-column: 1 / -1; }
.rbp-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
}
.rbp-form input,
.rbp-form select,
.rbp-form textarea,
.rbp-search input {
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 12px 13px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}
.rbp-form input:focus,
.rbp-form select:focus,
.rbp-form textarea:focus,
.rbp-search input:focus {
    outline: none;
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185,28,28,.12);
}
.rbp-suggestion-text {
    color: #b91c1c;
    font-weight: 600;
}
.rbp-search {
    display: flex;
    gap: 10px;
    margin: 18px 0;
}
.rbp-search input {
    flex: 1;
}
.rbp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 800;
    text-decoration: none !important;
    background: #f3f4f6;
    color: #111827 !important;
    cursor: pointer;
    white-space: nowrap;
}
.rbp-btn-primary {
    background: #b91c1c;
    color: #fff !important;
}
.rbp-btn-danger {
    background: #fee2e2;
    color: #991b1b !important;
    padding: 8px 12px;
}
.rbp-table-wrap {
    overflow-x: auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.rbp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}
.rbp-table th {
    background: #111827;
    color: #fff;
    text-align: left;
    padding: 13px;
    font-size: 13px;
}
.rbp-table td {
    border-bottom: 1px solid #eee;
    padding: 12px 13px;
    vertical-align: top;
    font-size: 14px;
}
.rbp-table tr:hover td {
    background: #fafafa;
}
.rbp-badge {
    display: inline-flex;
    margin-top: 4px;
    background: #f3f4f6;
    color: #374151;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
}
.rbp-history-row td {
    background: #fbfbfb;
}
.rbp-history-list {
    display: grid;
    gap: 7px;
    padding-top: 8px;
}
.rbp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.rbp-inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 10px;
    border-radius: 14px;
}
.rbp-alert {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    margin: 12px 0;
}
.rbp-success {
    background: #dcfce7;
    color: #166534;
}
.rbp-error {
    background: #fee2e2;
    color: #991b1b;
}
.rbp-checkbox {
    flex-direction: row !important;
    align-items: center;
}
@media (max-width: 800px) {
    .rbp-grid {
        grid-template-columns: 1fr;
    }
    .rbp-search {
        flex-direction: column;
    }
    .rbp-hero h1 {
        font-size: 24px;
    }
}
