/* Wellness Portal — Frontend Styles */
.wnport-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.wnport-notice-info { background: #eaf3ff; color: #0a4d8c; border: 1px solid #b6dcff; }
.wnport-notice-success { background: #e9f9ee; color: #1a7f37; border: 1px solid #b7ebc6; }
.wnport-notice-error { background: #fdeceb; color: #cf222e; border: 1px solid #f6c6c2; }

.wnport-auth-form { max-width: 420px; margin: 0 auto; }
.wnport-auth-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.wnport-auth-form input[type="text"], .wnport-auth-form input[type="email"], .wnport-auth-form input[type="password"], .wnport-auth-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #d7dbe0; border-radius: 8px; margin-bottom: 4px; box-sizing: border-box;
}

.wnport-form-row { display: flex; gap: 12px; }
.wnport-form-row > p { flex: 1; }

.wnport-btn { display: inline-block; padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; text-decoration: none; font-size: 14px; }
.wnport-btn-primary { background: #1a5f4a; color: #fff; }
.wnport-btn-primary:hover { background: #164c3c; color: #fff; }
.wnport-btn-secondary { background: #eef1f4; color: #1f2937; }
.wnport-btn[disabled] { opacity: .5; cursor: not-allowed; }
.wnport-link-btn { background: none; border: none; color: #1a5f4a; text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px; margin-right: 8px; }

.wnport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 20px 0; }
.wnport-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0; }
.wnport-pagination-status { color: #666; font-size: 14px; }
.wnport-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.wnport-card h3 { margin: 0 0 6px; }
.wnport-card-image img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.wnport-muted { color: #6b7280; font-size: 13px; }
.wnport-price { font-weight: 700; font-size: 16px; margin: 10px 0; }
.wnport-price-large { font-size: 28px; font-weight: 800; color: #1a5f4a; }
.wnport-strike { text-decoration: line-through; color: #9ca3af; margin-right: 6px; font-weight: 400; }
.wnport-badge { display: inline-block; background: #fff3cd; color: #8a6d00; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

.wnport-occurrence-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wnport-occurrence-btn { border: 1px solid #d7dbe0; background: #fff; border-radius: 8px; padding: 8px 10px; cursor: pointer; text-align: center; font-size: 13px; }
.wnport-occurrence-btn:hover { border-color: #1a5f4a; }
.wnport-occurrence-btn small { display: block; color: #6b7280; font-size: 11px; }
.wnport-occurrence-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Modal */
.wnport-modal { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wnport-modal-inner { background: #fff; border-radius: 14px; padding: 26px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; position: relative; }
.wnport-modal-close { position: absolute; top: 14px; right: 16px; font-size: 22px; background: none; border: none; cursor: pointer; color: #6b7280; }
.wnport-modal-inner label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.wnport-modal-inner input[type="text"], .wnport-modal-inner input[type="email"], .wnport-modal-inner input[type="number"],
.wnport-modal-inner input[type="date"], .wnport-modal-inner input[type="time"], .wnport-modal-inner input[type="password"],
.wnport-modal-inner input[type="file"], .wnport-modal-inner select, .wnport-modal-inner textarea {
	width: 100%; padding: 8px 10px; border: 1px solid #d7dbe0; border-radius: 8px; box-sizing: border-box; margin-bottom: 6px;
}
.wnport-field-group { display: none; border-top: 1px dashed #e5e7eb; padding-top: 10px; margin-top: 10px; }
.wnport-field-group.active { display: block; }
.wnport-form-message { margin-top: 10px; font-size: 13px; }
.wnport-form-message.error { color: #cf222e; }
.wnport-form-message.success { color: #1a7f37; }

/* Dashboards */
.wnport-dashboard-app { max-width: 1100px; margin: 0 auto; }
.wnport-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.wnport-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid #e5e7eb; margin-bottom: 18px; }
.wnport-tab-btn { background: none; border: none; padding: 10px 14px; cursor: pointer; font-weight: 600; color: #6b7280; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.wnport-tab-btn.active { color: #1a5f4a; border-bottom-color: #1a5f4a; }
.wnport-tab-panel { display: none; }
.wnport-tab-panel.active { display: block; }
.wnport-panel-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.wnport-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 18px 0; }
.wnport-stat-card { background: #f7f9fa; border-radius: 12px; padding: 18px; text-align: center; }
.wnport-stat-number { display: block; font-size: 26px; font-weight: 800; color: #1a5f4a; }
.wnport-stat-label { font-size: 12px; color: #6b7280; }

.wnport-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.wnport-table th, .wnport-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eef1f4; font-size: 14px; }
.wnport-table th { color: #6b7280; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }

/* Availability editor */
.wnport-avail-day { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.wnport-avail-slot-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.wnport-avail-slot-row input[type="time"] { padding: 6px; border: 1px solid #d7dbe0; border-radius: 6px; }

/* Booking calendar */
.wnport-booking-app { max-width: 640px; }
.wnport-booking-step { margin-bottom: 18px; }
.wnport-booking-step select { width: 100%; padding: 10px; border: 1px solid #d7dbe0; border-radius: 8px; }
#wnport-mini-calendar { border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin: 10px 0; }
.wnport-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; }
.wnport-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.wnport-cal-day { padding: 8px 0; border-radius: 6px; cursor: pointer; font-size: 13px; }
.wnport-cal-day.today { font-weight: 700; }
.wnport-cal-day.selected { background: #1a5f4a; color: #fff; }
.wnport-cal-day.disabled { color: #d1d5db; cursor: not-allowed; }
.wnport-cal-dow { font-size: 11px; color: #9ca3af; font-weight: 700; }
#wnport-slot-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.wnport-gateway-choice { margin: 12px 0; display: flex; gap: 16px; }
.wnport-stripe-element { border: 1px solid #d7dbe0; border-radius: 8px; padding: 12px; margin: 10px 0; }

/* Checkout / cart */
.wnport-cart-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.wnport-cart-table th, .wnport-cart-table td { padding: 10px; border-bottom: 1px solid #eef1f4; text-align: left; }
.wnport-cart-total { font-size: 18px; text-align: right; }
.wnport-shop-header { display: flex; justify-content: flex-end; margin-bottom: 10px; }

@media (max-width: 640px) {
	.wnport-form-row { flex-direction: column; gap: 0; }
	.wnport-grid { grid-template-columns: 1fr; }
}
