/*
 * BeeSpoke Payments - Frontend Checkout Stylesheet
 */

.beespoke-checkout-container {
	font-family: 'Inter', sans-serif;
	max-width: 500px;
	margin: 20px auto;
	padding: 30px;
	background: #FFFFFF;
	color: #333333;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.beespoke-checkout-header {
	text-align: center;
	border-bottom: 2px solid #2F3A46;
	padding-bottom: 15px;
	margin-bottom: 25px;
}

.beespoke-checkout-header h2 {
	margin: 0;
	font-size: 22px;
	color: #2F3A46;
}

.beespoke-price {
	font-size: 24px;
	font-weight: 700;
	color: #E6A303; /* Gold */
	margin-top: 10px;
}

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

.beespoke-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
}

.beespoke-form-group input[type="text"],
.beespoke-form-group input[type="email"],
.beespoke-form-group input[type="file"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #868686;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 14px;
}

.beespoke-form-group input[type="file"] {
	background: #F8FAFC;
	cursor: pointer;
}

.beespoke-radio-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.beespoke-radio-label {
	display: flex;
	align-items: flex-start;
	padding: 12px;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.beespoke-radio-label:hover {
	border-color: #FBC014;
	background: rgba(251, 192, 20, 0.05);
}

.beespoke-radio-label input {
	margin-top: 4px;
	margin-right: 12px;
}

.beespoke-radio-text strong {
	display: block;
	font-size: 14px;
	color: #2F3A46;
}

.beespoke-radio-text small {
	display: block;
	font-size: 12px;
	color: #868686;
}

.beespoke-submit-btn {
	width: 100%;
	background: #FBC014; /* Yellow */
	color: #2F3A46;
	border: none;
	padding: 14px;
	border-radius: 5px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.beespoke-submit-btn:hover {
	background: #E6A303; /* Gold */
}

.beespoke-error-message {
	background: #FEE2E2;
	color: #991B1B;
	padding: 10px;
	border-radius: 4px;
	font-size: 13px;
	margin-top: 15px;
	text-align: center;
}

/* Inline VietQR Screen */
.beespoke-qr-container,
.beespoke-manual-container {
	text-align: center;
	padding: 20px 0;
}

.beespoke-qr-header h3 {
	margin: 0 0 5px 0;
	font-size: 18px;
	color: #2F3A46;
}

.beespoke-qr-header p {
	margin: 0;
	font-size: 13px;
	color: #868686;
	line-height: 1.4;
}

.beespoke-qr-image-wrapper {
	margin: 25px auto;
	position: relative;
	width: 220px;
	background: #ffffff;
	padding: 10px;
	border: 2px solid #E2E8F0;
	border-radius: 8px;
}

.beespoke-qr-image,
.beespoke-static-qr-image {
	width: 100%;
	display: block;
}

.beespoke-qr-timer {
	margin-top: 15px;
	font-size: 14px;
	font-weight: 600;
	color: #333333;
}

.beespoke-countdown {
	color: #dc3545;
	font-weight: 700;
}

.beespoke-qr-footer {
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.beespoke-qr-footer p {
	margin: 0;
	font-size: 13px;
	color: #868686;
}

/* Manual Transfer Details Card */
.beespoke-bank-details-card {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
	padding: 18px;
	text-align: left;
	margin: 20px 0;
}

.beespoke-bank-details-card p {
	margin: 8px 0;
	font-size: 14px;
	color: #333333;
	display: flex;
	justify-content: space-between;
}

.beespoke-bank-details-card p strong {
	color: #2F3A46;
}

.beespoke-bank-details-card p span.ref-code {
	background: #FEF3C7;
	color: #92400E;
	padding: 2px 6px;
	font-weight: 700;
	border-radius: 3px;
	font-family: monospace;
	font-size: 15px;
}

/* Success Screen */
.beespoke-success-container {
	text-align: center;
	padding: 30px 10px;
}

.beespoke-success-icon {
	width: 60px;
	height: 60px;
	line-height: 60px;
	border-radius: 50%;
	background: #D1FAE5;
	color: #065F46;
	font-size: 32px;
	margin: 0 auto 20px auto;
}

.beespoke-success-container h3 {
	margin: 0 0 10px 0;
	color: #2f3a46;
	font-size: 20px;
}

.beespoke-success-container p {
	color: #868686;
	margin: 0;
	line-height: 1.4;
}

/* Spinner */
.beespoke-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #E2E8F0;
	border-top: 3px solid #FBC014;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
