/* Guess Weight — front-end form and admin results styling */

/* Front-end form */
.gw-wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 1rem;
}

.gw-title {
	margin: 0 0 1rem;
	text-align: center;
}

.gw-form .gw-field {
	display: flex;
	flex-direction: column;
	margin: 0 0 1rem;
}

.gw-form label {
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.gw-form input[type="text"],
.gw-form input[type="email"],
.gw-form input[type="tel"],
.gw-form input[type="number"] {
	width: 100%;
	padding: 0.7rem 0.75rem;
	font-size: 1rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	box-sizing: border-box;
}

.gw-form input:focus {
	outline: none;
	border-color: #2271b1;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
}

.gw-req {
	color: #d63638;
}

.gw-submit button {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.gw-submit button:hover {
	background: #135e96;
}

.gw-clear {
	text-align: center;
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
}

.gw-clear-link {
	color: #646970;
}

/* Honeypot — visually hidden but present in the DOM */
.gw-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Notices */
.gw-notice {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin: 0 0 1rem;
}

.gw-notice--success {
	background: #edfaef;
	border: 1px solid #46b450;
	color: #135e2b;
}

.gw-notice--error {
	background: #fcf0f1;
	border: 1px solid #d63638;
	color: #8a1f21;
}

/* Admin results */
.gw-admin .gw-total {
	font-size: 0.95rem;
}

.gw-admin .gw-results td,
.gw-admin .gw-results th {
	vertical-align: middle;
}
