/* USDC Subscription Form */

.usdsc-container {
	max-width: 600px;
	margin: 40px auto;
	padding: 0 20px;
}

.usdsc-form-wrapper {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	padding: 40px;
}

.usdsc-form-wrapper h2 {
	margin: 0 0 10px 0;
	font-size: 28px;
	color: #333;
}

.usdsc-description {
	color: #666;
	margin: 0 0 30px 0;
	line-height: 1.6;
}

/* Plan Info */
.usdsc-plan-info {
	background: #f8f9fa;
	border-left: 4px solid #007bff;
	padding: 20px;
	margin-bottom: 30px;
	border-radius: 4px;
}

.plan-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 14px;
}

.plan-item:last-child {
	margin-bottom: 0;
}

.plan-item .label {
	font-weight: 600;
	color: #555;
}

.plan-item .value {
	color: #333;
}

/* Form */
.usdsc-form {
	display: flex;
	flex-direction: column;
}

.form-group {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
	color: #333;
}

.form-group input {
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s;
}

.form-group input:focus {
	outline: none;
	border-color: #007bff;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input::placeholder {
	color: #aaa;
}

.error {
	color: #dc3545;
	font-size: 12px;
	margin-top: 5px;
	display: none;
}

/* Form Rows */
.form-row {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
}

.form-row .col-6 {
    flex: 0 0 calc(50% - 7.5px);
}

/* 3-column layout: col-4 */
.form-row .col-4 {
    width: calc(33.333% - 10px);
}
/* Button */
.submit-btn {
	padding: 14px;
	background: #007bff;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s;
	margin-top: 20px;
}

.submit-btn:hover:not(:disabled) {
	background: #0056b3;
}

.submit-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Message */
.message {
	margin-top: 20px;
	padding: 15px;
	border-radius: 4px;
	display: none;
	font-size: 14px;
}

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

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

/* Responsive */
@media (max-width: 600px) {
	.usdsc-form-wrapper {
		padding: 25px;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.form-row .form-group {
		margin-bottom: 20px;
	}

	.form-row .form-group:last-child {
		margin-bottom: 0;
	}

	.col-6 {
		flex: 0 0 100%;
	}
}

/* Payment method selector */
.usdsc-payment-methods {
	display: flex;
	gap: 16px;
	margin-top: 8px;
}

.usdsc-payment-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: border-color 0.2s, background 0.2s;
}

.usdsc-payment-option:has(input:checked) {
	border-color: #007bff;
	background: #f0f6ff;
}

.usdsc-payment-option input[type="radio"] {
	accent-color: #007bff;
	width: 16px;
	height: 16px;
}

/* Check/cash notice box */
.usdsc-notice-box {
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-left: 4px solid #ffc107;
	border-radius: 4px;
	padding: 16px 20px;
	margin: 8px 0 16px;
}

.usdsc-notice-box p {
	margin: 0 0 8px;
}

.usdsc-notice-box p:last-child {
	margin-bottom: 0;
}