
/* GCheck Contact Form WordPress Plugin Styles */
.gcheck-contact-container {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
	padding: 40px;
	width: 100%;
	max-width: 480px;
	margin: 20px auto;
	position: relative;
	overflow: hidden;
	font-family: "Poppins", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: #333;
}

.gcheck-contact-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.gcheck-contact-header {
	text-align: center;
	margin-bottom: 40px;
}

.gcheck-contact-header h1 {
	color: #1e293b;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
	margin-top: 0;
}

.gcheck-contact-header p {
	color: #64748b;
	font-size: 16px;
	font-weight: 400;
	margin: 0;
}

.gcheck-form-group {
	margin-bottom: 12px;
	position: relative;
}

.gcheck-form-group label {
	display: block;
	margin-bottom: 5px;
	color: #374151;
	font-weight: 500;
	font-size: 16px;
}

.gcheck-form-group input, .gcheck-form-group select, .gcheck-form-group textarea {
	width: 100%;
	padding: 10px;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	font-size: 16px;
	transition: all .3s ease;
	background: #fafafa;
	box-sizing: border-box;
}

.gcheck-form-group input:focus, .gcheck-form-group select:focus, .gcheck-form-group textarea:focus {
	outline: none;
	border-color: #2563eb;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.gcheck-form-group input.error {
	border-color: #ef4444;
	background: #fef2f2;
}

.gcheck-form-group input.error:focus {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.gcheck-error-message {
	color: #ef4444;
	font-size: .875rem;
	margin-top: 6px;
	display: none;
	font-weight: 500;
}

.gcheck-error-message.show {
	display: block;
}

/* Honeypot: hide from real users; bots still see and fill it in the DOM */
.gcheck-honeypot-wrap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	margin: 0;
	padding: 0;
}

.gcheck-form-group select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'none\' viewBox=\'0 0 20 20\'%3e%3cpath stroke=\'%236b7280\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'1.5\' d=\'m6 8 4 4 4-4\'/%3e%3c/svg%3e");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px;
	padding-right: 48px;
}

.gcheck-form-group select.nitro-lazy {
	background-image: none !important;
}

.gcheck-dispute-container .gcheck-form-group:has(#gcheck-message), .gcheck-dispute-container .gcheck-form-group:has(textarea) {
	width: 100% !important;
}

.gcheck-disclaimer {
	padding: 0;
	margin: 15px 0;
	font-size: 13px;
	color: #475569;
	line-height: 1.5;
}

.gcheck-submit-btn {
	width: 100%;
	background: #4f51fd;
	transition: all 1s ease 0s;
	color: #fff;
	border: none;
	padding: 12px 32px;
	border-radius: 30px;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gcheck-submit-btn:hover:not(:disabled) {
	background: #3fc5fd;
	box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}

/* Loading state for submit button */
.gcheck-submit-btn.loading-state {
	background-color: #6c757d !important;
	border-color: #6c757d !important;
	color: white !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	opacity: .8 !important;
}

.gcheck-submit-btn.loading-state:hover {
	background-color: #6c757d !important;
	border-color: #6c757d !important;
	cursor: not-allowed !important;
}

/* Success state for submitted button */
.gcheck-submit-btn.submitted-success {
	background-color: #28a745 !important;
	border-color: #28a745 !important;
	color: white !important;
	cursor: default !important;
	pointer-events: none !important;
}

.gcheck-submit-btn.submitted-success:hover {
	background-color: #28a745 !important;
	border-color: #28a745 !important;
	cursor: default !important;
}

/* Ensure spinner is properly styled */
.gcheck-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s ease-in-out infinite;
	margin-right: 8px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.gcheck-message {
	padding-top: 16px;
	border-radius: 8px;
	font-weight: 500;
	display: none;
}

.gcheck-message.success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.gcheck-message.error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #dc2626;
}

.gcheck-message.show {
	display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.gcheck-contact-container {
		padding: 24px;
		margin: 10px;
		border-radius: 12px;
	}
	
	.gcheck-contact-header h1 {
		font-size: 2rem;
	}
	
	.gcheck-contact-header p {
		font-size: 1rem;
	}
	
	.gcheck-form-group input, .gcheck-form-group select {
		padding: 14px;
	}
	
	.gcheck-submit-btn {
		padding: 16px 24px;
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.gcheck-contact-container {
		padding: 20px;
		margin: 10px 5px;
	}
	
	.gcheck-contact-header h1 {
		font-size: 1.75rem;
	}
}
