.acx-packages-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.acx-packages-all .acx-packages-list {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 16px;
}

@media ( max-width: 900px ) {
	.acx-packages-all .acx-packages-list {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 600px ) {
	.acx-packages-all .acx-packages-list {
		grid-template-columns: 1fr;
	}
}

.acx-package-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 16px;
	min-width: 220px;
	flex: 1 1 220px;
	box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.08 );
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.acx-package-card:hover {
	box-shadow: 0 6px 16px rgba( 0, 0, 0, 0.12 );
	transform: translateY( -2px );
}

.acx-package-card h4 {
	margin: 0 0 8px;
}

.acx-package-instructor {
	color: #646970;
	font-size: 13px;
	margin: 0 0 8px;
}

.acx-package-meta {
	font-size: 18px;
	font-weight: 700;
	margin: 4px 0;
}

.acx-package-validity {
	color: #646970;
	font-size: 13px;
	margin: 0 0 12px;
}

.acx-packages-guest-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.acx-packages-guest-modal:not( [hidden] ) {
	display: flex;
}

.acx-packages-guest-modal[hidden] {
	display: none;
}

.acx-packages-guest-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba( 0, 0, 0, 0.5 );
}

.acx-packages-guest-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	width: 100%;
	max-width: 400px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, 0.2 );
}

.acx-packages-guest-modal-dialog h4 {
	margin: 0 0 16px;
}

.acx-packages-guest-modal-dialog input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.acx-packages-guest-modal-dialog .acx-submit-button {
	width: 100%;
	margin-top: 8px;
}

.acx-packages-guest-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #646970;
	padding: 4px;
}

.acx-packages-guest-modal-error {
	color: #8a1f1f;
	font-weight: 600;
	margin: 8px 0 0;
}

.acx-form-message {
	margin-top: 16px;
}

.acx-form-message-success {
	color: #0a5c1f;
	font-weight: 600;
}

.acx-form-message-error {
	color: #8a1f1f;
	font-weight: 600;
}
