:root {
	--primary-color: rgb(255, 102, 51);
	--text-color: #ffffff;
	--background-color: #000000;
	--input-background: rgba(255, 255, 255, 0.05);
	--button-hover: #ff8533;
	--border-color: rgba(255, 255, 255, 0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--background-color);
	color: var(--text-color);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
}

.page-wrapper {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	z-index: 2;
	min-width: 0;
	width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
}

.container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	flex: 1;
	min-width: 0;
	width: 100%;
	overflow: hidden;
}

/* Left Panel Styles */
.left-panel {
	padding: 3rem 4rem;
	display: flex;
	flex-direction: column;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4rem;
}

.workshop-logo {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.workshop-logo svg {
	color: var(--text-color);
}

.logo-text {
	display: flex;
	flex-direction: column;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.date-time {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.date-time-text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	order: 2;
}

.date-time h2 {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: var(--text-color);
}

.date-time h3 {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.calendar-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-color);
	padding: 0.5rem;
	color: rgba(255, 255, 255, 0.5);
	transition: all 0.2s ease;
	border-radius: 10px;
	order: 1;
}

.date-time:hover .calendar-trigger {
	color: var(--text-color);
	transform: scale(1.05);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.2);
}

h1 {
	font-size: 4rem;
	line-height: 1;
	margin-bottom: 3rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.input-group {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	max-width: 560px;
	position: relative;
	flex-wrap: wrap;
}

.input-group.success {
	animation: successSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes successSlide {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-20px);
	}
}

.break {
	flex-basis: 100%;
	height: 0;
  }

.success-message {
	left: 0;
	top: calc(100% + 24px);
	width: 100%;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	pointer-events: none;
}

.input-group.success .success-message {
	opacity: 1;
	transform: translateY(0);
	pointer-events: all;
}

.success-text {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-color);
	font-size: 0.875rem;
	font-weight: 500;
}

.success-text svg {
	width: 18px;
	height: 18px;
	color: var(--primary-color);
}

.calendar-actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
}

.calendar-action {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.calendar-action:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

.calendar-action svg {
	width: 16px;
	height: 16px;
	opacity: 0.7;
	transition: all 0.2s ease;
}

.calendar-action:hover svg {
	opacity: 1;
}

input[type='email'] {
	flex: 1;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-color);
	min-height: 48px;
	padding: 0 16px;
	color: var(--text-color);
	font-size: 14px;
	border-radius: 6px;
	font-family: 'Inter', sans-serif;
}

input[type='email']::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

input[type='email']:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.4);
}

.notify-btn {
	background: transparent;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	height: 48px;
	padding: 0 24px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 14px;
	font-weight: 500;
	position: relative;
	overflow: visible;
	white-space: nowrap;
}

.notify-btn.success {
	background: var(--primary-color);
	color: var(--text-color);
	border-color: var(--primary-color);
	pointer-events: none;
}

.notify-btn:hover {
	background: rgba(255, 107, 0, 0.1);
	border-color: var(--primary-color);
}

.privacy-text {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 0.5rem;
	width: 100%;
}

.privacy-link {
	color: var(--text-color);
	text-decoration: none;
}

.privacy-link:hover {
	text-decoration: underline;
}

/* Right Panel Styles */
.right-panel {
	padding: 3rem 4rem;
	position: relative;
	border-left: 1px solid var(--border-color);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.workshop-info {
	position: relative;
	z-index: 3;
	margin-top: 6rem;
}

.workshop-info h4 {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}

.workshop-description {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin-bottom: 3rem;
	max-width: 400px;
}

.instructors-section h4 {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.875rem;
	margin-bottom: 2rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}

.instructor {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.instructor-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.1);
}

.instructor-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.instructor-info h5 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 0.25rem;
}

.instructor-info p {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 500;
	letter-spacing: 0.02em;
}

/* Geometric Background */
.geometric-bg {
	position: absolute;
	bottom: -10%;
	right: -20%;
	width: 60%;
	height: 60%;
	opacity: 0.1;
	pointer-events: none;
	z-index: 1;
}

