/**
 * ProInstaller Subscription Form Styles
 */

.pis-subscription-wrapper {
	max-width: 560px;
	margin: 0 auto;
	padding: 2rem 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #333333;
	line-height: 1.5;
}

.pis-subscription-messages {
	margin-top: 1.25rem;
	text-align: center;
}

.pis-subscription-messages:empty {
	display: none;
	margin-top: 0;
}

.pis-message {
	font-size: 0.95rem;
	line-height: 1.5;
}

.pis-message--success {
	color: #008000;
	font-weight: 700;
	background: none;
	border: none;
	padding: 0;
}

.pis-message--error {
	color: #cc0000;
	font-weight: 600;
	background: none;
	border: none;
	padding: 0;
}

.pis-subscription-form {
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 2rem 2.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pis-form-title {
	margin: 0 0 1.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: #222222;
	text-align: left;
	line-height: 1.3;
}

.pis-form-group {
	margin-bottom: 0.75rem;
}

.pis-form-group select,
.pis-form-group input[type="text"],
.pis-form-group input[type="email"] {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid #cccccc;
	border-radius: 4px;
	font-size: 0.95rem;
	color: #333333;
	background: #ffffff;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease;
}

.pis-form-group select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	background-size: 10px;
	padding-right: 2rem;
	cursor: pointer;
	color: #666666;
}

.pis-form-group select:valid,
.pis-form-group select.has-value {
	color: #333333;
}

.pis-form-group input::placeholder {
	color: #999999;
}

.pis-form-group select:focus,
.pis-form-group input:focus {
	outline: none;
	border-color: #999999;
}

.pis-form-group select.pis-input-error,
.pis-form-group input.pis-input-error {
	border-color: #cc0000;
}

.pis-field-error {
	display: block;
	color: #cc0000;
	font-size: 0.75rem;
	margin-top: 0.25rem;
}

.pis-field-error:empty {
	display: none;
}

.pis-invoice-notice {
	margin: 1.25rem 0 1rem;
}

.pis-invoice-notice p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: #222222;
	line-height: 1.5;
}

.pis-form-actions {
	margin-top: 0;
}

.pis-submit-btn {
	display: block;
	width: 100%;
	background: #e31e24;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 0.85rem 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease;
	text-align: center;
}

.pis-submit-btn:hover:not(:disabled) {
	background: #c4191f;
}

.pis-submit-btn:disabled {
	background: #cccccc;
	cursor: not-allowed;
}

.pis-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pis-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.pis-subscription-menu-item a {
	font-weight: 600;
}

@media screen and (max-width: 600px) {
	.pis-subscription-wrapper {
		padding: 1rem 0.75rem;
	}

	.pis-subscription-form {
		padding: 1.5rem 1.25rem;
	}

	.pis-form-title {
		font-size: 1.1rem;
	}
}
