/**
 * NABET Workshop - Frontend Styles
 */

.nabet-ws-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 20px 15px;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

.nabet-ws-empty-state {
	text-align: center;
	padding: 40px 20px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	color: #64748b;
	font-size: 1rem;
}

/* Workshop Cards Grid */
.nabet-ws-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	margin-top: 20px;
}

.nabet-ws-card-item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.nabet-ws-card-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.nabet-ws-card-image-wrap {
	width: 100%;
	height: 190px;
	overflow: hidden;
	background-color: #f1f5f9;
	position: relative;
}

.nabet-ws-card-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.nabet-ws-card-item:hover .nabet-ws-card-image-wrap img {
	transform: scale(1.04);
}

.nabet-ws-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.nabet-ws-card-title {
	font-size: 1.05rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.4;
	margin: 0 0 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 2.8em;
}

.nabet-ws-card-category {
	font-size: 0.825rem;
	color: #64748b;
	margin-bottom: 12px;
	font-weight: 500;
}

.nabet-ws-card-meta-pills {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.nabet-ws-pill {
	display: inline-block;
	padding: 3px 10px;
	background: #f1f5f9;
	color: #334155;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.nabet-ws-pill-rating {
	background: #fef3c7;
	color: #92400e;
}

.nabet-ws-card-footer {
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nabet-ws-card-price {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0079AF;
}

.nabet-ws-btn-enroll {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 18px;
	background: #0079AF;
	color: #ffffff !important;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.nabet-ws-btn-enroll:hover {
	background: #005f8a;
}

/* Header Banner */
.nabet-ws-header-banner {
	margin-bottom: 24px;
}

.nabet-ws-breadcrumb {
	font-size: 0.85rem;
	color: #64748b;
	margin-bottom: 6px;
	font-weight: 500;
}

.nabet-ws-page-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.3;
}

/* Payment / Registration Layout */
.nabet-ws-payment-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: start;
}

@media (max-width: 900px) {
	.nabet-ws-payment-layout {
		grid-template-columns: 1fr;
	}
}

.nabet-ws-details-card,
.nabet-ws-form-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.nabet-ws-details-content {
	color: #334155;
	font-size: 0.95rem;
	line-height: 1.7;
}

.nabet-ws-details-content h1,
.nabet-ws-details-content h2,
.nabet-ws-details-content h3,
.nabet-ws-details-content h4 {
	color: #0f172a;
	margin-top: 1.2em;
	margin-bottom: 0.5em;
	font-weight: 600;
}

.nabet-ws-details-content ul,
.nabet-ws-details-content ol {
	padding-left: 20px;
	margin-bottom: 1.2em;
}

.nabet-ws-details-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
}

.nabet-ws-details-content table,
.nabet-ws-details-content th,
.nabet-ws-details-content td {
	border: 1px solid #cbd5e1;
	padding: 8px 12px;
}

.nabet-ws-form-notice {
	background: #f8fafc;
	border-left: 4px solid #0079AF;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 0.85rem;
	color: #475569;
	margin-bottom: 16px;
	line-height: 1.5;
}

.nabet-ws-required-tag {
	text-align: right;
	font-size: 0.8rem;
	color: #dc2626;
	margin-bottom: 16px;
	font-weight: 500;
}

.nabet-ws-field-group {
	margin-bottom: 18px;
}

.nabet-ws-field-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 6px;
}

.required-star {
	color: #dc2626;
}

.nabet-ws-input,
.nabet-ws-select,
.nabet-ws-textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.9rem;
	font-family: 'Poppins', sans-serif;
	color: #0f172a;
	background: #ffffff;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.nabet-ws-input:focus,
.nabet-ws-select:focus,
.nabet-ws-textarea:focus {
	outline: none;
	border-color: #0079AF;
	box-shadow: 0 0 0 3px rgba(0, 121, 175, 0.15);
}

.nabet-ws-radio-group {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	padding-top: 4px;
}

.nabet-ws-radio-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	color: #334155;
}

.nabet-ws-invoice-options-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 8px;
}

.nabet-ws-invoice-option {
	cursor: pointer;
	position: relative;
}

.nabet-ws-invoice-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.nabet-ws-invoice-option-box {
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	padding: 14px;
	transition: all 0.2s ease;
	background: #fafafa;
}

.nabet-ws-invoice-option input[type="radio"]:checked + .nabet-ws-invoice-option-box {
	border-color: #0079AF;
	background: #f0f9ff;
	box-shadow: 0 0 0 2px rgba(0, 121, 175, 0.2);
}

.nabet-ws-invoice-option-title {
	font-weight: 600;
	font-size: 0.95rem;
	color: #0f172a;
}

.nabet-ws-invoice-option-desc {
	font-size: 0.775rem;
	color: #64748b;
	margin-top: 2px;
}

.nabet-ws-dynamic-section {
	margin-top: 20px;
	padding-top: 15px;
}

.nabet-ws-section-heading {
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 16px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #e2e8f0;
}

.nabet-ws-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 600px) {
	.nabet-ws-grid-2,
	.nabet-ws-invoice-options-grid {
		grid-template-columns: 1fr;
	}
}

/* Fee Summary Card */
.nabet-ws-fee-breakdown-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 20px;
}

.nabet-ws-fee-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: #475569;
	margin-bottom: 8px;
}

.nabet-ws-fee-total {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	padding-top: 10px;
	margin-top: 8px;
	border-top: 1px solid #cbd5e1;
	margin-bottom: 0;
}

.nabet-ws-actions-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nabet-ws-btn-submit {
	width: 100%;
	padding: 12px 20px;
	background: #0079AF;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	transition: background 0.2s;
}

.nabet-ws-btn-submit:hover {
	background: #005f8a;
}

.nabet-ws-btn-secondary {
	width: 100%;
	padding: 10px 18px;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	transition: background 0.2s;
}

.nabet-ws-btn-secondary:hover {
	background: #e2e8f0;
}

/* Alerts */
.nabet-ws-alert {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.875rem;
	margin-bottom: 20px;
	line-height: 1.5;
}

.nabet-ws-alert-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.nabet-ws-alert-success {
	background: #f0fdf4;
	border: 1px solid #86efac;
	color: #166534;
}

/* Proforma Modal */
.nabet-ws-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nabet-ws-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
}

.nabet-ws-modal-container {
	position: relative;
	width: 90%;
	max-width: 820px;
	max-height: 90vh;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 2;
}

.nabet-ws-modal-header {
	padding: 16px 24px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nabet-ws-modal-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #0f172a;
}

.nabet-ws-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
}

.nabet-ws-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex-grow: 1;
}

.nabet-ws-modal-footer {
	padding: 16px 24px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	background: #f8fafc;
}