.geometric-shape {
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
footer {
	padding: 2rem 4rem;
	border-top: 1px solid var(--border-color);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.footer-logos {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.footer-logo {
	height: 20px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.7;
}

.auth0-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1rem;
	font-weight: 500;
}

.auth0-logo svg {
	width: 20px;
	height: 20px;
}

/* Calendar Dialog */
.calendar-popover {
	background: rgb(23, 23, 23);
	border-radius: 12px;
	padding: 1.5rem;
	width: 320px;
	box-shadow:
		0 0 0 1px var(--border-color),
		0 8px 32px rgba(0, 0, 0, 0.4),
		0 2px 8px rgba(0, 0, 0, 0.2);
	position: relative;
	animation: modalAppear 0.2s cubic-bezier(0.21, 1.02, 0.73, 1);
	transform-origin: center center;
}

@keyframes modalAppear {
	from {
		opacity: 0;
		transform: scale(0.98);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.calendar-popover h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-color);
	padding-right: 2rem;
}

.calendar-options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.calendar-option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: all 0.15s ease;
	color: rgba(255, 255, 255, 0.8);
	width: 100%;
	text-align: left;
}

.calendar-option:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-color);
}

.calendar-option svg {
	width: 20px;
	height: 20px;
	opacity: 0.7;
	transition: all 0.2s ease;
}

.calendar-option:hover svg {
	opacity: 1;
}

.calendar-option span {
	font-size: 0.875rem;
	font-weight: 500;
}

.close-button {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	padding: 0.375rem;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close-button:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-color);
}

.close-button svg {
	width: 16px;
	height: 16px;
}

dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) !important;
	margin: 0;
	background: transparent;
	border: none;
	padding: 0;
	width: fit-content;
	height: fit-content;
}

dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	animation: backdropFade 0.2s ease;
}

@keyframes backdropFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Utility Classes */
.contact-field {
	display: none !important;
	position: absolute !important;
	left: -9999px !important;
}

.toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(17, 17, 17, 0.95);
	color: #fff;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 14px;
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(8px);
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.toast.show {
	opacity: 1;
}

/* Responsive Design */
@media (max-width: 1400px) {
	h1 {
		font-size: 3.5rem;
	}
}

@media (max-width: 1200px) {
	h1 {
		font-size: 3rem;
	}

	.input-group {
		max-width: 100%;
	}
}

@media (max-width: 968px) {
	body {
		height: auto;
		overflow: auto;
	}

	.container {
		grid-template-columns: 1fr;
	}

	.right-panel {
		padding: 2rem;
		border-left: none;
		border-top: 1px solid var(--border-color);
	}

	.left-panel {
		padding: 2rem;
	}

	.workshop-info {
		margin-top: 2rem;
	}

	h1 {
		font-size: 2.5rem;
	}

	.input-group {
		max-width: 100%;
		gap: 0.75rem;
	}

	input[type='email'] {
		min-width: 0;
		flex: 1;
	}

	.notify-btn {
		width: fit-content;
		min-height: 48px;
	}

	footer {
		padding: 2rem;
	}
}

@media (max-width: 480px) {
	.left-panel,
	.right-panel {
		padding: 1rem;
		min-width: 0;
		width: 100%;
		overflow: hidden;
	}

	.header {
		margin-bottom: 2rem;
	}

	.date-time-text {
		display: none;
	}

	.calendar-trigger {
		order: 1;
		margin: 0;
	}

	.input-group {
		flex-direction: column;
		gap: 0.75rem;
		width: 100%;
	}

	.break {
		flex-basis: 0;
	}

	input[type='email'] {
		width: 100%;
		min-width: 0;
		height: 48px;
	}

	.notify-btn {
		width: 100%;
		justify-content: center;
		height: 48px;
	}

	h1 {
		font-size: 2rem;
		max-width: 100%;
		margin-bottom: 2rem;
	}

	.footer-logos {
		flex-direction: column;
		gap: 1.5rem;
	}
}
