/* ==========================================================================
   AI & Robotics Camp Registration Form Stylesheet
   ========================================================================== */

:root {
	--camp-primary: #10b981;
	--camp-primary-hover: #059669;
	--camp-primary-light: #ecfdf5;
	--camp-dark: #0f172a;
	--camp-text: #334155;
	--camp-text-light: #64748b;
	--camp-bg: #f8fafc;
	--camp-card-bg: #ffffff;
	--camp-border: #e2e8f0;
	--camp-focus: #3b82f6;
	--camp-danger: #ef4444;
	--camp-danger-bg: #fef2f2;
	--camp-warning: #f59e0b;
	--camp-warning-bg: #fffbebfb;
	--camp-radius: 12px;
	--camp-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

.camp-reg-container {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 780px;
	margin: 2rem auto;
	padding: 2.5rem;
	background: var(--camp-card-bg);
	border-radius: var(--camp-radius);
	box-shadow: var(--camp-shadow);
	border: 1px solid var(--camp-border);
	color: var(--camp-text);
	box-sizing: border-box;
}

.camp-reg-container * {
	box-sizing: border-box;
}

/* Header & Notice Styling */
.camp-reg-header {
	margin-bottom: 2.5rem;
	text-align: left;
}

.camp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	background: var(--camp-primary-light);
	color: var(--camp-primary-hover);
	font-size: 0.85rem;
	font-weight: 700;
	border-radius: 20px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--camp-primary);
}

.camp-title {
	font-family: 'Outfit', sans-serif;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--camp-dark);
	margin: 0 0 6px 0;
	line-height: 1.2;
}

.camp-subtitle {
	font-family: 'Outfit', sans-serif;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--camp-primary-hover);
	margin: 0 0 1.5rem 0;
}

.camp-notice-box {
	background: #f1f5f9;
	border-left: 4px solid var(--camp-primary);
	padding: 1.5rem;
	border-radius: 0 8px 8px 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

.notice-text {
	margin-top: 0;
	margin-bottom: 1.2rem;
}

.highlight-text {
	color: var(--camp-dark);
	background: #fef08a;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 600;
}

.payment-details-card, .payment-confirmation-card {
	background: #ffffff;
	border: 1px solid var(--camp-border);
	border-radius: 8px;
	padding: 1.2rem;
	margin-top: 1rem;
}

.card-heading {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--camp-dark);
	margin: 0 0 0.8rem 0;
	border-bottom: 1px solid var(--camp-border);
	padding-bottom: 0.4rem;
}

.payment-list, .check-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.payment-list li, .check-list li {
	padding: 4px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.check-list li::before {
	content: "✓";
	color: var(--camp-primary-hover);
	font-weight: 800;
}

.fee-amount {
	color: #047857;
	font-size: 1.1rem;
}

.acc-num {
	letter-spacing: 1px;
	font-family: monospace;
	font-size: 1.1rem;
	color: var(--camp-dark);
}

.whatsapp-link {
	color: #16a34a;
	text-decoration: underline;
	font-weight: 700;
}

.confirmation-note {
	margin-bottom: 0;
	font-size: 0.9rem;
	color: var(--camp-text-light);
}

/* Form Sections */
.form-section {
	background: #ffffff;
	border: 1px solid var(--camp-border);
	border-radius: 10px;
	padding: 1.8rem;
	margin-bottom: 2rem;
}

.section-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--camp-dark);
	margin: 0 0 1.2rem 0;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid var(--camp-bg);
}

.section-desc {
	font-size: 0.88rem;
	color: var(--camp-text-light);
	margin: -0.5rem 0 1rem 0;
}

/* Form Fields */
.form-group {
	margin-bottom: 1.4rem;
}

.form-group-sm {
	max-width: 240px;
}

.form-label {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--camp-dark);
	margin-bottom: 0.5rem;
}

.required {
	color: var(--camp-danger);
	margin-left: 2px;
}

.form-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 600px) {
	.form-grid-2 {
		grid-template-columns: 1fr;
	}
}

.input-wrap {
	display: flex;
	flex-direction: column;
}

.form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	font-family: inherit;
	border: 1px solid var(--camp-border);
	border-radius: 8px;
	background: #ffffff;
	color: var(--camp-dark);
	transition: all 0.2s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--camp-primary);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.sub-label {
	font-size: 0.75rem;
	color: var(--camp-text-light);
	margin-top: 4px;
}

