/* Style the entire Dataverse form container */
.crmEntityFormView {
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* Style labels inside the form */
.crmEntityFormView label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

/* Style input fields */
.crmEntityFormView input[type="text"],
.crmEntityFormView textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 14px;
}

/* Style the submit button */
.crmEntityFormView input[type="submit"] {
    background-color: #0078d4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.crmEntityFormView input[type="submit"]:hover {
    background-color: #005a9e;
}
/* Locked fields – clear “disabled” look but still posts values (readonly) */
.pp-locked {
  background-color: #f3f4f6 !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* prevent focus glow */
.pp-locked:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* grey the whole cell area */
.pp-locked-td {
  background: #fafafa !important;
}

/* badge */
.pp-locked-badge {
  margin: 6px 0 10px;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  border-radius: 6px;
  font-size: 12px;
}
