/* Proof of Delivery Shortcode Styles */
.afb-pod-container {
	max-width: 600px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.afb-pod-header {
	background: #111111;
	color: #ffffff;
	padding: 20px;
	text-align: center;
}

.afb-pod-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #ffffff;
}

.afb-pod-step {
	padding: 30px;
}

.afb-pod-input-group {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.afb-pod-container input[type="number"] {
	flex: 1;
	padding: 12px 16px;
	font-size: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s;
}

.afb-pod-container input[type="number"]:focus {
	border-color: #111111;
}

.afb-pod-btn, .afb-pod-btn-secondary, .afb-pod-btn-success {
	background: transparent;
	color: #000000;
	border: 1px solid #000000;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.3s, color 0.3s, transform 0.1s;
}

.afb-pod-btn:hover, .afb-pod-btn-secondary:hover, .afb-pod-btn-success:hover {
	background: #000000;
	color: #ffffff;
}

.afb-pod-btn:active, .afb-pod-btn-secondary:active, .afb-pod-btn-success:active {
	transform: scale(0.98);
}

.afb-pod-btn:disabled, .afb-pod-btn-secondary:disabled, .afb-pod-btn-success:disabled {
	background: transparent;
	color: #cccccc;
	border-color: #cccccc;
	cursor: not-allowed;
	transform: none;
}

.afb-pod-error {
	color: #ef4444;
	margin-top: 10px;
	font-size: 14px;
}

.afb-pod-order-info {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 15px;
}

.afb-pod-order-info p {
	margin: 0 0 5px 0;
}

.afb-pod-order-info p:last-child {
	margin-bottom: 0;
}

.afb-pod-signature-wrap {
	margin-bottom: 20px;
}

.afb-pod-signature-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.afb-pod-signature-wrap canvas {
	display: block;
	width: 100%;
	height: 250px;
	border: 2px dashed #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	cursor: crosshair;
	touch-action: none; /* Important for touch devices */
}

.afb-pod-signature-wrap .afb-pod-btn-secondary {
	margin-top: 10px;
}

.afb-pod-photo-wrap {
	margin-bottom: 25px;
}

.afb-pod-photo-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.afb-pod-photo-wrap input[type="file"] {
	display: block;
	width: 100%;
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #f8fafc;
}

.afb-pod-actions {
	display: flex;
	gap: 15px;
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
}

.afb-pod-actions .afb-pod-btn {
	flex: 1;
}

.afb-pod-success {
	text-align: center;
	padding: 20px 0;
}

.afb-pod-icon-success {
	color: #10b981;
	margin-bottom: 15px;
}

.afb-pod-success h3 {
	font-size: 24px;
	color: #111111;
	margin-bottom: 10px;
}

.afb-pod-success p {
	color: #64748b;
	margin-bottom: 25px;
}

@media (max-width: 600px) {
	.afb-pod-container {
		border-radius: 0;
		box-shadow: none;
	}
	.afb-pod-actions {
		flex-direction: column;
	}
	.afb-pod-btn-secondary {
		width: 100%;
	}
}
