.dashicons {
	font-family: dashicons !important;
}

/* Button Spinner */
.button-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: spin 0.8s linear infinite;
	vertical-align: middle;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.wdm-action-button.loading {
	pointer-events: none;
}

/* Action Button Styles (Attendance & Register) */
.wdm-action-button {
	padding: 12px 24px;
	margin: 10px 0;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: linear-gradient(135deg, #0066A1 0%, #004E7A 100%);
	color: #ffffff;
	box-shadow: 0 4px 6px rgba(0, 102, 161, 0.3);
	text-transform: none;
}

.wdm-action-button:hover:not(:disabled) {
	background: linear-gradient(135deg, #005a8f 0%, #00426b 100%);
	box-shadow: 0 6px 12px rgba(0, 102, 161, 0.4);
	transform: translateY(-2px);
}

.wdm-action-button:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 102, 161, 0.25);
}

.wdm-action-button:disabled {
	background: #e0e0e0;
	color: #9e9e9e;
	cursor: not-allowed;
	box-shadow: none;
	opacity: 0.6;
}

/* Table Container */
.woocommerce-group-hours-management table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Table Header */
.woocommerce-group-hours-management thead {
    background: #f8f9fa;
}

.woocommerce-group-hours-management th {
    text-align: center !important;
}

/* Table Body */
.woocommerce-group-hours-management td {
    padding-left: 0 !important;
	text-align: center !important;
}

/* Button Styling - Smaller and Cleaner */
.woocommerce-group-hours-management .button {
    display: inline-block !important;
    padding: 12px 12px !important;
   
    text-align: center !important;
}
.woocommerce-group-hours-management .alert-hours {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Hide WooCommerce Photoswipe on non-product pages */
body:not(.single-product) .pswp {
	display: none !important;
}

/* Event date/time shortcode */
.cpe-event-date-time {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cpe-event-date-time__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cpe-event-date-time__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #38B67C;
}

.cpe-event-date-time__icon svg {
	width: 20px;
	height: 20px;
}

.cpe-event-date-time__text {
	font-size: 1rem;
	line-height: 1.5;
}

/* Event register button - styled like course description link */
.cpe-event-register-button {
	position: relative;
	text-align: center;
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: #0257A1;
	text-decoration: none;
	border: none;
	border-bottom: 2px solid #0257A1;
	background: none;
	padding: 8px 12px;
	overflow: hidden;
	cursor: pointer;
	font-family: inherit;
	transition: color 0.3s ease;
}

.cpe-event-register-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	bottom: 0;
	width: 0;
	background: #0F3C5F;
	transform: translateX(-50%);
	transition: width 0.3s ease;
	z-index: 0;
}

.cpe-event-register-button-text {
	position: relative;
	z-index: 1;
	transition: color 0.3s ease;
}

.cpe-event-register-button:hover,
.cpe-event-register-button:hover .cpe-event-register-button-text {
	color: #fff;
}

.cpe-event-register-button:hover::before {
	width: 100%;
}

.cpe-event-register-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}