/* 2.1 Global font & sizing */
body, .x-panel, .x-grid3, .x-btn {
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 14px !important;
}

/* 2.2 Flat, Material-style buttons */
.x-btn {
  background-image: none !important;
  background-color: #1976d2 !important;    /* primary blue */
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  padding: 6px 16px !important;
  transition: background-color .2s ease;
}
.x-btn-over, .x-btn:hover {
  background-color: #1565c0 !important;    /* darker on hover */
}

/* 2.3 Panels & headers */
.x-panel-header {
  background-color: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: none !important;
}
.x-panel-header-text, .x-panel-title {
  font-weight: 500 !important;
  color: #212121 !important;
}

/* 2.4 Toolbars */
.x-toolbar {
  background: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: none !important;
}

/* 2.5 Grids */
.x-grid3 {
  border: none !important;
}
.x-grid3-header {
  background: #fafafa !important;
  border-bottom: 1px solid #e0e0e0 !important;
}
.x-grid3-row, .x-grid3-row-alt {
  border-bottom: 1px solid #e0e0e0 !important;
}
.x-grid3-row-alt {
  background: #fafafa !important;
}

/* 2.6 Form fields */
.x-form-field {
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
}

/* 2.7 Tabs */
.x-tab-strip-top .x-tab-strip-inner ul li a {
  background: #f5f5f5 !important;
  border-radius: 4px 4px 0 0 !important;
  margin: 0 2px;
  color: #424242 !important;
}
.x-tab-strip-top .x-tab-strip-inner ul li.x-tab-active a {
  background: #fff !important;
  border: none !important;
  border-bottom: 2px solid #1976d2 !important;
  color: #1976d2 !important;
}

/* 2.8 Menus */
.x-menu {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}
.x-menu-item {
  padding: 8px 16px !important;
}

/* 2.9 Optional CSS variables */
:root {
  --primary-color: #1976d2;
  --primary-dark:   #1565c0;
  --text-color:     #212121;
  --border-color:   #e0e0e0;
}

