}
* {box-sizing: border-box;}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

/* Mandatory/error highlight */
.input-mandatory {
  border: 1px solid red !important;
}

.input-mandatoryX {
  border: 1px solid red !important;
  background-color: #ffecec; /* pale red hint */
}

/* Visual error highlight on missing required fields */
.input-mandatory.invalid {
  border: 2px solid red !important;
  box-shadow: 0 0 0 2px rgba(255,0,0,0.15);
}


input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

textarea.limited {
  resize: vertical;          /* user can stretch height only */
  max-height: 500px;         /* optional: stop it from going crazy tall */
}


/* Make the code field look readonly but still pretty */
#lpcode[readonly] {
	background: #f7f7f7;
	color: #333;
	cursor: default;
}

  .hidden { display: none; }

  /* Optional: visual hint when code is editable */
  #lpcode.editable {
    background: #fffbe6;
    border-color: #e0c200;
  }
  
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 100%;
}