/* Zip Service Checker - modal styles. All rules are scoped with a zsc- prefix
   to reduce the chance of colliding with existing theme/Bootstrap styles. */

.zsc-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.zsc-overlay.zsc-visible {
	opacity: 1;
}

.zsc-modal {
	position: relative;
	background: #fff;
	border-radius: 8px;
	max-width: 420px;
	width: 90%;
	padding: 32px 28px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	font-family: inherit;
}

.zsc-modal h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.3rem;
}

.zsc-modal p {
	margin-bottom: 16px;
	color: #444;
}

.zsc-modal .form-control {
	margin-bottom: 12px;
}

.zsc-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.zsc-close:hover {
	color: #000;
}

.zsc-btn {
	width: 100%;
}

.zsc-error {
	color: #c0392b;
	font-size: 0.9rem;
	margin-bottom: 10px;
	min-height: 1em;
}

.zsc-step {
	text-align: left;
}

/*
 * Default styling for the shortcode's trigger link, so it looks like a
 * real button out of the box with zero setup. If a "class" attribute is
 * passed to the shortcode (e.g. class="btn btn-primary"), this class won't
 * be present and these rules simply won't apply -- no override needed.
 */
.zsc-trigger-link {
	display: inline-block;
	background-color: #2271b1;
	color: #fff;
	padding: 10px 22px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.4;
	border: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.zsc-trigger-link:hover,
.zsc-trigger-link:focus {
	background-color: #135e96;
	color: #fff;
	text-decoration: none;
}
