.bb-wrap {
    max-width: 1200px;
}
.bb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.bb-section {
    background: #fff;
    border: 1px solid #ccd0d4;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.bb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bb-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.bb-table th, .bb-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.bb-table th {
    background-color: #f1f1f1;
}
.bb-input-sm {
    width: 80px;
}
.bb-danger {
    border-color: #dc3232;
}
.bb-form-group {
    margin-bottom: 15px;
}
.bb-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.bb-grid-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: end;
}
.bb-grid-form .span-2 {
    grid-column: span 2;
}
.bb-satis-row {
    background: #fdfdfd;
    border: 1px solid #e5e5e5;
    padding: 15px;
    margin-top: 15px;
    border-left: 4px solid #0073aa;
}
.bb-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.bb-row-header h4 {
    margin: 0;
}
.bb-btn-remove {
    color: #dc3232;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: underline;
}
.bb-btn-remove:hover {
    color: #a00;
}
.bb-form-actions {
    margin-top: 30px;
}

/* Tabs */
.bb-tabs {
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    background: #fff;
    padding: 10px 10px 0 10px;
}
.bb-tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    margin-right: -1px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}
.bb-tab-btn:hover {
    background: #f1f1f1;
}
.bb-tab-btn.active {
    background: #fdfdfd;
    border: 1px solid #ccc;
    border-bottom: 2px solid #fdfdfd;
    font-weight: 600;
    color: #E8820C;
    margin-bottom: -2px;
}

/* Dashboard Grids */
.bb-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.bb-card.stat-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    border-radius: 4px;
    text-align: center;
}
.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-top: 10px;
    color: #1A1A1A;
}
.text-danger {
    color: #C62828 !important;
}
.bb-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.bb-chart-container {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    border-radius: 4px;
    position: relative;
    height: 350px;
}
