form,
input,
select,
textarea,
button {
  font-size: 12px;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0px; /* You can adjust this if needed */
}

/* Specific control styles */
.control input,
.control select,
.control textarea,
.control button {
  font-size: 12px;
}

.aspNetDisabled.form-control.picklist  {
  padding: 8px !important;  /* Adjust the value as needed */
  
  color: #000000;
}

.text.form-control {
  padding: 8px !important;  /* Adjust the value as needed */
  color: #000000;
}

.text-muted {
  padding: 8px !important;  /* Adjust the value as needed */
  color: #000000;
}

/* Section title styling */
.section-title {
  background-color: #305ee6 !important;
  color: #ffffff !important;
  border-radius: 0;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 5px !important;
}

/* Section title heading */
.section-title h3 {
  color: white !important;
  height: 30px;
}

/* Section title heading */
h2 {
  color: white !important;
  height: 30px;
   background-color: rgba(0,0,0,0.30);
  padding: 5px
}


/* Unified input styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 8px !important;
  font-size: 12px;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
}




/* Info block spacing */
.info {
  padding-block-start: 2px;
}

/* Description styling */
.description.above {
  font-size: 9px;
  font-style: oblique;
  padding: 5px;
}

/* Tab layout */
.tab.clearfix {
  display: flex;
  gap: 5px;
}

/* Tab column styling */
.tab-column {
  background-color: #f2f2f2;
  color: #232222;
  border: 2px solid #ddd;
  padding: 3px !important;
}

/* Container styling */
.entity-grid {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px;
  background-color: #f0f0f0;
  box-shadow: 0 5px 6px rgba(0,0,0,0.05);
  overflow-x: auto;
}

/* Table styling */
.entity-grid table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  font-size: 12px;
}

/* Target sub-grid headers more specifically */
.entitylist .table thead > tr > th,
.entity-grid .table thead > tr > th {
  background-color: #305ee6 !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px;
  border-bottom: 2px solid #005a9e;
}

.entitylist .table thead th a,
.entity-grid .table thead th a {
  color: #ffffff !important;
  background-color: transparent !important; /* or match your header bg */
  font-weight: bold;
  text-decoration: none;
}

/* Row styling */
.entity-grid td {
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}


/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .entity-grid table,
  .entity-grid thead,
  .entity-grid tbody,
  .entity-grid th,
  .entity-grid td,
  .entity-grid tr {
    display: block;
  }

  .entity-grid td {
    padding: 10px;
    border: none;
    position: relative;
    padding-left: 50%;
  }

  .entity-grid td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    color: #333;
  }
}
.msos-viewmode-container {
  padding: 8px;
  font-size: 12px;
  font-family: 'Segoe UI', sans-serif;
  color: #000;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #ccc;
}