.input, .textfield {
  font: 12pt "Lucida Grande", Lucida, Verdana, sans-serif;
  padding: 4px;
  border-radius: 5px;
  border: 1px solid #d0cdb4;
  display: inline-block; /* ✅ allows the input to sit inline */
  width: auto;           /* ✅ prevents full-width stretching */
  max-width: 100%;       /* still safe for responsive containers */
}

/* For full-width text inputs */
.wideinput {
    font: 12pt "Lucida Grande", Lucida, Verdana, sans-serif;
    padding: 4px;
    border-radius: 5px;
    border: 1px solid #d0cdb4;
    display: block;
    width: 100%;
    max-width: 100%;       /* still safe for responsive containers */
}

.old-textfield-wide {
    width: 100%;
	max-width:100%;
	font: 12pt "Lucida Grande", Lucida, Verdana, sans-serif;
	padding: 4px;
	border-radius: 5px;
	border: 1px solid #d0cdb4;
}

.noborder {
	border: none;
}

textarea {
	padding: 4px;
	font: 12pt "Lucida Grande", Lucida, Verdana, sans-serif;
	width: 100%;
	margin: 5px;
}

.noul {
	text-decoration: none;
}

.lightButn, .submit {
	padding: 7px 15px;
	margin-right: 2px;
	margin-left: 2px;
    background-color: #cae5ff;
    color: #29417b;
	font-size: 12pt;
  	border-radius: 5px;
	border-style: none;
	text-decoration: none;
    user-select: none;
	cursor: default;
}

.lightButn:hover, .submit:hover {
  filter: brightness(1.2) saturate(1.2);
}

button:disabled, button[disabled], .button:disabled:hover, button:disabled:hover {
    background: #aaa;
}

.darkButn {
	padding: 7px 15px;
	margin-right: 2px;
	margin-left: 2px;
	background-color: #29417b;
    color: #cae5ff;
	font-size: 12pt;
  	border-radius: 5px;
	border-style: none;
	text-decoration: none;
    user-select: none;
	cursor: default;
}
.darkButn:hover {
  filter: brightness(1.2) saturate(1.2);
}

/* use this WITH lightButn, e.g. class="lightButn editButn": */

.editButn {
	padding: 7px 15px 7px 25px;
	background: #cae5ff url(/img/minicons/edit.png) no-repeat 6px;
    user-select: none;
	cursor: default;
}

/* use this WITH lightButn, e.g. class="lightButn checkButn": */

.checkButn {
	padding: 7px 15px 7px 25px;
	background: #cae5ff url(/img/minicons/check.png) no-repeat 6px;
    cursor: default;
    user-select: none;
}

.bordered {
	border: 1px solid #29417b;
}

.warningButton {
	padding: 7px 15px;
	margin-right: 2px;
	margin-left: 2px;
    background-color: #eaba6a;
    color: #49351e;
	font-size: 12pt;
  	border-radius: 5px;
	border: 1px solid #eaba6a;
	text-decoration: none;
    user-select: none;
	cursor: default;
}

.warningButton:hover {
    border: 1px solid #29417b;
	background: #f76051;
}

/* use this WITH warningButn: class="warningButn deleteButn" */

.deleteButn {
	padding: 7px 15px 7px 25px;
	background: #eaba6a url(/img/minicons/trash.png) no-repeat 6px;
	user-select: none;
	cursor: default;
}

.deleteButn:hover {
	background: #f76051 url(/img/minicons/trash.png) no-repeat 6px;
}

a.numberCircle {
    font: 18px Arial bold, sans-serif;
    width: 2em;
    height: 2em;
    display:inline-block;
    padding: 4px;
    box-sizing: initial;
    background: #edeacc;
    text-align: center;
    border-radius: 50%;
    line-height: 2em;
    box-sizing: content-box;
	text-decoration: none;
}
a.numberCircle:hover {
	background: #b5a649;
	color:  #fff;
}

div.numberCircle {
    font: 18px Arial bold, sans-serif;
    width: 2em;
    height: 2em;
    padding: 4px;
    box-sizing: initial;
    background: #fff;
    border: 2px solid #666;
    color: #666;
    text-align: center;
    border-radius: 50%;
    line-height: 2em;
    box-sizing: content-box;   
}

select {
  font-size: 16px;
  border: 1px solid #CCC;
  height: 34px;
  appearance: none;
  background: #E6E8D6;
  padding-left: 10px;
  padding-right: 10px;
}

select::-ms-expand {
    display: none; /* Remove default arrow in Internet Explorer 10 and 11 */
}

/* Target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
    select {
        background: none\9;
        padding: 5px\9;
    }
}