.field-hint {
	font-size: 0.8rem;
	color: var(--camp-text-light);
	margin-top: 4px;
	display: block;
}

/* Inline Radio Pills */
.radio-options-inline {
	display: flex;
	gap: 12px;
}

.radio-pill {
	cursor: pointer;
}

.radio-pill input {
	display: none;
}

.radio-pill .radio-label {
	display: inline-block;
	padding: 0.6rem 1.4rem;
	background: #f1f5f9;
	border: 1px solid var(--camp-border);
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--camp-text);
	transition: all 0.2s;
}

.radio-pill input:checked + .radio-label {
	background: var(--camp-primary-light);
	border-color: var(--camp-primary);
	color: var(--camp-primary-hover);
}

/* Radio Stacked Options */
.radio-options-stacked {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.radio-option {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 6px 0;
}

.radio-option input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--camp-primary);
	cursor: pointer;
}

.radio-text {
	font-size: 0.95rem;
	color: var(--camp-text);
}

/* Class Slot Grid Cards */
.class-slots-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.slot-card {
	display: block;
	position: relative;
	cursor: pointer;
	border: 2px solid var(--camp-border);
	border-radius: 10px;
	padding: 1rem 1.2rem;
	background: #ffffff;
	transition: all 0.2s ease;
}

.slot-card input[type="radio"] {
	position: absolute;
	top: 1.2rem;
	right: 1.2rem;
	width: 20px;
	height: 20px;
	accent-color: var(--camp-primary);
}

.slot-card:hover:not(.slot-full):not(.slot-locked) {
	border-color: var(--camp-primary);
	background: #fafafa;
}

.slot-card.selected {
	border-color: var(--camp-primary);
	background: var(--camp-primary-light);
}

.slot-card.slot-full, .slot-card.slot-locked {
	opacity: 0.6;
	cursor: not-allowed;
	background: #f8fafc;
	border-style: dashed;
}

.slot-days {
	font-weight: 700;
	font-size: 1rem;
	color: var(--camp-dark);
	display: block;
	margin-bottom: 4px;
}

.slot-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-right: 30px;
}

.slot-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
}

.badge-available {
	background: #dcfce7;
	color: #15803d;
}

.badge-full {
	background: #fee2e2;
	color: #b91c1c;
}

.slot-meta {
	margin-top: 6px;
}

.slot-age-tag {
	font-size: 0.78rem;
	font-weight: 600;
	color: #475569;
	background: #e2e8f0;
	padding: 2px 8px;
	border-radius: 4px;
}

.slot-alert {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--camp-danger);
	margin-top: 6px;
}

/* Add-on Monday Card Styling & Guidance */
.form-group-addon {
	margin-top: 1.5rem;
	padding-top: 1.2rem;
	border-top: 1px dashed var(--camp-border);
}

.monday-guidance-box {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 4px solid #16a34a;
	border-radius: 8px;
	padding: 0.9rem 1.1rem;
	margin-bottom: 1rem;
	font-size: 0.88rem;
	color: #166534;
}

.guidance-header {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 0.92rem;
}

.guidance-icon {
	font-size: 1.1rem;
}

.guidance-list {
	margin: 0;
	padding-left: 1.2rem;
	line-height: 1.55;
}

.guidance-list li {
	margin-bottom: 4px;
}

.guidance-list li:last-child {
	margin-bottom: 0;
}

.rec-tag {
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 0.78rem;
	display: inline-block;
	margin-right: 4px;
}

.rec-tag.rec-yes {
	background: #dcfce7;
	color: #15803d;
}

.rec-tag.rec-no {
	background: #f1f5f9;
	color: #475569;
}

.monday-smart-guide {
	padding: 0.8rem 1rem;
	border-radius: 8px;
	font-size: 0.88rem;
	margin-bottom: 0.9rem;
	line-height: 1.45;
	transition: all 0.3s ease;
}

.monday-smart-guide.guide-rec {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
	border-left: 4px solid #3b82f6;
}

.monday-smart-guide.guide-opt {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
	border-left: 4px solid #94a3b8;
}

.addon-card {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	cursor: pointer;
	border: 2px dashed #94a3b8;
	border-radius: 10px;
	padding: 1rem 1.2rem;
	background: #f8fafc;
	transition: all 0.2s ease;
}

.addon-card input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: var(--camp-primary);
	cursor: pointer;
}

