body {
	margin: 0;
	padding: 0;
	background: #f2f4f7;
	font-family: Arial, sans-serif;
	color: #222;
}

.conference-subtitle {
	margin: 0;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #777;
}

.conference-title {
	margin: 5px 0 0;
	font-size: 24px;
	font-weight: 700;
	color: #002b80;
}

.container {
	max-width: 900px;
	margin: 40px auto;
	padding: 20px;
}

.participant-panel {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0,0,0,0.10);
	padding: 30px;
}

.participant-header {
	margin-bottom: 25px;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
}

.participant-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.name {
	font-size: 26px;
	margin: 0;
	font-weight: 600;
}

.position-company {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 15px;
	color: #555;
}

.position {
	margin: 0;
}

.company {
	margin: 0;
	font-weight: 600;
	color: #222;
}


.section {
	margin-top: 25px;
}

.section-title {
	font-size: 20px;
	margin-bottom: 12px;
	font-weight: 600;
}


.event-group {
	background: #fff;
	border: 1px solid #e7e9f3;
	border-radius: 14px;
	padding: 18px 24px;
	margin-bottom: 22px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.event-group-title {
	font-size: 16px;
	font-weight: 700;
	margin: 8px 0 10px;
}

.events-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.event-item {
	background: #f7f7f7;
	border-radius: 12px;
	padding: 14px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.event-info h4 {
	margin: 0;
	font-size: 16px;
}

.event-info p {
	margin: 3px 0 0;
	color: #666;
	font-size: 14px;
}

.btn {
	padding: 9px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	background: #0066ff;
	color: #fff;
	border: none;
	cursor: pointer;
	transition: 0.2s;
	text-decoration: none;
}

.btn:hover {
	background: #0050cc;
}

.btn-secondary {
	background: #e6e6e6;
	color: #333;
}

.btn-secondary:hover {
	background: #d1d1d1;
}

.documents {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.doc-btn {
	display: inline-block;
	padding: 11px 18px;
	background: #e6e6e6;
	border-radius: 10px;
	text-decoration: none;
	color: #333;
	font-weight: 600;
	font-size: 14px;
	transition: 0.25s;
}

.doc-btn:hover {
	background: #d1d1d1;
}

.link-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 10px;
	background: #0066ff;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: 0.25s;
	white-space: nowrap;
}

.link-btn:hover {
	background: #004fcc;
}

@media (max-width: 600px) {
	.event-item, .survey-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.btn, .link-btn {
		align-self: flex-start;
	}
}

.debug-box {
	margin-top: 25px;
	padding: 18px 20px;
	background: #f5f6ff;
	border: 1px solid #dce1ff;
	border-radius: 12px;
}

.debug-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
}

.debug-line {
	margin: 4px 0;
	font-size: 14px;
	color: #444;
}

.debug-note {
	margin-top: 12px;
	font-size: 13px;
	color: #666;
	font-style: italic;
}

.error-header {
	margin-bottom: 10px;
}

.error-title {
	font-size: 24px;
	margin: 0 0 10px;
	font-weight: 700;
	color: #c00;
}

.error-message {
	font-size: 16px;
	color: #555;
	margin-bottom: 12px;
}

.status-box {
	background: #f7f9ff;
	border: 1px solid #dce2ff;
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 25px;
}

.status-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #0033aa;
}

.status-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px;
}

.status-label {
	color: #555;
	font-size: 14px;
}

.status-value {
	font-weight: 600;
	color: #222;
	font-size: 14px;
}

.barcode-box {
	margin-top: 15px;
	padding: 12px;
	background: #fff;
	border: 1px dashed #b8c4ff;
	border-radius: 12px;
	text-align: center;
}

.barcode-box img {
	width: 260px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.barcode-placeholder {
	font-size: 14px;
	color: #888;
	padding: 30px 0;
}

.barcode-img {
	width: 260px;
	height: auto;
	display: block;
	margin: 0 auto 10px auto;
}

.barcode-text {
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #333;
	margin-top: 5px;
	font-family: "Courier New", monospace;
}

.panel-title {
	font-size: 26px;
	font-weight: 700;
	margin: 0;
	color: #002b80;
	letter-spacing: 0.5px;
}

.panel-header {
	text-align: center;
	margin-bottom: 30px;
}

.panel-main-title {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #1f2a49;
	letter-spacing: 0.4px;
}

.panel-conference-name {
	margin-top: 6px;
	font-size: 16px;
	font-weight: 500;
	color: #4a5d8c;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ticket-title {
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: #0033aa;
	margin: 25px 0 10px 0;
	letter-spacing: 0.3px;
}

.event-form {
	margin-bottom: 14px;
}

.event-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.event-row-label {
	width: 100%;
	font-size: 14px;
	color: #333;
}

.event-row-bottom {
	display: flex;
	gap: 10px;
	flex-wrap: nowrap;
	align-items: center;
}
.event-row .btn {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.event-row-bottom {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}
	
	.event-select {
		width: 100%;
	}
}

.event-select {
	min-width: 250px;
	padding: 8px 10px;
	font-size: 14px;
	border-radius: 8px;
	border: 1px solid #ccd2e8;
	background: #fff;
	color: #222;
	flex: 1;
}

.event-group-title span {
	font-size: 18px;
	font-weight: 700;
	color: #1f2a49;
}

.slot-subinfo {
	font-size: 13px;
	color: #6b7395;
	margin: 6px 0 14px 0;
	position: relative;
}

.notification {
	position: fixed;
	top: 10%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 10px;
	border: 1px solid #73c36f;
	border-radius: 4px;
	color: #008000;
	font-size: 16px;
	border-radius: 4px;
	background-color: #c1e7c3;
	z-index: 999999;
}

.notification.error {
	background-color: #ffdddd;
	border-color: #ff9999;
	color: #ff0000;
}

.conference-page-box {
	background: #eef4ff;
	border: 1px solid #dce6fa;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 15px;
}


.conference-page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #dde7fc;
	padding-bottom: 20px;
}

