/* Popup styles for the IDR Email Capture plugin */

.popup-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	max-width: 400px;
	width: 90%;
	position: relative;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.popup-content h2 {
	margin-top: 0;
	color: #333;
}

.popup-content p{
	color: #333;
}
.popup-content input[type="email"] {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.popup-content input[type="email"]:disabled,
.popup-content button[type="submit"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.popup-content button[type="submit"] {
	background-color: #73c1b9;
	color: #000;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	border: 1px solid #73c1b9;
	transition: all 0.3s ease-in-out;
}
.popup-content button[type="submit"]:hover {
	background-color: #73c1b9e3
}
.close-popup {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #666;
}

.popup-header {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.popup-body {
	margin-bottom: 15px;
}

.popup-footer {
	text-align: right;
}

.popup-button {
	background-color: #0073aa;
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
}

.popup-button:hover {
	background-color: #005177;
}

.popup-close {
	background-color: transparent;
	border: none;
	color: #999;
	cursor: pointer;
}

.popup-close:hover {
	color: #333;
}

.popup-message {
	display: none;
	padding: 10px;
	margin-bottom: 15px;
	border-radius: 4px;
	text-align: center;
}

.popup-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.popup-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Add animation keyframes */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
	.popup-content {
		width: 95%;
		padding: 20px;
	}

	.popup-content h2 {
		font-size: 18px;
	}
}

#email-capture-form {
	transition: opacity 0.3s ease-in-out;
}