/* =====================================
   GP Complaint — shared styles
   Includes fix for the mobile bug where the
   native <input type="date"> renders blank:
   on some Android WebViews the date field's
   text color inherits transparent/white from
   a parent style; force a visible color and a
   sane min-height so the picker icon + value
   are both visible on small screens.
===================================== */
.gp-complaint-box input[type="date"] {
	color: #222 !important;
	-webkit-text-fill-color: #222;
	min-height: 44px;
	background: #fff;
}

.gp-complaint-box input[type="date"]::-webkit-datetime-edit,
.gp-complaint-box input[type="date"]::-webkit-datetime-edit-fields-wrapper {
	color: #222 !important;
}

@media (max-width: 480px) {
	.gp-complaint-box input[type="date"] {
		font-size: 15px;
		padding: 10px;
	}
}

/* iPhone / Safari: an empty <input type="date"> collapses and overflows the
   box. Reset the native look so it behaves like the other fields. */
.gp-complaint-box input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	line-height: 1.4;
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}
.gp-complaint-box input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
	min-height: 1.4em;
	margin: 0;
}
.gp-complaint-box input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 1;
}