.conference-page-text h4 {
	margin: 0 0 6px;
	font-size: 18px;
	color: #0033aa;
}

.conference-page-text p {
	margin: 0;
	font-size: 14px;
	color: #556685;
}

.credentials-container {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	padding: 15px;
}

.credentials-title {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #6b7395;
	font-weight: 700;
	margin-bottom: 10px;
}

.credentials-grid {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.credential-box {
	background: #ffffff;
	border: 1px solid #dce2f0;
	border-radius: 8px;
	padding: 10px 16px;
	flex: 1;
	min-width: 150px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.credential-label {
	font-size: 11px;
	color: #8890a8;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.credential-value {
	font-size: 16px;
	font-weight: 600;
	color: #222;
	font-family: 'Courier New', monospace;
	user-select: all;
}

.locked-credentials {
	background: rgba(255, 255, 255, 0.5);
	border: 1px dashed #ccd2e8;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.locked-credentials p {
	margin: 0;
	font-size: 14px;
	color: #666;
}

.conference-additional-info {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 16px;
	background: #fff8e1;
	border: 1px solid #fcefc5;
	border-radius: 8px;
	color: #7a6a35;
}

.info-icon {
	position: relative;
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 2px solid #b5a060;
	border-radius: 50%;
	color: #b5a060;
	font-style: normal;
	font-weight: bold;
	flex-shrink: 0;
	box-sizing: border-box;
}

.info-icon::before {
	content: "i";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "Times New Roman", serif;
	font-size: 15px;
	line-height: 1;
}

.info-text {
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.4;
}

@media (max-width: 600px) {
	.conference-page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	
	.link-btn {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	.credentials-grid {
		flex-direction: column;
		gap: 10px;
	}
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-box {
	background: #fff;
	width: 90%;
	max-width: 450px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
	overflow: hidden;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from { transform: translateY(-20px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.modal-header {
	background: #f7f9fc;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h3 {
	margin: 0;
	font-size: 18px;
	color: #0033aa;
}

.modal-close {
	font-size: 24px;
	cursor: pointer;
	color: #888;
	line-height: 1;
}

.modal-body {
	padding: 20px;
}

.modal-body p {
	font-size: 14px;
	color: #555;
	margin-top: 0;
	margin-bottom: 15px;
}

.modal-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccd2e8;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.survey-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.survey-item {
	background: #f7f7f7;
	border-radius: 12px;
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.survey-title {
	font-size: 15px;
	margin: 0 0 3px;
}

.survey-note {
	font-size: 13px;
	color: #777;
	margin: 0;
}

.modal-box-large {
	max-width: 650px;
	width: 95%;
}

.survey-question-box {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px dashed #eee;
}
.survey-question-box:last-child {
	border-bottom: none;
}

.question-label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	color: #222;
	font-size: 15px;
}

.options-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.option-row {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
}
.option-row input {
	width: 18px;
	height: 18px;
	accent-color: #0066ff;
}

.rating-group {
	display: flex;
	gap: 10px;
}
.rating-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	background: #f9f9f9;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid #ddd;
	transition: 0.2s;
}
.rating-item:hover {
	background: #eef4ff;
	border-color: #0066ff;
}

.rating-item input {
	margin-bottom: 5px;
	accent-color: #0066ff;
}

.rating-item span {
	font-weight: bold;
	color: #444;
}

.btn-disabled {
	background: #e0e0e0;
	color: #888;
	border: 1px solid #ccc;
	cursor: not-allowed;
}

.btn-disabled:hover {
	background: #e0e0e0;
}

.back-link-wrapper {
	margin-bottom: 20px;
}

.back-link {
	color: #555;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: 0.2s;
}

.back-link:hover {
	color: #002b80;
}

.survey-header-box {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.survey-desc {
	color: #666;
	font-size: 15px;
	margin-top: 8px;
}

.survey-question-box {
	margin-bottom: 30px;
}

.question-label {
	display: block;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1f2a49;
	font-size: 16px;
}

.survey-input-text {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccd2e8;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	box-sizing: border-box;
	background: #fff;
}

.survey-input-text:focus {
	border-color: #0066ff;
	outline: none;
}

.options-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.option-row {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 15px;
	color: #333;
}

.option-row input {
	width: 18px;
	height: 18px;
	accent-color: #0066ff;
	cursor: pointer;
}

.rating-group {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.rating-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: #fff;
	width: 40px;
	height: 50px;
	border-radius: 8px;
	border: 1px solid #ccd2e8;
	transition: 0.2s;
}

.rating-item:hover {
	background: #f0f4ff;
	border-color: #0066ff;
}

.rating-item input {
	margin-bottom: 4px;
	accent-color: #0066ff;
}

.rating-item span {
	font-weight: bold;
	color: #1f2a49;
	font-size: 14px;
}

.form-actions {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	text-align: right;
}

.btn-large {
	padding: 12px 40px;
	font-size: 16px;
}