/* Crypto Invoice Gateway – Frontend styles */

.cig-form-wrapper {
	max-width: 560px;
	margin: 0 auto 2rem;
	padding: 2rem;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.cig-form-title {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: #1a365d;
	text-align: center;
}

.cig-form .cig-field {
	margin-bottom: 1.25rem;
}

.cig-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
	color: #374151;
	font-size: 0.95rem;
}

.cig-form .required {
	color: #dc2626;
}

.cig-form input[type="text"],
.cig-form input[type="email"],
.cig-form input[type="number"],
.cig-form input[type="file"],
.cig-form select,
.cig-form textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.15s ease;
	box-sizing: border-box;
}

.cig-form input:focus,
.cig-form select:focus,
.cig-form textarea:focus {
	outline: none;
	border-color: #1a365d;
	box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.15);
}

.cig-form input[readonly] {
	background: #f3f4f6;
	color: #111827;
	cursor: not-allowed;
	font-weight: 600;
}

.cig-help {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: #6b7280;
}

.cig-btn {
	display: inline-block;
	width: 100%;
	padding: 0.85rem 1.5rem;
	background: #1a365d;
	color: #ffffff !important;
	border: none;
	border-radius: 8px;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
	text-align: center;
}

.cig-btn:hover {
	background: #2c5282;
}

.cig-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.cig-message {
	margin-top: 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	font-size: 0.95rem;
}

.cig-message.error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.cig-message.success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

/* Payment confirmation area */
.cig-payment-area {
	margin-top: 1.5rem;
	padding: 1.5rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-align: center;
}

.cig-payment-area h3 {
	margin: 0 0 1rem;
	color: #1a365d;
}

.cig-qr {
	margin: 1rem auto;
	max-width: 200px;
}

.cig-qr img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.cig-pay-details {
	margin: 1rem 0;
	font-size: 0.95rem;
	word-break: break-all;
}

.cig-pay-details strong {
	display: block;
	margin-bottom: 0.25rem;
	color: #374151;
}

.cig-address {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	background: #fff;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	font-size: 0.9rem;
}