.addon-card.addon-checked {
	border-style: solid;
	border-color: var(--camp-primary);
	background: var(--camp-primary-light);
}

.addon-card.recommend-highlight {
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.addon-card.addon-full {
	opacity: 0.6;
	cursor: not-allowed;
}

.addon-content {
	flex: 1;
}

.addon-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.addon-title {
	font-weight: 700;
	font-size: 0.98rem;
	color: var(--camp-dark);
}

.addon-footer {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rec-badge {
	font-size: 0.75rem;
	font-weight: 700;
	color: #1d4ed8;
	background: #dbeafe;
	padding: 2px 8px;
	border-radius: 4px;
}

.disclaimer-note {
	font-size: 0.8rem;
	color: var(--camp-text-light);
	line-height: 1.5;
	margin-top: 10px;
	background: #f8fafc;
	padding: 10px 14px;
	border-radius: 6px;
	border: 1px dashed var(--camp-border);
}

/* Submit Actions */
.form-actions {
	margin-top: 1.5rem;
}

.form-error-banner {
	background: var(--camp-danger-bg);
	border: 1px solid #fca5a5;
	color: #b91c1c;
	padding: 0.8rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.btn-submit {
	width: 100%;
	padding: 0.95rem 1.5rem;
	font-family: 'Outfit', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff;
	background: var(--camp-dark);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.btn-submit:hover {
	background: #1e293b;
}

.btn-submit:active {
	transform: scale(0.99);
}

.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: camp-spin 0.8s linear infinite;
}

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

/* Success Card */
.camp-success-card {
	text-align: center;
	padding: 2rem 1rem;
}

.success-icon-wrap {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #dcfce7;
	color: #16a34a;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2rem auto;
}

.success-title {
	font-family: 'Outfit', sans-serif;
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--camp-dark);
	margin: 0 0 0.5rem 0;
}

.success-msg {
	font-size: 1.05rem;
	color: var(--camp-text-light);
	max-width: 500px;
	margin: 0 auto 1.5rem auto;
}

/* Printable Slip Card */
.printable-slip-card {
	background: #ffffff;
	border: 2px solid #10b981;
	border-radius: 12px;
	padding: 1.5rem;
	text-align: left;
	max-width: 600px;
	margin: 0 auto 1.8rem auto;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.slip-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 0.8rem;
	margin-bottom: 1.2rem;
}

.slip-header h3 {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	font-size: 1.3rem;
	color: #0f172a;
}

.slip-tag {
	background: #10b981;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.slip-row {
	display: flex;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.slip-label {
	width: 170px;
	font-weight: 700;
	color: #64748b;
}

.slip-val {
	flex: 1;
	color: #0f172a;
}

/* Physical Payment Tick Box on Printed Slip */
.slip-tick-box {
	margin-top: 1.2rem;
	border: 2px dashed #94a3b8;
	border-radius: 8px;
	padding: 1rem;
	background: #f8fafc;
}

.slip-paid-box {
	border-style: solid;
	border-color: #16a34a;
	background: #f0fdf4;
}

.tick-box-header {
	font-weight: 700;
	font-size: 0.85rem;
	color: #334155;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tick-row {
	font-size: 0.9rem;
	color: #0f172a;
	margin-bottom: 6px;
}

.tick-row:last-child {
	margin-bottom: 0;
}

.checkbox-square {
	font-family: monospace;
	font-weight: 800;
	border: 1.5px solid #0f172a;
	padding: 1px 6px;
	border-radius: 3px;
	background: #ffffff;
}

.success-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 400px;
	margin: 0 auto;
}

.btn-print {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0.9rem 1.2rem;
	background: #0f172a;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-print:hover {
	background: #1e293b;
}

.btn-whatsapp {
	display: inline-block;
	padding: 0.85rem 1.2rem;
	background: #16a34a;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.2s;
}

.btn-whatsapp:hover {
	background: #15803d;
	color: #ffffff;
}

.btn-secondary {
	padding: 0.75rem 1.2rem;
	background: #f1f5f9;
	color: var(--camp-text);
	border: 1px solid var(--camp-border);
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
}

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

/* Print CSS */
@media print {
	body * {
		visibility: hidden;
	}
	#printable-slip-card, #printable-slip-card * {
		visibility: visible;
	}
	#printable-slip-card {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		max-width: 100%;
		border: 2px solid #000;
		box-shadow: none;
	}
}
