﻿/* Design system inspired by the attached image */
:root {
	--bg: #f8f9fd;
	--surface: #ffffff;
	--surface-2: #f3f4f9;
	--border: #eef0f6;
	--muted: #94a3b8;
	--text: #1e293b;
	--primary: #6366f1;
	--primary-light: #eef2ff;
	--accent-purple: #8b5cf6;
	--accent-pink: #ec4899;
	--accent-blue: #3b82f6;
	--accent-orange: #f59e0b;
	--accent-cyan: #06b6d4;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	--radius: 24px;
	--radius-sm: 12px;

	/* Spacing scale */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 20px;
	--sp-6: 24px;
	--sp-7: 32px;
	--sp-8: 40px;

	/* Premium Gradients */
	--grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	--grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
	--grad-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Premium Typography */
.text-display {
	font-size: clamp(48px, 8vw, 80px);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 0.9;
}

.text-gradient {
	background: linear-gradient(to right, #6366f1, #ec4899, #f59e0b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% auto;
	animation: shine 5s linear infinite;
}

@keyframes shine {
	to {
		background-position: 200% center;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes pulse-glow {

	0%,
	100% {
		opacity: 1;
		box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
	}

	50% {
		opacity: 0.8;
		box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
	}
}

/* Bento Grid */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 300px);
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.bento-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
	border-color: var(--primary);
}

.bento-1 {
	grid-column: span 2;
	grid-row: span 2;
}

.bento-2 {
	grid-column: span 2;
}

.bento-3 {
	grid-column: span 1;
}

.bento-4 {
	grid-column: span 1;
}

/* Magnetic Button Effect */
.btn-magnetic {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 40px;
	background: var(--text);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 18px;
	overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-magnetic:hover {
	transform: scale(1.05);
}

.btn-magnetic::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: 0.5s;
}

.btn-magnetic:hover::before {
	left: 100%;
}

/* Floating Elements */
@keyframes float-premium {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	33% {
		transform: translateY(-20px) rotate(2deg);
	}

	66% {
		transform: translateY(10px) rotate(-1deg);
	}
}

.floating {
	animation: float-premium 8s ease-in-out infinite;
}

/* Trusted By */
.trusted-by {
	padding: 80px 0;
	text-align: center;
}

.trusted-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 60px;
	margin-top: 40px;
	opacity: 0.5;
	filter: grayscale(1);
}

.trusted-logos span {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

/* Final CTA */
.final-cta {
	padding: 160px 20px;
	text-align: center;
	background: var(--text);
	color: #fff;
	border-radius: 60px;
	margin: 80px 20px;
	position: relative;
	overflow: hidden;
}

.final-cta h2 {
	font-size: 72px;
	margin-bottom: 40px;
}

.cta-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
	pointer-events: none;
}

/* Loading spinner animation */
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.loading-spinner {
	animation: spin 1s linear infinite;
}

.glass {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

html,
body {
	height: 100%;
	scroll-behavior: smooth;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
}

.grain {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("https://grainy-gradients.vercel.app/noise.svg");
	opacity: 0.05;
	pointer-events: none;
	z-index: 9999;
}

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	background: var(--grad-primary);
	z-index: 10000;
	transition: width 0.1s ease-out;
}

.landing-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 80px;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(248, 249, 253, 0.8);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-text {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: var(--text);
}

.landing-links a {
	margin: 0 24px;
	font-weight: 600;
	color: var(--muted);
	transition: color 0.3s;
}

.landing-links a:hover {
	color: var(--text);
}

.btn.large {
	padding: 16px 32px;
	font-size: 18px;
	border-radius: 14px;
}

.btn.ghost {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
}

.btn.ghost:hover {
	background: var(--surface-2);
}

a {
	color: var(--primary);
	text-decoration: none;
}

/* App shell */
.app {
	display: grid;
	grid-template-columns: 100px 1fr;
	grid-template-rows: 100px 1fr;
	grid-template-areas:
		"sidebar topbar"
		"sidebar content";
	min-height: 100vh;
	background: var(--bg);
}

.sidebar {
	grid-area: sidebar;
	background: var(--surface);
	border-right: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--sp-7) 0;
	z-index: 10;
}

.sidebar .brand {
	width: 52px;
	height: 52px;
	background: var(--text);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	margin-bottom: var(--sp-8);
}

.sidebar .brand:hover {
	transform: rotate(15deg) scale(1.1);
	background: var(--primary);
	box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.nav {
	display: flex;
	flex-direction: column;
	gap: var(--sp-6);
}

.nav a {
	color: var(--muted);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav a:hover {
	color: var(--primary);
	background: var(--primary-light);
	transform: translateX(4px);
}

.nav a.active {
	color: #fff;
	background: var(--primary);
	box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

.topbar {
	grid-area: topbar;
	background: transparent;
	display: flex;
	align-items: center;
	padding: 0 var(--sp-8);
	gap: var(--sp-6);
}

.search-bar {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 280px;
	height: 44px;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.search-bar input {
	border: none;
	background: transparent;
	outline: none;
	width: 100%;
	font-size: 14px;
	color: var(--text);
	font-weight: 500;
}

.search-bar:focus-within {
	border-color: var(--primary);
	box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
	width: 320px;
}

.search-bar .search-close-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--muted);
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s;
}

.search-bar .search-close-btn:hover {
	background: var(--surface-2);
	color: var(--text);
}

/* Topbar left section with search */
.topbar-left {
	display: flex;
	align-items: center;
}

/* Circular icon button for collapsed search */
.topbar-icon-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--muted);
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.topbar-icon-btn:hover {
	background: var(--surface-2);
	color: var(--primary);
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

/* Center navigation */
.topbar-center {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	padding: 6px 10px;
	border-radius: 16px;
	border: 1px solid var(--border);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	margin: 0 auto;
}

/* Navigation button in center */
.topbar-nav-btn {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: transparent;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--muted);
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	text-decoration: none;
}

.topbar-nav-btn:hover {
	background: var(--surface-2);
	color: var(--primary);
	transform: translateY(-2px);
}

.topbar-nav-btn.active {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4), 0 0 20px rgba(99, 102, 241, 0.3);
}

.topbar-nav-btn.pinned {
	background: var(--surface-2);
	color: var(--text);
}

.topbar-nav-btn.pinned:hover {
	background: var(--primary-light);
	color: var(--primary);
}

.topbar-nav-btn.pinned.active {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4), 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Pin button styling */
.topbar-nav-btn.pin-btn {
	background: transparent;
	border: 1px dashed var(--border);
	color: var(--muted);
}

.topbar-nav-btn.pin-btn:hover {
	border-style: solid;
	border-color: var(--primary);
	background: var(--primary-light);
	color: var(--primary);
}

.topbar-nav-btn.pin-btn.pinned {
	border-style: solid;
	border-color: var(--primary);
	background: var(--primary);
	color: #fff;
}

.topbar-nav-btn svg {
	width: 18px;
	height: 18px;
}

.topbar-actions {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
}

.user-profile {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 6px 12px;
	border-radius: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
	position: relative;
	z-index: 10000;
}

.user-profile:hover {
	background: var(--surface-2);
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	object-fit: cover;
}

.content {
	grid-area: content;
	padding: 0 var(--sp-8) var(--sp-8) var(--sp-8);
	overflow-y: auto;
}

/* Home page specific 3-column layout */
.home-grid {
	display: grid;
	grid-template-columns: 300px 1fr 340px;
	gap: var(--sp-8);
	height: 100%;
}

/* Dashboard Components */
.dashboard-left,
.dashboard-center,
.dashboard-right {
	display: flex;
	flex-direction: column;
	gap: var(--sp-7);
	animation: fade-in-up 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.dashboard-center {
	animation-delay: 0.1s;
}

.dashboard-right {
	animation-delay: 0.2s;
}

.section-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: var(--sp-2);
	background: linear-gradient(to bottom, #1e293b, #64748b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.card {
	background: var(--surface);
	border-radius: 24px;
	padding: var(--sp-6);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	border: 1px solid var(--border);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Mini Calendar */
.mini-calendar {
	padding: var(--sp-5);
}

.calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--sp-5);
}

/* Icon Buttons - used for navigation arrows */
.icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 12px;
	background: var(--surface-2);
	color: var(--text);
	cursor: pointer;
	transition: all 0.2s ease;
}

.icon-btn:hover {
	background: var(--border);
	transform: translateY(-1px);
}

.icon-btn svg {
	width: 18px;
	height: 18px;
}

/* Calendar header nav buttons */
.calendar-header .row .icon-btn {
	width: 32px;
	height: 32px;
	border-radius: 10px;
}

/* Timeline header buttons fix */
.timeline-header .btn.secondary {
	min-width: 140px;
	white-space: nowrap;
	padding: 0 20px;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.calendar-day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.calendar-day:hover {
	background: var(--primary-light);
	color: var(--primary);
	transform: scale(1.1);
}

.calendar-day.today {
	background: var(--primary-light);
	color: var(--primary);
}

.calendar-day.active {
	background: var(--primary);
	color: #fff;
	box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

/* Timeline */
.timeline-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--sp-4);
}

.timeline-container {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.timeline-scroll {
	padding: var(--sp-6);
	overflow-y: auto;
	position: relative;
	height: 600px;
}

.timeline-hour {
	height: 100px;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: flex-start;
	padding-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

.event-card {
	position: absolute;
	left: 80px;
	right: 24px;
	border-radius: 8px;
	padding: 4px 10px;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 24px;
}

.event-card:hover {
	transform: translateX(2px);
	z-index: 10;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.event-card.cyan {
	background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.event-card.purple {
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.event-card.orange {
	background: linear-gradient(135deg, #f59e0b, #d97706);
}

.event-card.blue {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.event-time {
	font-size: 10px;
	font-weight: 700;
	opacity: 0.95;
	margin-bottom: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}

.event-title {
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}

.event-category {
	font-size: 9px;
	font-weight: 600;
	opacity: 0.85;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
	display: none;
}


/* Compact single-line layout for very short events */
.event-card.compact {
	flex-direction: row;
	align-items: center;
	gap: 6px;
	padding: 2px 8px;
}

.event-card.compact .event-time {
	margin-bottom: 0;
	flex-shrink: 0;
}

.event-card.compact .event-title {
	margin-bottom: 0;
}

.event-card.compact .event-category {
	display: none;
}

/* Details Card */
.details-card {
	gap: var(--sp-6);
}

.status-badge {
	background: var(--primary-light);
	color: var(--primary);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.price-tag {
	font-size: 24px;
	font-weight: 800;
	color: var(--text);
	line-height: 1.2;
}

.detail-item {
	background: var(--surface-2);
	padding: 16px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.detail-icon {
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.consultant-info {
	background: var(--surface-2);
	padding: 16px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.consultant-avatar {
	width: 52px;
	height: 52px;
	border-radius: 14px;
}

.participants {
	display: flex;
	padding-left: 8px;
}

.participant-avatar {
	width: 36px;
	height: 36px;
	border: 3px solid var(--surface);
	margin-left: -10px;
}

/* Buttons */
.btn {
	height: 48px;
	padding: 0 24px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

.btn.secondary {
	background: var(--surface-2);
	color: var(--text);
	box-shadow: none;
	border: 1px solid var(--border);
}

.btn.secondary:hover {
	background: var(--border);
	transform: translateY(-2px);
}

.btn.ghost {
	background: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
	box-shadow: none;
}

.btn.ghost:hover {
	background: var(--primary-light);
}

/* Forms */
.input {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 14px 20px;
	font-size: 15px;
	width: 100%;
	outline: none;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.input:hover {
	border-color: var(--muted);
	transform: translateY(-1px);
}

.input:focus {
	border-color: var(--primary);
	box-shadow: 0 12px 24px rgba(99, 102, 241, 0.08);
}

.label {
	font-size: 13px;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
	display: block;
}

/* Modern global form field styles (apply app-wide) */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 12px 16px;
	font-size: 15px;
	width: 100%;
	outline: none;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
textarea:hover,
select:hover {
	border-color: var(--muted);
	transform: translateY(-1px);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
	border-color: var(--primary);
	box-shadow: 0 12px 24px rgba(99, 102, 241, 0.08);
	background: #fff;
}

/* Do not style checkboxes/radios with the global rule */
input[type="checkbox"],
input[type="radio"],
input[type="range"] {
	box-shadow: none;
	border: initial;
	border-radius: initial;
	padding: initial;
	width: initial;
}

/* Tables */
.table-container {
	background: var(--surface);
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th {
	text-align: left;
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 20px 24px;
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
}

.table td {
	padding: 20px 24px;
	font-size: 15px;
	font-weight: 500;
	border-bottom: 1px solid var(--border);
	color: var(--text);
}

.table tr:last-child td {
	border-bottom: none;
}

.table tr:hover td {
	background: var(--primary-light);
}

.table .slug-pill {
	background: var(--surface-2);
	padding: 4px 10px;
	border-radius: 8px;
	font-family: monospace;
	font-size: 13px;
	color: var(--muted);
}

/* Utilities */
.spacer {
	flex: 1;
}

.pill {
	background: var(--primary-light);
	color: var(--primary);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.muted {
	color: var(--muted);
}

.stack-2 {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stack-3 {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.row {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Animations */
@keyframes fade-in-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slide-in-right {
	from {
		opacity: 0;
		transform: translateX(20px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.btn.danger:hover {
	background: #fee2e2;
	color: #dc2626;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(220, 38, 38, 0.1);
}

.btn.ghost.danger:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #dc2626;
}


.btn {
	appearance: none;
	border: none;
	cursor: pointer;
	height: 36px;
	padding: 0 14px;
	border-radius: 14px;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(37, 99, 235, .22);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s;
}

.btn:hover::after {
	left: 100%;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.btn.secondary:hover {
	background: var(--primary-light);
	color: var(--primary);
	transform: translateY(-2px);
}

.btn.ghost:hover {
	background: var(--surface-2);
	border-color: var(--muted);
}

.btn.danger {
	background: var(--danger);
	box-shadow: 0 6px 14px rgba(220, 38, 38, .18);
}

.btn[disabled] {
	opacity: .6;
	cursor: not-allowed;
}

.select:hover {
	border-color: var(--muted);
}

.select:focus {
	border-color: var(--primary);
}

.textarea:hover {
	border-color: var(--muted);
}

.textarea:focus {
	border-color: var(--primary);
}

.label {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 6px;
	display: block;
}

.field {
	margin-bottom: var(--sp-4);
}

.pill {
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid var(--border);
	color: var(--muted);
}

.muted {
	color: var(--muted);
}

.btn.small {
	padding: 6px 12px;
	font-size: 13px;
	height: auto;
}

.btn.danger,
.danger {
	color: #dc2626;
}

.btn.danger:hover {
	background: #fef2f2;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--border);
	text-align: left;
}

.table th {
	color: var(--muted);
	font-weight: 500;
}

.slot {
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: 10px;
	margin: 6px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
}

.slot:hover {
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.blocked {
	color: var(--muted);
}

.debug:hover {
	box-shadow: inset 0 0 20px rgba(159, 229, 112, 0.1);
}

/* Utilities */
.stack-2>*+* {
	margin-top: var(--sp-2);
}

.stack-3>*+* {
	margin-top: var(--sp-3);
}

.stack-4>*+* {
	margin-top: var(--sp-4);
}

.center {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Responsive */
@media (max-width: 960px) {
	.app {
		grid-template-columns: 1fr;
		grid-template-rows: 56px auto 1fr;
		grid-template-areas: "topbar" "sidebar" "content";
	}

	.home-grid {
		grid-template-columns: 1fr;
	}

	.dashboard-right {
		display: none;
	}
}

/* Landing Page Styles */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--accent-pink));
	z-index: 1001;
	transition: width 0.1s ease-out;
}

.landing {
	background: #fff;
	color: #1e293b;
	overflow-x: hidden;
	position: relative;
}

.grain {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.landing::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('https://grainy-gradients.vercel.app/noise.svg');
	opacity: 0.05;
	pointer-events: none;
	z-index: 999;
}

.landing-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 80px;
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	z-index: 100;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 20px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.logo-text {
	display: inline-block;
	background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--accent-orange), var(--accent-cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.landing-logo:hover {
	transform: scale(1.05);
}

.landing-links {
	display: flex;
	gap: 32px;
}

.landing-links a {
	color: #1e293b;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
	opacity: 0.7;
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 0.7;
		transform: translateY(0);
	}
}

.landing-links a:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.landing-actions {
	display: flex;
	gap: 16px;
}

.landing-hero {
	padding: 40px 20px;
	text-align: center;
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}

.landing-hero h1 {
	margin-bottom: 24px;
}

.gradient-text {
	background: linear-gradient(90deg, var(--primary), var(--accent-pink));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-btns {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 40px;
}

.hero-preview {
	margin-top: 40px;
	position: relative;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.preview-window {
	width: 600px;
	height: 400px;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	z-index: 2;
}

.preview-header {
	height: 40px;
	background: rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	padding: 0 20px;
	gap: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.preview-dots {
	display: flex;
	gap: 6px;
}

.preview-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
}

.preview-address {
	background: rgba(255, 255, 255, 0.8);
	padding: 4px 16px;
	border-radius: 6px;
	font-size: 12px;
	color: #94a3b8;
	flex: 1;
	text-align: center;
}

.preview-content {
	flex: 1;
	background: #fff;
	padding: 32px;
	overflow: hidden;
}

.mock-booking-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	text-align: left;
}

.mock-header {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mock-avatar {
	width: 48px;
	height: 48px;
	background: var(--primary-light);
	border-radius: 50%;
}

.mock-title {
	font-weight: 700;
	font-size: 18px;
}

.mock-subtitle {
	font-size: 14px;
	color: var(--muted);
}

.mock-calendar-header {
	font-weight: 600;
	margin-bottom: 12px;
}

.mock-days {
	display: flex;
	gap: 8px;
}

.mock-day {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--surface-2);
	font-size: 14px;
}

.mock-day.selected {
	background: var(--primary);
	color: #fff;
}

.mock-slots {
	display: flex;
	gap: 12px;
}

.mock-slot {
	padding: 10px 16px;
	border: 1px solid var(--primary);
	color: var(--primary);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
}

.floating-element {
	position: absolute;
	z-index: 3;
	animation: float-slow 6s ease-in-out infinite;
}

.element-1 {
	top: 40px;
	right: 150px;
	width: 240px;
}

.element-2 {
	bottom: 60px;
	left: 150px;
	width: 280px;
}

.feature-list {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	font-weight: 500;
	color: var(--text);
}

.feature-item svg {
	color: #10b981;
}

.mock-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.mock-dashboard {
	width: 100%;
	background: #fff;
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
	text-align: left;
}

.mock-dashboard-header {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 24px;
}

.event-type-card.mock {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	text-align: left;
}

.section-visual.glass img {
	animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-15px);
	}
}

.landing-section h2 {
	font-size: 56px;
	letter-spacing: -0.02em;
}

/* Reveal Animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.reveal-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-visible .section-content {
	animation: slide-in-left 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.reveal-visible.reverse .section-content {
	animation: slide-in-right 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slide-in-left {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slide-in-right {
	from {
		opacity: 0;
		transform: translateX(50px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.landing-section {
	padding: 160px 80px;
	display: flex;
	align-items: center;
	gap: 120px;
	max-width: 1200px;
	margin: 0 auto;
}

.landing-section.reverse {
	flex-direction: row-reverse;
}

.section-content {
	flex: 1;
}

.section-content h2 {
	font-size: 64px;
	font-weight: 800;
	margin-bottom: 32px;
	line-height: 1.1;
}

.section-content p {
	font-size: 22px;
	color: #64748b;
	line-height: 1.6;
	opacity: 0.8;
}

.section-visual {
	flex: 1;
	background: #f8fafc;
	border-radius: 32px;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.mock-calendar {
	background: #fff;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mock-header {
	height: 24px;
	background: #f1f5f9;
	border-radius: 6px;
	width: 60%;
}

.mock-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	flex: 1;
}

.mock-slot {
	background: #f8fafc;
	border-radius: 8px;
	border: 1px dashed #e2e8f0;
}

.mock-workflow {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.workflow-step {
	background: #fff;
	padding: 16px 24px;
	border-radius: 16px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.workflow-line {
	width: 2px;
	height: 40px;
	background: linear-gradient(to bottom, var(--primary), transparent);
}

.step-visual {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}

.calendar-pill,
.link-pill {
	background: var(--surface-2);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--primary);
	border: 1px solid var(--border);
}

.availability-mini-grid {
	display: flex;
	gap: 4px;
}

.mini-day {
	width: 20px;
	height: 30px;
	background: var(--primary-light);
	border-radius: 4px;
	border: 1px solid var(--primary);
}

.landing-steps {
	padding: 100px 80px;
	max-width: 1200px;
	margin: 0 auto;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.step-card {
	background: var(--surface);
	padding: 60px 40px;
	border-radius: 40px;
	text-align: center;
	transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}

.step-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--grad-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.step-card:hover {
	transform: translateY(-16px);
	background: #fff;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
	border-color: var(--primary-light);
}

.step-card:hover::before {
	opacity: 1;
}

.step-num {
	width: 56px;
	height: 56px;
	background: var(--primary);
	color: #fff;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 24px;
	margin: 0 auto 32px;
	box-shadow: 0 12px 24px rgba(99, 102, 241, 0.2);
	transform: rotate(-5deg);
	transition: transform 0.3s ease;
}

.step-card:hover .step-num {
	transform: rotate(0deg) scale(1.1);
}

.step-card h3 {
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.step-card p {
	color: var(--text-secondary);
	line-height: 1.6;
	font-size: 18px;
	margin-bottom: 40px;
}

.step-visual {
	height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	background: var(--bg-secondary);
	border-radius: 24px;
	padding: 20px;
	border: 1px solid var(--border);
}

.calendar-pill {
	background: #fff;
	padding: 12px 24px;
	border-radius: 100px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
	font-weight: 600;
	color: var(--primary);
	margin: 8px 0;
	border: 1px solid var(--border);
	width: 180px;
}

.availability-mini-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.mini-day {
	width: 32px;
	height: 48px;
	background: var(--primary-light);
	border-radius: 8px;
	border: 1px solid var(--primary);
	opacity: 0.3;
}

.link-pill {
	background: #fff;
	padding: 16px 32px;
	border-radius: 100px;
	box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
	border: 2px solid var(--primary-light);
	width: 100%;
	max-width: 260px;
	transition: all 0.3s ease;
	position: relative;
	z-index: 2;
}

.step-card:hover .link-pill {
	border-color: var(--primary);
	transform: scale(1.05);
}

.booked-toast {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: #10b981;
	color: #fff;
	padding: 10px 20px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
	border: 2px solid rgba(255, 255, 255, 0.3);
	z-index: 10;
}

@keyframes float-alt {

	0%,
	100% {
		transform: translateY(0) rotate(0);
	}

	50% {
		transform: translateY(-10px) rotate(2deg);
	}
}

.floating-alt {
	animation: float-alt 4s ease-in-out infinite;
}

/* MyPage Section Styles */
.mypage-section {
	position: relative;
	overflow: hidden;
}

.mypage-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.mypage-badge {
	position: relative;
	z-index: 1;
	animation: pulse-glow 3s ease-in-out infinite;
}

.mypage-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

.mypage-feature-card {
	padding: 48px 32px;
	border-radius: var(--radius);
	text-align: center;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.9);
	position: relative;
	overflow: hidden;
}

.mypage-feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--grad-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mypage-feature-card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
	border-color: var(--primary);
}

.mypage-feature-card:hover::before {
	opacity: 1;
}

.mypage-feature-card .feature-icon {
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mypage-feature-card:hover .feature-icon {
	transform: scale(1.15) rotate(5deg);
}

.mypage-comparison {
	position: relative;
	z-index: 1;
}

.mypage-comparison ul li {
	display: flex;
	align-items: center;
	gap: 8px;
	transition: transform 0.2s ease;
}

.mypage-comparison ul li:hover {
	transform: translateX(4px);
}

.landing-pricing {
	padding: 100px 80px;
	max-width: 1000px;
	margin: 0 auto;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.pricing-card {
	background: #fff;
	padding: 60px;
	border-radius: 40px;
	border: 1px solid #e2e8f0;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-visible .pricing-card:nth-child(1) {
	animation: fade-in-up 0.8s ease forwards 0.1s;
}

.reveal-visible .pricing-card:nth-child(2) {
	animation: fade-in-up 0.8s ease forwards 0.3s;
}

@keyframes fade-in-up {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pricing-card.featured {
	border-color: var(--primary);
	box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
	background: linear-gradient(to bottom right, #fff, #f5f7ff);
}

.pricing-card.featured::after {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, var(--primary), var(--accent-pink), var(--primary));
	z-index: -1;
	border-radius: 42px;
	opacity: 0.3;
	filter: blur(10px);
}

.pricing-badge {
	position: absolute;
	top: 24px;
	right: 24px;
	background: var(--primary-light);
	color: var(--primary);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.pricing-card h3 {
	font-size: 24px;
	margin-bottom: 16px;
}

.price {
	font-size: 48px;
	font-weight: 800;
	margin-bottom: 32px;
}

.price span {
	font-size: 18px;
	color: #64748b;
	font-weight: 500;
}

.pricing-card ul {
	list-style: none;
	padding: 0;
	margin: 0 0 40px 0;
	flex: 1;
}

.pricing-card li {
	margin-bottom: 16px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 12px;
}

.pricing-card li::before {
	content: '✓';
	color: var(--primary);
	font-weight: 700;
}

.landing-footer {
	background: #f8fafc;
	padding: 80px 80px 40px;
	border-top: 1px solid #e2e8f0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	margin-bottom: 60px;
}

.footer-brand {
	font-weight: 700;
	font-size: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-links {
	display: flex;
	gap: 80px;
}

.footer-links h4 {
	margin-bottom: 20px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
}

.footer-links a {
	display: block;
	margin-bottom: 12px;
	color: #64748b;
	font-weight: 500;
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: var(--primary);
	transform: translateX(5px);
}

.footer-bottom {
	text-align: center;
	color: #94a3b8;
	font-size: 14px;
	padding-top: 40px;
	border-top: 1px solid #e2e8f0;
}

/* Legal Pages */
.legal-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #fff;
}

.legal-nav {
	padding: 20px 40px;
	border-bottom: 1px solid #e2e8f0;
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 100;
}

.legal-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 20px;
	color: inherit;
	text-decoration: none;
}

.legal-logo:hover {
	opacity: 0.8;
}

.legal-content {
	flex: 1;
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 40px;
	width: 100%;
}

.legal-content h1 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--text);
}

.legal-updated {
	color: #64748b;
	font-size: 14px;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.legal-content section {
	margin-bottom: 32px;
}

.legal-content h2 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--text);
}

.legal-content h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 20px 0 12px;
	color: var(--text);
}

.legal-content p {
	color: #475569;
	line-height: 1.7;
	margin-bottom: 12px;
}

.legal-content ul {
	margin: 12px 0 20px 24px;
	color: #475569;
	line-height: 1.8;
}

.legal-content li {
	margin-bottom: 8px;
}

.legal-footer {
	background: #f8fafc;
	padding: 40px;
	text-align: center;
	border-top: 1px solid #e2e8f0;
}

.legal-footer-links {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-bottom: 16px;
}

.legal-footer-links a {
	color: #64748b;
	font-size: 14px;
	transition: color 0.2s;
}

.legal-footer-links a:hover {
	color: var(--primary);
}

.legal-footer p {
	color: #94a3b8;
	font-size: 13px;
}

/* Contact Page */
.contact-intro {
	font-size: 18px;
	color: #475569;
	margin-bottom: 40px;
	line-height: 1.6;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 48px;
	margin-bottom: 60px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
}

.contact-card h3 {
	font-size: 16px;
	margin: 0 0 8px 0;
	color: var(--text);
}

.contact-card p {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 8px;
}

.contact-card a {
	color: var(--primary);
	font-weight: 500;
	font-size: 14px;
}

.contact-card a:hover {
	text-decoration: underline;
}

.contact-form {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px;
}

.contact-form .form-group {
	margin-bottom: 20px;
}

.contact-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text);
	font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form .btn {
	width: 100%;
	padding: 14px 24px;
	font-size: 16px;
}

.form-error {
	background: #fef2f2;
	color: #dc2626;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.contact-success {
	text-align: center;
	padding: 60px 40px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
}

.contact-success .success-icon {
	width: 64px;
	height: 64px;
	background: #dcfce7;
	color: #16a34a;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	margin: 0 auto 20px;
}

.contact-success h3 {
	font-size: 24px;
	margin-bottom: 12px;
	color: var(--text);
}

.contact-success p {
	color: #64748b;
	margin-bottom: 24px;
}

.contact-faq {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #e2e8f0;
}

.contact-faq h2 {
	font-size: 24px;
	margin-bottom: 24px;
}

.faq-item {
	margin-bottom: 24px;
	padding: 20px;
	background: #f8fafc;
	border-radius: 12px;
}

.faq-item h3 {
	font-size: 16px;
	margin: 0 0 8px 0;
	color: var(--text);
}

.faq-item p {
	font-size: 14px;
	color: #64748b;
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.legal-content {
		padding: 40px 24px;
	}

	.legal-content h1 {
		font-size: 28px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.legal-footer-links {
		flex-direction: column;
		gap: 16px;
	}

	.legal-nav {
		padding: 16px 24px;
	}
}

/* Modal */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 20000;
	padding: 24px;
	overflow-y: auto;
}

.modal-content {
	background: white;
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 48px);
	display: flex;
	flex-direction: column;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
	margin: auto;
}

/* ===== Confirm Dialog ===== */
.confirm-dialog {
	max-width: 420px;
	padding: 32px;
	text-align: center;
}

.confirm-dialog-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.confirm-dialog-icon.default {
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
	color: #6366f1;
}

.confirm-dialog-icon.danger {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	color: #dc2626;
}

.confirm-dialog-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 12px 0;
}

.confirm-dialog-message {
	font-size: 15px;
	color: var(--muted);
	margin: 0 0 28px 0;
	line-height: 1.6;
}

.confirm-dialog-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.confirm-dialog-actions .btn {
	flex: 1;
	height: 44px;
	font-size: 15px;
	font-weight: 600;
}

.btn-secondary {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
}

.btn-secondary:hover {
	background: #e2e8f0;
	border-color: #cbd5e1;
}

.btn-danger {
	background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
	color: white;
}

.btn-danger:hover {
	background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* ===== Toast Notifications ===== */
.toast-container {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
}

.toast {
	background: white;
	border-radius: 12px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--border);
	min-width: 320px;
	pointer-events: auto;
	animation: slideIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.toast-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.toast-message {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	line-height: 1.5;
}

.toast-success {
	border-left: 4px solid #10b981;
}

.toast-success .toast-icon {
	color: #10b981;
}

.toast-error {
	border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
	color: #ef4444;
}

.toast-warning {
	border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
	color: #f59e0b;
}

.toast-info {
	border-left: 4px solid #3b82f6;
}

.toast-info .toast-icon {
	color: #3b82f6;
}

@media (max-width: 640px) {
	.toast-container {
		top: 16px;
		right: 16px;
		left: 16px;
	}

	.toast {
		min-width: auto;
		width: 100%;
	}
}

/* ===== Availability Page - Calendly Style ===== */
.availability-page {
	max-width: 1400px;
	padding: 0;
}

.availability-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 32px;
}

.availability-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 8px 0;
}

.availability-subtitle {
	font-size: 15px;
	color: var(--muted);
	margin: 0;
}

.availability-et-selector {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--surface);
	padding: 10px 16px;
	border-radius: 8px;
	border: 1px solid var(--border);
}

.availability-et-label {
	font-size: 13px;
	color: var(--muted);
}

.availability-et-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.availability-et-select {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	min-width: 200px;
}

.availability-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 32px;
}

@media (max-width: 1100px) {
	.availability-grid {
		grid-template-columns: 1fr;
	}

	.availability-preview {
		order: -1;
	}
}

.availability-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.availability-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 24px;
}

.availability-card:hover {
	transform: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.availability-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.availability-card-header h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	margin: 0;
}

.availability-card-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.saving-status {
	font-size: 13px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 20px;
	transition: all 0.2s ease;
}

.saving-status.saving {
	color: var(--muted);
	background: var(--surface-2);
}

.saving-status.saved {
	color: #10b981;
	background: #ecfdf5;
	animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.availability-tz-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.availability-tz-label {
	font-size: 13px;
	color: var(--muted);
}

.availability-tz-select {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 13px;
	color: var(--text);
	cursor: pointer;
}

/* Weekly Hours List */
.weekly-hours-list {
	display: flex;
	flex-direction: column;
}

.weekly-hours-day {
	display: flex;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
	gap: 16px;
}

.weekly-hours-day:last-child {
	border-bottom: none;
}

.weekly-hours-day-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 100px;
	padding-top: 8px;
}

.weekly-hours-day-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.weekly-hours-day-name.disabled {
	color: var(--muted);
}

/* Toggle Switch */
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #e2e8f0;
	transition: 0.2s;
	border-radius: 20px;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.2s;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
	background-color: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
	transform: translateX(16px);
}

/* Time Windows */
.weekly-hours-windows {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.weekly-hours-unavailable {
	font-size: 14px;
	color: var(--muted);
	padding: 8px 0;
}

.time-window-row {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface-2);
	padding: 6px 10px;
	border-radius: 8px;
}

.time-select {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 6px 8px;
	font-size: 13px;
	color: var(--text);
	cursor: pointer;
	min-width: 100px;
}

.time-select:hover {
	border-color: var(--primary);
}

.time-separator {
	color: var(--muted);
	font-size: 13px;
}

.time-window-delete {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--muted);
	padding: 4px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.time-window-delete:hover {
	background: #fee2e2;
	color: #ef4444;
}

.add-time-window {
	background: none;
	border: 2px dashed var(--border);
	cursor: pointer;
	color: var(--muted);
	padding: 8px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.add-time-window:hover {
	border-color: var(--primary);
	color: var(--primary);
	background: var(--primary-light);
}

.copy-hours-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--muted);
	padding: 8px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	margin-left: auto;
}

.copy-hours-btn:hover {
	background: var(--primary-light);
	color: var(--primary);
}

/* Scheduling Limits */
.scheduling-limits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.scheduling-limits-grid {
		grid-template-columns: 1fr;
	}
}

.limit-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.limit-item label {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.limit-input-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.limit-input-row input {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	width: 100px;
	color: var(--text);
}

.limit-input-row input:focus {
	outline: none;
	border-color: var(--primary);
}

.limit-input-row span {
	font-size: 13px;
	color: var(--muted);
}

.limit-help {
	font-size: 12px;
	color: var(--muted);
	margin: 0;
}

.btn-save-guardrails {
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 8px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-save-guardrails:hover {
	background: #4f46e5;
	transform: translateY(-1px);
}

/* Date Overrides */
.btn-add-override {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-add-override:hover {
	background: var(--primary-light);
	border-color: var(--primary);
	color: var(--primary);
}

.override-description {
	font-size: 14px;
	color: var(--muted);
	margin: 0 0 20px 0;
	line-height: 1.5;
}

.no-overrides {
	text-align: center;
	padding: 40px 20px;
	color: var(--muted);
}

.no-overrides svg {
	margin-bottom: 12px;
	opacity: 0.5;
}

.no-overrides p {
	font-size: 14px;
	margin: 0;
}

.overrides-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.override-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: var(--surface-2);
	border-radius: 12px;
	border-left: 4px solid var(--primary);
	transition: all 0.2s;
}

.override-item.past {
	opacity: 0.5;
	border-left-color: var(--muted);
}

.override-item.unavailable {
	border-left-color: #ef4444;
	background: #fef2f2;
}

.override-item.available {
	border-left-color: #22c55e;
	background: #f0fdf4;
}

.override-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 50px;
}

.override-day {
	font-size: 24px;
	font-weight: 700;
	color: var(--text);
	line-height: 1;
}

.override-month {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
}

.override-details {
	flex: 1;
}

.override-day-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 2px;
}

.override-hours {
	font-size: 13px;
	color: var(--muted);
}

.override-reason {
	font-size: 12px;
	color: #f59e0b;
	margin-top: 4px;
	font-style: italic;
}

.override-delete {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--muted);
	padding: 8px;
	border-radius: 8px;
	transition: all 0.2s;
}

.override-delete:hover {
	background: #fee2e2;
	color: #ef4444;
}

/* Preview Card */
.availability-preview {
	position: sticky;
	top: 120px;
	height: fit-content;
}

.preview-card {
	background: var(--surface);
	border: 1px solid var(--border);
}

.preview-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.preview-header h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 0;
}

.preview-tz-select {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 12px;
	color: var(--text);
	cursor: pointer;
}

.preview-subtitle {
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 20px 0;
}

.preview-loading {
	text-align: center;
	padding: 40px;
	color: var(--muted);
}

.preview-days {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.preview-day {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.preview-day:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.preview-day-header {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 10px;
}

.preview-day-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.preview-day-date {
	font-size: 13px;
	color: var(--muted);
}

.preview-no-slots {
	font-size: 13px;
	color: var(--muted);
	font-style: italic;
}

.preview-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.preview-slot {
	background: var(--primary-light);
	color: var(--primary);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
}

/* Modal Base Styles */
.modal {
	background: var(--surface);
	border-radius: 16px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
	max-width: 560px;
	width: 100%;
	max-height: calc(100vh - 48px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.close-btn {
	background: none;
	border: none;
	font-size: 24px;
	color: var(--muted);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	line-height: 1;
}

.close-btn:hover {
	background: var(--surface-2);
	color: var(--text);
}

.btn-cancel {
	background: transparent;
	border: 1px solid var(--border);
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	color: var(--text);
}

.btn-cancel:hover {
	background: var(--surface-2);
}

.btn-apply {
	background: var(--primary);
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	color: white;
}

.btn-apply:hover {
	background: var(--accent-purple);
}

/* Override Modal */
.override-modal {
	max-width: 480px;
	padding: 0;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid var(--border);
}

.modal-header h2 {
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
	margin: 0;
}

.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: var(--muted);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	line-height: 1;
}

.modal-close:hover {
	background: var(--surface-2);
	color: var(--text);
}

.modal-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
	min-height: 0;
}

.modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 20px 24px;
	border-top: 1px solid var(--border);
	background: var(--surface-2);
}

.form-group {
	margin-bottom: 20px;
}

.form-group:last-child {
	margin-bottom: 0;
}

.form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
}

.form-input {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--text);
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
}

.override-type-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.override-type-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
}

.override-type-option:hover {
	border-color: var(--primary);
	background: var(--primary-light);
}

.override-type-option.selected {
	border-color: var(--primary);
	background: var(--primary-light);
}

.override-type-option input {
	margin-top: 3px;
}

.override-type-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.override-type-content strong {
	font-size: 14px;
	color: var(--text);
}

.override-type-content span {
	font-size: 12px;
	color: var(--muted);
}

.time-window-inputs {
	display: flex;
	align-items: center;
	gap: 12px;
}

.time-window-inputs .form-input {
	flex: 1;
}

.time-window-inputs span {
	color: var(--muted);
	font-size: 14px;
}

.btn-cancel {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-cancel:hover {
	background: var(--surface-2);
}

.btn-apply {
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 8px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-apply:hover {
	background: #4f46e5;
}

@media (max-width: 768px) {
	.landing-nav {
		padding: 20px;
	}

	.landing-links {
		display: none;
	}

	.landing-hero {
		padding: 40px 20px;
	}

	.landing-hero h1 {
		font-size: 48px;
	}

	.hero-cards {
		display: none;
	}

	.landing-section {
		padding: 60px 20px;
		flex-direction: column;
	}

	.landing-section.reverse {
		flex-direction: column;
	}

	.footer-content {
		flex-direction: column;
		gap: 40px;
	}

	.footer-links {
		gap: 40px;
	}

	/* MyPage responsive */
	.mypage-section {
		padding: 80px 20px !important;
	}

	.mypage-features-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mypage-comparison {
		padding: 32px 24px !important;
	}

	.mypage-comparison>div {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}

	.steps-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bento-grid {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto !important;
	}

	.bento-1,
	.bento-2,
	.bento-3,
	.bento-4 {
		grid-column: span 1 !important;
		grid-row: span 1 !important;
	}
}

/* ========== Workflows Page Styles ========== */
.workflows-page {
	max-width: 900px;
}

.workflows-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 32px;
}

.workflows-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 8px 0;
}

.workflows-subtitle {
	color: var(--muted);
	font-size: 15px;
	margin: 0;
}

.btn-create-workflow {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--primary);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-create-workflow:hover {
	background: #4f46e5;
	transform: translateY(-1px);
}

.workflows-empty {
	background: var(--surface);
	border: 2px dashed var(--border);
	border-radius: 16px;
	padding: 60px;
	text-align: center;
}

.workflows-empty-icon {
	width: 64px;
	height: 64px;
	background: var(--primary-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: var(--primary);
}

.workflows-empty-icon svg {
	width: 32px;
	height: 32px;
}

.workflows-empty h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--text);
}

.workflows-empty p {
	color: var(--muted);
	margin: 0 0 24px 0;
}

.workflows-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.workflow-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.2s;
}

.workflow-card:hover {
	box-shadow: var(--shadow);
}

.workflow-card.inactive {
	opacity: 0.7;
}

.workflow-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--border);
}

.workflow-toggle {
	flex-shrink: 0;
}

.workflow-info {
	flex: 1;
	cursor: pointer;
}

.workflow-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 6px 0;
}

.workflow-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.workflow-trigger-badge {
	background: var(--primary-light);
	color: var(--primary);
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
}

.workflow-timing {
	color: var(--muted);
	font-size: 13px;
}

.workflow-event-type {
	color: var(--muted);
	font-size: 13px;
}

.workflow-event-type::before {
	content: '•';
	margin-right: 10px;
}

.workflow-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.btn-edit-workflow {
	background: var(--surface-2);
	color: var(--text);
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-edit-workflow:hover {
	background: var(--border);
}

.btn-delete-workflow {
	background: transparent;
	color: #ef4444;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-delete-workflow:hover {
	background: #fef2f2;
}

.workflow-card-body {
	padding: 16px 24px;
	background: var(--surface-2);
}

.workflow-action-preview {
	display: flex;
	align-items: center;
	gap: 12px;
}

.action-icon {
	width: 36px;
	height: 36px;
	background: white;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
}

.action-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.action-type {
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
}

.action-subject {
	font-size: 12px;
	color: var(--muted);
}

/* Workflow Modal */
.workflow-modal {
	max-width: 600px;
	padding: 0;
}

.form-divider {
	display: flex;
	align-items: center;
	margin: 24px 0;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.form-divider::before,
.form-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

.form-divider span {
	padding: 0 16px;
}

.trigger-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.trigger-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--surface-2);
	border: 2px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
}

.trigger-option:hover {
	background: var(--primary-light);
}

.trigger-option.selected {
	background: var(--primary-light);
	border-color: var(--primary);
}

.trigger-option input {
	display: none;
}

.trigger-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
}

.timing-inputs {
	display: flex;
	align-items: center;
	gap: 10px;
}

.timing-value {
	width: 80px !important;
}

.timing-unit,
.timing-when {
	width: auto !important;
}

.action-type-options {
	display: flex;
	gap: 12px;
}

.action-type-option {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: var(--surface-2);
	border: 2px solid transparent;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
}

.action-type-option:hover {
	background: var(--primary-light);
}

.action-type-option.selected {
	background: var(--primary-light);
	border-color: var(--primary);
}

.action-type-option input {
	display: none;
}

.action-type-option svg {
	color: var(--primary);
}

.email-body-wrapper {
	position: relative;
}

.form-textarea {
	width: 100%;
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	min-height: 150px;
	transition: all 0.2s;
}

.form-textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.placeholders-help {
	margin-top: 12px;
	padding: 12px;
	background: var(--surface-2);
	border-radius: 8px;
}

.placeholders-label {
	font-size: 12px;
	color: var(--muted);
	font-weight: 500;
	display: block;
	margin-bottom: 8px;
}

.placeholders-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.placeholder-btn {
	background: white;
	border: 1px solid var(--border);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
	color: var(--primary);
	cursor: pointer;
	transition: all 0.2s;
}

.placeholder-btn:hover {
	background: var(--primary-light);
	border-color: var(--primary);
}

/* Form styles enhancement */
.form-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 14px;
	transition: all 0.2s;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-select {
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 14px;
	background: white;
	cursor: pointer;
	transition: all 0.2s;
}

.form-select:focus {
	outline: none;
	border-color: var(--primary);
}

/* ========== Event Types Page Styles ========== */
.event-types-page {
	max-width: 900px;
}

.event-types-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 32px;
}

.event-types-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 8px 0;
}

.event-types-subtitle {
	color: var(--muted);
	font-size: 15px;
	margin: 0;
}

.btn-create-event-type {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--primary);
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-create-event-type:hover {
	background: #4f46e5;
	transform: translateY(-1px);
}

.event-types-empty {
	background: var(--surface);
	border: 2px dashed var(--border);
	border-radius: 16px;
	padding: 60px;
	text-align: center;
}

.event-types-empty-icon {
	width: 64px;
	height: 64px;
	background: var(--primary-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: var(--primary);
}

.event-types-empty-icon svg {
	width: 32px;
	height: 32px;
}

.event-types-empty h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--text);
}

.event-types-empty p {
	color: var(--muted);
	margin: 0 0 24px 0;
}

.event-types-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.event-type-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.2s;
	position: relative;
}

.event-type-card:hover {
	box-shadow: var(--shadow);
	border-color: var(--primary);
}

.event-type-card.inactive {
	opacity: 0.6;
}

.event-type-card.inactive .event-type-color-bar {
	background: var(--muted);
}

.event-type-color-bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--primary);
}

.event-type-card-content {
	display: flex;
	align-items: center;
	padding: 20px 24px;
	padding-left: 28px;
	gap: 16px;
}

.event-type-main {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
}

.toggle-switch.small {
	width: 40px;
	height: 22px;
}

.toggle-switch.small .toggle-slider::before {
	height: 16px;
	width: 16px;
	left: 3px;
	bottom: 3px;
}

.toggle-switch.small input:checked+.toggle-slider::before {
	transform: translateX(18px);
}

.event-type-info {
	flex: 1;
}

.event-type-name {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 4px 0;
}

.event-type-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--muted);
	font-size: 13px;
}

.event-type-duration {
	font-weight: 500;
}

.event-type-location {
	display: flex;
	align-items: center;
	gap: 6px;
}

.event-type-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.event-type-action-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--surface-2);
	border: none;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	transition: all 0.2s;
}

.event-type-action-btn:hover {
	background: var(--border);
}

.event-type-action-btn.copy-link {
	background: var(--primary-light);
	color: var(--primary);
}

.event-type-action-btn.copy-link:hover {
	background: var(--primary);
	color: white;
}

.event-type-action-btn.copy-link.copied {
	background: #ecfdf5;
	color: #059669;
}

.event-type-action-btn.delete {
	background: transparent;
	color: var(--muted);
	padding: 8px;
}

.event-type-action-btn.delete:hover {
	background: #fef2f2;
	color: #ef4444;
}

.event-type-link-preview {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	padding-left: 28px;
	background: var(--surface-2);
	border-top: 1px solid var(--border);
	font-size: 13px;
}

.event-type-link-preview .link-label {
	color: var(--muted);
}

.event-type-link-preview .link-url {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}

.event-type-link-preview .link-url:hover {
	text-decoration: underline;
}

/* Event Type Modal */
.event-type-modal {
	max-width: 560px;
	padding: 0;
}

.slug-input-wrapper {
	display: flex;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
}

.slug-prefix {
	padding: 12px 0 12px 14px;
	color: var(--muted);
	font-size: 14px;
	background: var(--surface-2);
	border-right: 1px solid var(--border);
	padding-right: 8px;
}

.slug-input {
	border: none !important;
	border-radius: 0 !important;
	padding-left: 8px !important;
}

.slug-input:focus {
	box-shadow: none !important;
}

.slug-input-wrapper:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Landing Page Animations */
@keyframes pulse-glow {

	0%,
	100% {
		opacity: 0.3;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.1);
		box-shadow: 0 0 15px var(--primary);
	}
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

.step-card:hover::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(255, 255, 255, 0.4),
			transparent);
	animation: shimmer 1.5s infinite;
}

.duration-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.duration-btn {
	padding: 10px 16px;
	background: var(--surface-2);
	border: 2px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	transition: all 0.2s;
}

.duration-btn:hover {
	background: var(--primary-light);
}

.duration-btn.selected {
	background: var(--primary-light);
	border-color: var(--primary);
	color: var(--primary);
}

.location-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.location-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: var(--surface-2);
	border: 2px solid transparent;
	border-radius: 8px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s;
}

.location-option:hover {
	background: var(--primary-light);
}

.location-option.selected {
	background: var(--primary-light);
	border-color: var(--primary);
}

.location-option input {
	display: none;
}

.buffer-inputs {
	display: flex;
	gap: 16px;
}

.buffer-input-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.buffer-input {
	width: 80px !important;
	flex: none;
}

.buffer-label {
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}

.form-error {
	background: #fef2f2;
	color: #dc2626;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 8px;
}

/* ========== Full Calendar View Styles ========== */
.fc-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: 20px;
}

.fc-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 4px;
	flex-wrap: wrap;
	gap: 16px;
}

.fc-toolbar-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.fc-toolbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fc-nav-buttons {
	display: flex;
	gap: 4px;
}

.fc-nav-buttons .btn {
	padding: 8px 12px;
	min-width: 40px;
}

.fc-title {
	font-size: 22px;
	font-weight: 800;
	margin: 0;
	color: var(--text);
}

.fc-view-buttons {
	display: flex;
	background: var(--surface-2);
	border-radius: 12px;
	padding: 4px;
	gap: 4px;
}

.fc-view-buttons .btn {
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
}

.fc-view-buttons .btn.secondary {
	background: transparent;
	box-shadow: none;
}

.fc-calendar {
	flex: 1;
	overflow: auto;
	padding: 0;
}

/* Month View */
.fc-month-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	height: 100%;
	min-height: 600px;
}

.fc-weekday-header {
	padding: 16px 8px;
	text-align: center;
	font-weight: 700;
	font-size: 12px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
}

.fc-day-cell {
	min-height: 100px;
	border: 1px solid var(--border);
	border-top: none;
	padding: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: var(--surface);
}

.fc-day-cell:hover {
	background: var(--primary-light);
}

.fc-day-cell.other-month {
	background: var(--surface-2);
	opacity: 0.6;
}

.fc-day-cell.today {
	background: rgba(99, 102, 241, 0.05);
}

.fc-day-number {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}

.fc-day-number.today {
	background: var(--primary);
	color: #fff;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.fc-day-events {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.fc-event-pill {
	padding: 3px 6px;
	border-radius: 4px;
	font-size: 11px;
	cursor: pointer;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: flex;
	gap: 4px;
	transition: transform 0.2s ease;
}

.fc-event-pill:hover {
	transform: translateX(2px);
}

.fc-event-pill.blue {
	background: rgba(59, 130, 246, 0.15);
	color: #2563eb;
}

.fc-event-pill.orange {
	background: rgba(245, 158, 11, 0.15);
	color: #d97706;
}

.fc-event-pill.purple {
	background: rgba(139, 92, 246, 0.15);
	color: #7c3aed;
}

.fc-event-time {
	font-weight: 600;
	flex-shrink: 0;
}

.fc-event-title {
	overflow: hidden;
	text-overflow: ellipsis;
}

.fc-more-events {
	font-size: 11px;
	color: var(--muted);
	font-weight: 600;
	padding: 2px 6px;
	cursor: pointer;
}

.fc-more-events:hover {
	color: var(--primary);
}

/* Week View */
.fc-week-view {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 700px;
}

.fc-week-header {
	display: grid;
	grid-template-columns: 60px repeat(7, 1fr);
	border-bottom: 1px solid var(--border);
	background: var(--surface-2);
	position: sticky;
	top: 0;
	z-index: 10;
}

.fc-time-gutter {
	width: 60px;
}

.fc-week-day-header {
	padding: 12px 8px;
	text-align: center;
	border-left: 1px solid var(--border);
}

.fc-week-day-header.today {
	background: rgba(99, 102, 241, 0.05);
}

.fc-week-day-name {
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.fc-week-day-num {
	font-size: 24px;
	font-weight: 700;
	color: var(--text);
	margin-top: 4px;
}

.fc-week-day-num.today {
	background: var(--primary);
	color: #fff;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.fc-week-body {
	flex: 1;
	overflow-y: auto;
}

.fc-week-row {
	display: grid;
	grid-template-columns: 60px repeat(7, 1fr);
	min-height: 60px;
	border-bottom: 1px solid var(--border);
}

.fc-time-label {
	padding: 8px;
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	text-align: right;
	border-right: 1px solid var(--border);
}

.fc-week-cell {
	position: relative;
	border-left: 1px solid var(--border);
	min-height: 60px;
}

.fc-week-event {
	position: absolute;
	left: 2px;
	right: 2px;
	padding: 4px 6px;
	border-radius: 6px;
	font-size: 11px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-week-event:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 2;
}

.fc-week-event.blue {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: #fff;
}

.fc-week-event.orange {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff;
}

.fc-week-event-time {
	font-weight: 700;
	font-size: 10px;
	opacity: 0.9;
}

.fc-week-event-title {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Day View */
.fc-day-view {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.fc-day-header {
	padding: 20px 24px;
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
}

.fc-day-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 12px;
}

.fc-day-title.today {
	color: var(--primary);
}

.fc-today-badge {
	background: var(--primary);
	color: #fff;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.fc-day-body {
	flex: 1;
	overflow-y: auto;
}

.fc-day-row {
	display: grid;
	grid-template-columns: 80px 1fr;
	min-height: 80px;
	border-bottom: 1px solid var(--border);
}

.fc-day-slot {
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fc-day-event {
	padding: 12px 16px;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-day-event:hover {
	transform: translateX(4px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.fc-day-event.blue {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: #fff;
}

.fc-day-event.orange {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff;
}

.fc-day-event-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fc-day-event-time {
	font-size: 12px;
	font-weight: 700;
	opacity: 0.9;
}

.fc-day-event-title {
	font-size: 16px;
	font-weight: 800;
}

.fc-day-event-detail {
	font-size: 12px;
	opacity: 0.8;
}

.fc-day-event-duration {
	font-size: 11px;
	opacity: 0.7;
}

/* Event Modal */
.fc-event-modal {
	max-width: 400px;
	width: 90%;
}

.fc-modal-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
	color: var(--text);
}

.fc-modal-row:last-child {
	border-bottom: none;
}

.fc-modal-row svg {
	color: var(--muted);
	flex-shrink: 0;
}

.fc-event-type-badge {
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.fc-event-type-badge.google {
	background: rgba(59, 130, 246, 0.15);
	color: #2563eb;
}

.fc-event-type-badge.microsoft {
	background: rgba(0, 120, 212, 0.15);
	color: #0078d4;
}

.fc-event-type-badge.booking {
	background: rgba(245, 158, 11, 0.15);
	color: #d97706;
}

/* Notifications */
.notifications-container {
	position: relative;
}

.notification-badge {
	animation: badge-pop 0.3s ease-out;
}

@keyframes badge-pop {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

.notifications-dropdown {
	animation: dropdown-slide 0.2s ease-out;
}

.dropdown-menu {
	animation: dropdown-slide 0.2s ease-out;
	background: #ffffff !important;
	z-index: 9999 !important;
}

@keyframes dropdown-slide {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.notification-item {
	transition: background 0.15s ease;
}

.notification-list-item:last-child {
	border-bottom: none !important;
}

.page-container {
	padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.fc-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.fc-title {
		font-size: 18px;
	}

	.fc-view-buttons .btn {
		padding: 6px 12px;
		font-size: 12px;
	}

	.fc-day-cell {
		min-height: 80px;
		padding: 4px;
	}

	.fc-event-pill {
		font-size: 10px;
	}

	.fc-week-header,
	.fc-week-row {
		grid-template-columns: 40px repeat(7, 1fr);
	}

	.fc-day-row {
		grid-template-columns: 60px 1fr;
	}

	.notifications-dropdown {
		min-width: 300px !important;
		right: -60px !important;
	}
}

/* ============================================
   PUBLIC PROFILE PAGE (Linktree-style)
   ============================================ */

.profile-page {
	min-height: 100vh;
	font-family: var(--profile-font, 'Inter', sans-serif);
	color: var(--profile-text, #1e293b);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 20px 60px;
}

.profile-page-loading {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
}

.profile-page-loading .loading-spinner.large {
	width: 48px;
	height: 48px;
	border: 4px solid var(--border);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.profile-page-error {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
}

.profile-page-error .error-content {
	text-align: center;
	padding: 40px;
}

.profile-page-error .error-icon {
	font-size: 64px;
	margin-bottom: 24px;
}

.profile-page-error h1 {
	font-size: 28px;
	margin-bottom: 12px;
}

.profile-page-error p {
	color: var(--muted);
	margin-bottom: 24px;
}

.profile-cover {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 200px;
	overflow: hidden;
}

.profile-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-container {
	max-width: 680px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	z-index: 1;
}

.profile-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	margin-bottom: 16px;
}

.profile-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-name {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--profile-text);
}

.profile-headline {
	font-size: 16px;
	color: var(--profile-text-secondary, #64748b);
	margin: 0 0 12px;
}

.profile-bio {
	font-size: 14px;
	line-height: 1.6;
	color: var(--profile-text-secondary);
	margin: 0 0 20px;
	max-width: 480px;
}

.profile-social-links {
	display: flex;
	gap: 12px;
	margin-bottom: 32px;
	flex-wrap: wrap;
	justify-content: center;
}

.social-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	background: var(--profile-card-bg, rgba(255, 255, 255, 0.1));
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.social-icon:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Custom Links */
.profile-links {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}

.profile-link-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	min-height: 56px;
	background: var(--profile-card-bg, #ffffff);
	color: var(--profile-text);
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
}

.profile-link-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.profile-link-btn .link-icon {
	position: absolute;
	left: 16px;
	font-size: 20px;
}

.profile-link-btn .link-title {
	font-size: 15px;
}

.profile-link-btn .link-description {
	font-size: 12px;
	opacity: 0.7;
	margin-top: 2px;
}

/* Button styles */
.profile-link-btn.rounded {
	border-radius: 12px;
}

.profile-link-btn.pill {
	border-radius: 999px;
}

.profile-link-btn.square {
	border-radius: 4px;
}

.profile-link-btn.outline {
	background: transparent;
	border: 2px solid var(--profile-primary, #6366f1);
	color: var(--profile-primary, #6366f1);
}

.profile-link-btn.ghost {
	background: transparent;
	border: none;
	box-shadow: none;
}

.profile-link-btn.ghost:hover {
	background: var(--profile-card-bg);
}

.profile-link-btn.shadow {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.profile-link-btn.glow {
	box-shadow: 0 0 20px var(--profile-primary, rgba(99, 102, 241, 0.4));
}

/* Event Types Section */
.profile-events {
	width: 100%;
	margin-bottom: 32px;
}

.profile-section-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--profile-text-secondary);
}

.profile-event-card {
	display: flex;
	align-items: center;
	padding: 16px;
	background: var(--profile-card-bg, #ffffff);
	border-radius: 12px;
	margin-bottom: 12px;
	text-decoration: none;
	color: var(--profile-text);
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.profile-event-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.profile-event-card .event-color-bar {
	width: 4px;
	height: 48px;
	border-radius: 2px;
	margin-right: 16px;
}

.profile-event-card .event-info {
	flex: 1;
	text-align: left;
}

.profile-event-card .event-name {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}

.profile-event-card .event-meta {
	font-size: 13px;
	color: var(--profile-text-secondary);
}

.profile-event-card .event-arrow {
	font-size: 20px;
	color: var(--profile-primary, #6366f1);
}

/* Footer */
.profile-footer {
	margin-top: auto;
	padding-top: 40px;
}

.powered-by {
	font-size: 12px;
	color: var(--profile-text-secondary);
	text-decoration: none;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.powered-by:hover {
	opacity: 1;
}

/* Glow effect theme */
.profile-page.glow-effect .profile-link-btn {
	box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.profile-page.glow-effect .profile-link-btn:hover {
	box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

/* ============================================
   MY PAGE EDITOR (Dashboard)
   ============================================ */

.my-page-editor .page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.my-page-editor .editor-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 24px;
}

.my-page-editor .editor-main {
	min-width: 0;
}

.my-page-editor .editor-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
}

/* Analytics Cards */
.stat-card {
	padding: 20px;
	text-align: center;
}

.stat-card .stat-value {
	font-size: 32px;
	font-weight: 800;
	color: var(--primary);
}

.stat-card .stat-label {
	font-size: 13px;
	color: var(--muted);
	margin-top: 4px;
}

/* Theme Grid */
.theme-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.theme-card {
	padding: 16px;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 2px solid transparent;
}

.theme-card:hover {
	transform: translateY(-2px);
}

.theme-card.selected {
	border-color: var(--primary);
}

/* Links List */
.links-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.link-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--surface-2);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.link-item:hover {
	background: var(--border);
}

.link-item.inactive {
	opacity: 0.5;
}

.link-item.dragging {
	opacity: 0.5;
	transform: scale(0.98);
}

.link-drag-handle {
	cursor: grab;
	color: var(--muted);
	font-size: 18px;
	user-select: none;
}

.link-drag-handle:active {
	cursor: grabbing;
}

.link-item .link-content {
	flex: 1;
	min-width: 0;
}

.link-item .link-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.link-item .link-icon-preview {
	font-size: 20px;
	line-height: 1;
	font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
}

.link-item .link-url {
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.link-item .link-stats {
	font-size: 12px;
	color: var(--muted);
}

.link-item .link-actions {
	display: flex;
	gap: 4px;
	opacity: 0;
	transition: opacity 0.2s;
}

.link-item:hover .link-actions {
	opacity: 1;
}

/* Toggle Rows */
.toggle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
}

.toggle-row:last-child {
	border-bottom: none;
}

.toggle-row input[type="checkbox"] {
	width: 20px;
	height: 20px;
	accent-color: var(--primary);
}

/* Live Preview */
.preview-sidebar {
	position: sticky;
	top: 24px;
}

.page-preview {
	border-radius: 16px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 500px;
}

.preview-phone {
	width: 260px;
	background: var(--preview-card-bg, #fff);
	border-radius: 32px;
	padding: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-notch {
	width: 80px;
	height: 24px;
	background: #000;
	border-radius: 12px;
	margin: 0 auto 16px;
}

.phone-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 12px;
}

.preview-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 12px;
	background: var(--border);
}

.preview-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.preview-name {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 4px;
}

.preview-headline {
	font-size: 12px;
	color: var(--preview-text-secondary, #64748b);
	margin-bottom: 8px;
}

.preview-bio {
	font-size: 11px;
	color: var(--preview-text-secondary);
	margin-bottom: 12px;
	line-height: 1.4;
}

.preview-social {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.preview-social span {
	font-size: 16px;
}

.preview-link {
	width: 100%;
	padding: 10px;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.preview-link.pill {
	border-radius: 999px;
}

.preview-link.square {
	border-radius: 4px;
}

.preview-link.outline {
	background: transparent;
	border: 1px solid var(--preview-primary, #6366f1);
	color: var(--preview-primary, #6366f1);
}

.preview-link-icon {
	font-size: 14px;
}

.preview-more {
	font-size: 11px;
	color: var(--muted);
	margin-top: 8px;
}

/* Link Modal */
.link-modal .modal-body {
	max-height: 60vh;
	overflow-y: auto;
}

.icon-picker {
	display: flex;
	flex-direction: column;
}

.emoji-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 8px;
}

.emoji-btn {
	width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	background: var(--surface);
	border-radius: 8px;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.emoji-btn:hover {
	background: var(--primary-light);
	border-color: var(--primary);
}

.field-error {
	color: #ef4444;
	font-size: 12px;
	margin-top: 4px;
}

input.error,
textarea.error {
	border-color: #ef4444;
}

/* Empty state */
.empty-links {
	text-align: center;
	padding: 40px;
	color: var(--muted);
}

/* Social Inputs Grid */
.social-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
	.my-page-editor .editor-layout {
		grid-template-columns: 1fr;
	}

	.preview-sidebar {
		display: none;
	}

	.theme-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.profile-page {
		padding: 24px 16px 40px;
	}

	.profile-avatar {
		width: 80px;
		height: 80px;
	}

	.profile-name {
		font-size: 24px;
	}

	.profile-link-btn {
		padding: 14px 20px;
	}

	.my-page-editor .analytics-cards {
		grid-template-columns: 1fr !important;
	}

	.social-inputs {
		grid-template-columns: 1fr !important;
	}
}

/* ========== Catalog & Contact Styles ========== */

/* Toggle Switch */
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 28px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--border);
	border-radius: 999px;
	transition: 0.3s;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 22px;
	width: 22px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	border-radius: 50%;
	transition: 0.3s;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked+.toggle-slider {
	background: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
	transform: translateX(24px);
}

/* Category Chips */
.category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.category-chip-wrapper {
	position: relative;
	display: inline-flex;
}

.category-chip {
	padding: 8px 16px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 6px;
}

.category-chip:hover,
.category-chip.active {
	background: var(--primary-light);
	border-color: var(--primary);
	color: var(--primary);
}

.category-edit-btn,
.category-delete-btn {
	position: absolute;
	top: -6px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: none;
	font-size: 10px;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.category-edit-btn {
	right: 24px;
	background: var(--primary-light);
	color: var(--primary);
}

.category-delete-btn {
	right: 0;
	background: #fee2e2;
	color: #ef4444;
}

.category-chip-wrapper:hover .category-edit-btn,
.category-chip-wrapper:hover .category-delete-btn {
	opacity: 1;
}

/* Products Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.product-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.product-card.inactive {
	opacity: 0.6;
}

.product-image {
	width: 100%;
	height: 140px;
	background: var(--surface-2);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-image.placeholder {
	font-size: 40px;
	color: var(--muted);
}

.product-content {
	padding: 14px;
}

.product-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 4px;
}

.product-name {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}

.featured-badge {
	font-size: 14px;
	flex-shrink: 0;
}

.product-category {
	font-size: 11px;
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
	margin-bottom: 6px;
}

.product-desc {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.4;
	margin: 0 0 8px;
}

.product-price {
	font-size: 16px;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 10px;
}

.product-actions {
	display: flex;
	gap: 4px;
	border-top: 1px solid var(--border);
	padding-top: 10px;
	margin-top: 4px;
}

.product-actions .icon-btn {
	flex: 1;
	font-size: 14px;
}

.product-actions .icon-btn.danger:hover {
	background: #fee2e2;
}

/* Product Modal */
.product-modal {
	max-width: 520px;
}

/* Contact Submissions */
.submissions-list {
	max-height: 500px;
	overflow-y: auto;
}

.submission-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	transition: background 0.2s;
	position: relative;
}

.submission-item:hover {
	background: var(--surface-2);
}

.submission-item.selected {
	background: var(--primary-light);
}

.submission-item.unread {
	background: rgba(99, 102, 241, 0.03);
}

.submission-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--primary);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	flex-shrink: 0;
}

.submission-content {
	flex: 1;
	min-width: 0;
}

.submission-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2px;
}

.submission-name {
	font-weight: 700;
	font-size: 14px;
}

.submission-date {
	font-size: 11px;
	color: var(--muted);
}

.submission-email {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 4px;
}

.submission-subject {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
}

.submission-preview {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.unread-dot {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background: var(--primary);
	border-radius: 50%;
}

/* Message Modal */
.message-modal {
	max-width: 600px;
}

.message-meta a {
	color: var(--primary);
}

/* Stat Card Mini */
.stat-card.mini {
	padding: 14px;
	text-align: center;
	background: var(--surface);
	border-radius: 12px;
	border: 1px solid var(--border);
}

.stat-card.mini .stat-value {
	font-size: 24px;
	font-weight: 800;
}

.stat-card.mini .stat-label {
	font-size: 11px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Contact Stats */
.contact-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

/* Public Catalog Styles */
.public-catalog {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.public-catalog-title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 8px;
	text-align: center;
}

.public-catalog-description {
	font-size: 14px;
	opacity: 0.8;
	text-align: center;
	margin-bottom: 24px;
}

.public-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.public-product-card {
	background: var(--profile-card-bg, rgba(255, 255, 255, 0.1));
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.3s;
}

.public-product-card:hover {
	transform: translateY(-4px);
}

.public-product-image {
	width: 100%;
	height: 120px;
	object-fit: cover;
}

.public-product-info {
	padding: 12px;
}

.public-product-name {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 4px;
}

.public-product-price {
	font-size: 15px;
	font-weight: 800;
	color: var(--profile-primary, #6366f1);
}

/* Public Contact Form */
.public-contact {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.public-contact-title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 8px;
	text-align: center;
}

.public-contact-description {
	font-size: 14px;
	opacity: 0.8;
	text-align: center;
	margin-bottom: 24px;
}

.contact-form {
	background: var(--profile-card-bg, rgba(255, 255, 255, 0.1));
	border-radius: 20px;
	padding: 24px;
	max-width: 400px;
	margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--profile-text, inherit);
	font-size: 14px;
	margin-bottom: 12px;
	-webkit-text-fill-color: var(--profile-text, inherit);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	opacity: 0.6;
	color: var(--profile-text-secondary, inherit);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--profile-primary, #6366f1);
	background: rgba(255, 255, 255, 0.15);
	color: var(--profile-text, inherit);
	-webkit-text-fill-color: var(--profile-text, inherit);
}

/* Handle browser autofill styling for dark themes */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--profile-text, #1e293b) !important;
	-webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.15) inset !important;
	box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.15) inset !important;
	transition: background-color 5000s ease-in-out 0s;
	caret-color: var(--profile-text, #1e293b);
}

.contact-form button {
	width: 100%;
	padding: 14px;
	background: var(--profile-primary, #6366f1);
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: opacity 0.2s;
}

.contact-form button:hover {
	opacity: 0.9;
}

.contact-success {
	text-align: center;
	padding: 24px;
}

.contact-success-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.public-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =====================================================
   COMPREHENSIVE MOBILE STYLES (screen width < height)
   ===================================================== */

/* Mobile-first: Targets portrait orientation and small screens */
@media (max-width: 768px),
(max-aspect-ratio: 1/1) {

	/* ===== Root & Base Adjustments ===== */
	:root {
		--sp-mobile: 12px;
		--radius-mobile: 16px;
	}

	body {
		font-size: 14px;
		overflow-x: hidden;
	}

	/* ===== App Shell - Mobile Layout ===== */
	.app {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		grid-template-rows: none;
		grid-template-areas: none;
		min-height: 100vh;
		padding-bottom: 70px;
		/* Space for mobile nav */
	}

	/* ===== Mobile Sidebar (Hidden by default) ===== */
	.sidebar {
		position: fixed;
		top: 0;
		left: -280px;
		width: 280px;
		height: 100vh;
		z-index: 1000;
		background: var(--surface);
		border-right: 1px solid var(--border);
		transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
		padding: 20px;
		overflow-y: auto;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
	}

	.sidebar.mobile-open {
		transform: translateX(280px);
	}

	.sidebar .brand {
		margin-bottom: 24px;
	}

	.sidebar .nav {
		flex-direction: column;
		gap: 8px;
		align-items: stretch;
	}

	.sidebar .nav a {
		width: 100%;
		height: auto;
		padding: 14px 16px;
		justify-content: flex-start;
		gap: 12px;
		font-size: 15px;
		font-weight: 600;
	}

	.sidebar .nav a::after {
		content: attr(title);
		color: inherit;
	}

	/* Mobile sidebar overlay */
	.mobile-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.mobile-overlay.active {
		display: block;
		opacity: 1;
	}

	/* ===== Mobile Top Bar ===== */
	.topbar {
		position: sticky;
		top: 0;
		z-index: 100;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
		padding: 12px 16px;
		flex-wrap: wrap;
		gap: 12px;
		min-height: auto;
		height: auto;
	}

	.mobile-menu-btn {
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		background: var(--surface-2);
		border: 1px solid var(--border);
		border-radius: 12px;
		cursor: pointer;
		flex-shrink: 0;
	}

	.search-bar {
		order: 2;
		width: 100%;
		height: 44px;
		padding: 0 16px;
		border-radius: 12px;
	}

	.search-bar:focus-within {
		width: 100%;
	}

	.topbar-actions {
		margin-left: 0;
		flex-shrink: 0;
	}

	/* Hide new topbar-left on mobile (search is less useful) */
	.topbar-left {
		display: none;
	}

	/* Center navigation on mobile - make it more compact */
	.topbar-center {
		margin: 0;
		padding: 4px 6px;
		gap: 4px;
		flex: 1;
		justify-content: center;
	}

	.topbar-nav-btn {
		width: 36px;
		height: 36px;
	}

	.topbar-nav-btn svg {
		width: 16px;
		height: 16px;
	}

	.user-profile {
		padding: 4px;
		background: var(--surface);
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		transform: none !important;
		/* Fix: Prevent being the containing block for fixed dropdown */
	}

	.user-profile>div {
		display: flex;
		align-items: center;
	}

	/* Hide user name and consultant text on mobile, keep avatar */
	.user-profile>div>div {
		display: none !important;
	}

	/* Make sure avatar is visible */
	.user-avatar {
		width: 36px;
		height: 36px;
		display: block !important;
	}

	/* Hide chevron on mobile */
	.user-profile svg {
		display: none;
	}

	/* ===== Mobile Bottom Navigation ===== */
	.mobile-bottom-nav {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 70px;
		background: var(--surface);
		border-top: 1px solid var(--border);
		z-index: 1000;
		padding: 8px 0;
		padding-bottom: calc(8px + env(safe-area-inset-bottom));
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
	}

	.mobile-bottom-nav a {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		color: var(--muted);
		text-decoration: none;
		font-size: 10px;
		font-weight: 600;
		transition: all 0.2s ease;
	}

	.mobile-bottom-nav a svg {
		width: 22px;
		height: 22px;
	}

	.mobile-bottom-nav a.active {
		color: var(--primary);
	}

	.mobile-bottom-nav a.active svg {
		stroke: var(--primary);
	}

	/* ===== Content Area ===== */
	.content {
		flex: 1;
		padding: 16px;
		overflow-x: hidden;
		width: 100%;
	}

	.page-container {
		width: 100%;
		max-width: 100%;
	}

	/* ===== Home Grid - Mobile ===== */
	.home-grid {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.dashboard-left,
	.dashboard-center,
	.dashboard-right {
		width: 100%;
	}

	.dashboard-right {
		display: block !important;
		/* Show on mobile */
	}

	.section-title {
		font-size: 22px;
	}

	/* ===== Cards - Mobile ===== */
	.card {
		border-radius: 16px;
		padding: 16px;
	}

	/* ===== Mini Calendar - Mobile ===== */
	.mini-calendar {
		padding: 12px;
	}

	.calendar-header {
		flex-wrap: wrap;
		gap: 8px;
	}

	.calendar-header>div:first-child {
		font-size: 16px;
	}

	.calendar-day {
		font-size: 13px;
		border-radius: 10px;
	}

	/* ===== Timeline - Mobile ===== */
	.timeline-header {
		flex-direction: column;
		gap: 12px;
		align-items: stretch;
	}

	.timeline-header .row {
		justify-content: space-between;
	}

	.timeline-container {
		border-radius: 16px;
	}

	.timeline-scroll {
		height: 400px;
		padding: 16px;
	}

	.timeline-hour {
		height: 70px;
		font-size: 11px;
	}

	.event-card {
		left: 50px !important;
		right: 12px !important;
		padding: 12px 14px;
		border-radius: 14px;
	}

	.event-time {
		font-size: 10px;
	}

	.event-title {
		font-size: 14px;
	}

	.event-category {
		font-size: 10px;
	}

	/* ===== Event Details Card - Mobile ===== */
	.details-card {
		padding: 20px;
	}

	.detail-item {
		padding: 12px;
		border-radius: 12px;
		flex-wrap: wrap;
		gap: 10px;
	}

	.detail-icon {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

	/* ===== Tables - Mobile ===== */
	.table-container {
		border-radius: 16px;
		overflow-x: auto;
	}

	.table {
		min-width: 600px;
	}

	.table th,
	.table td {
		padding: 12px 16px;
		font-size: 13px;
	}

	/* Mobile-friendly table alternative */
	.mobile-card-list {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.mobile-card-item {
		background: var(--surface);
		border: 1px solid var(--border);
		border-radius: 16px;
		padding: 16px;
	}

	/* ===== Buttons - Mobile ===== */
	.btn {
		height: 44px;
		padding: 0 20px;
		font-size: 14px;
		border-radius: 12px;
	}

	.btn.large {
		height: 52px;
		padding: 0 24px;
		font-size: 16px;
	}

	.btn.small {
		height: 36px;
		padding: 0 14px;
		font-size: 13px;
	}

	/* ===== Forms - Mobile ===== */
	.input,
	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="password"],
	input[type="number"],
	input[type="date"],
	textarea,
	select {
		padding: 14px 16px;
		font-size: 16px;
		/* Prevents iOS zoom */
		border-radius: 12px;
	}

	.label {
		font-size: 12px;
		margin-bottom: 6px;
	}

	.field {
		margin-bottom: 16px;
	}

	/* ===== Modals - Mobile ===== */
	.modal-overlay {
		padding: 0;
		align-items: flex-end;
	}

	.modal-content {
		max-width: 100%;
		width: 100%;
		max-height: 90vh;
		border-radius: 24px 24px 0 0;
		margin: 0;
	}

	.modal-header {
		padding: 20px;
		position: sticky;
		top: 0;
		background: inherit;
		border-radius: 24px 24px 0 0;
		z-index: 1;
	}

	.modal-body {
		padding: 20px;
		overflow-y: auto;
	}

	/* ===== Event Type Modal - Mobile ===== */
	.event-type-modal {
		border-radius: 24px 24px 0 0;
	}

	.event-type-modal .form-group {
		margin-bottom: 20px;
	}

	/* ===== Availability Page - Mobile ===== */
	.availability-page {
		padding: 0;
	}

	.availability-header {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}

	.availability-title {
		font-size: 24px;
	}

	.availability-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.availability-card {
		border-radius: 16px;
		padding: 16px;
	}

	.availability-card-header {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}

	.weekly-hours-day {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 16px 0;
	}

	.weekly-hours-day-toggle {
		min-width: auto;
		padding-top: 0;
	}

	.time-slots-list {
		width: 100%;
	}

	.time-slot-row {
		flex-wrap: wrap;
		gap: 8px;
	}

	/* ===== Event Types Page - Mobile ===== */
	.event-types-header {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}

	.event-types-title {
		font-size: 24px;
	}

	.event-type-card {
		border-radius: 16px;
	}

	.event-type-card-content {
		padding: 16px;
	}

	.event-type-actions {
		flex-wrap: wrap;
		gap: 8px;
	}

	/* ===== Bookings Page - Mobile ===== */
	.bookings-filters {
		flex-direction: column;
		gap: 12px;
	}

	.booking-card {
		border-radius: 16px;
		padding: 16px;
	}

	/* ===== Workflows Page - Mobile ===== */
	.workflows-header {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}

	.workflows-title {
		font-size: 24px;
	}

	.workflow-card {
		border-radius: 16px;
		padding: 16px;
	}

	/* ===== Integrations Page - Mobile ===== */
	.integrations-grid {
		grid-template-columns: 1fr;
	}

	.integration-card {
		border-radius: 16px;
		padding: 20px;
	}

	/* ===== Settings Page - Mobile ===== */
	.settings-layout {
		flex-direction: column;
	}

	.settings-nav {
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 8px;
		gap: 8px;
	}

	.settings-nav-item {
		white-space: nowrap;
		padding: 10px 16px;
		flex-shrink: 0;
	}

	.settings-content {
		padding: 0;
	}

	/* ===== MyPage Editor - Mobile ===== */
	.my-page-editor .editor-layout {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.my-page-editor .editor-main {
		width: 100%;
		min-width: 0;
	}

	.my-page-editor .page-header {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
	}

	.my-page-editor .page-header>div:last-child {
		width: 100%;
		justify-content: stretch;
	}

	.my-page-editor .page-header .btn {
		flex: 1;
		justify-content: center;
	}

	.my-page-editor .analytics-cards {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.my-page-editor .editor-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
		margin-bottom: 16px !important;
	}

	.my-page-editor .editor-tabs .btn {
		white-space: nowrap;
		flex-shrink: 0;
		padding: 10px 16px;
		font-size: 14px;
	}

	.preview-sidebar {
		display: none;
	}

	.editor-section {
		padding: 16px;
		border-radius: 16px;
	}

	.theme-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}

	.theme-card {
		padding: 12px !important;
	}

	/* Links List Mobile */
	.link-item {
		padding: 16px;
		border-radius: 12px;
		flex-wrap: wrap;
		gap: 12px;
	}

	.link-item .link-drag-handle {
		display: none;
	}

	.link-item .link-content {
		flex: 1;
		min-width: 0;
	}

	.link-item .link-title-row {
		flex-wrap: wrap;
	}

	.link-item .link-icon-preview {
		width: 40px;
		height: 40px;
		min-width: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--surface-3);
		border-radius: 10px;
		font-size: 20px;
	}

	.link-item .link-stats {
		display: none;
	}

	.link-item .link-actions {
		opacity: 1;
		width: 100%;
		justify-content: flex-end;
		padding-top: 12px;
		border-top: 1px solid var(--border);
		margin-top: 4px;
	}

	.link-item .link-actions .icon-btn {
		width: 44px;
		height: 44px;
		font-size: 18px;
	}

	/* Social Inputs Mobile */
	.social-inputs {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 16px !important;
		width: 100% !important;
	}

	.social-inputs .form-group {
		display: flex;
		flex-direction: column;
		gap: 6px;
		width: 100% !important;
	}

	.social-inputs .form-group label {
		font-size: 14px !important;
		font-weight: 600;
		color: var(--text);
	}

	.social-inputs .form-group .input {
		padding: 14px 16px;
		font-size: 16px;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	/* My Page Editor Card - Full Width Inputs */
	.my-page-editor .card {
		width: 100%;
	}

	.my-page-editor .card .form-group {
		width: 100%;
	}

	.my-page-editor .card .input,
	.my-page-editor .card input,
	.my-page-editor .card textarea {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/* ===== Notifications Dropdown - Mobile ===== */
	.notifications-dropdown {
		position: fixed !important;
		top: auto !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		margin: 0 !important;
		min-width: auto !important;
		max-width: none !important;
		border-radius: 24px 24px 0 0;
		max-height: 70vh;
	}

	/* ===== User Menu Dropdown - Mobile ===== */
	.dropdown-menu {
		position: fixed !important;
		top: auto !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		margin: 0 !important;
		min-width: auto !important;
		border-radius: 24px 24px 0 0;
		padding: 20px;
		z-index: 2000 !important;
		/* Fix: Show above mobile-bottom-nav (z-index: 1000) */
		box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
	}
}

/* =====================================================
   MOBILE BOOKING PAGE STYLES
   ===================================================== */

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {

	/* Booking page card layout */
	.card[style*="grid-template-columns: 300px"] {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
	}

	.card[style*="grid-template-columns: 320px"] {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
	}

	/* Booking page panels */
	.card>div[style*="border-right"] {
		border-right: none !important;
		border-bottom: 1px solid var(--border);
		padding: 24px 20px !important;
	}

	.card>div[style*="padding: 40px"] {
		padding: 20px !important;
	}

	.card>div[style*="padding: 32px"] {
		padding: 20px !important;
	}

	/* Booking confirmation */
	.card[style*="maxWidth: 480px"] {
		margin: 16px;
		max-width: calc(100% - 32px) !important;
	}

	.card[style*="maxWidth: 900px"],
	.card[style*="maxWidth: 1000px"] {
		max-width: calc(100% - 32px) !important;
		margin: 16px;
		border-radius: 20px;
	}
}

/* =====================================================
   MOBILE LANDING PAGE STYLES
   ===================================================== */

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {

	/* Landing Nav */
	.landing-nav {
		padding: 16px 20px;
		gap: 12px;
	}

	.landing-links {
		display: none;
	}

	.landing-logo {
		font-size: 18px;
	}

	.landing-actions {
		display: none;
	}

	/* Mobile menu button for landing */
	.landing-nav .mobile-menu-btn {
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		background: var(--surface-2);
		border: 1px solid var(--border);
		border-radius: 12px;
		cursor: pointer;
		color: var(--text);
		margin-left: auto;
	}

	.landing-nav .mobile-menu-btn svg {
		width: 20px;
		height: 20px;
	}

	/* Landing Hero */
	.landing-hero {
		padding: 32px 20px;
	}

	.landing-hero h1,
	.text-display {
		font-size: 36px !important;
		line-height: 1.1;
	}

	.landing-hero p {
		font-size: 16px !important;
		padding: 0 10px;
	}

	.hero-btns {
		flex-direction: column;
		gap: 12px;
		margin-top: 24px;
	}

	.hero-btns .btn-magnetic {
		width: 100%;
		padding: 16px 24px;
		font-size: 16px;
	}

	/* Hero Preview */
	.hero-preview {
		height: auto;
		margin-top: 32px;
	}

	.preview-window {
		width: 100%;
		max-width: 340px;
		height: 320px;
	}

	.floating-element {
		display: none;
	}

	/* Trusted By */
	.trusted-by {
		padding: 40px 20px;
	}

	.trusted-logos {
		flex-wrap: wrap;
		gap: 24px;
		justify-content: center;
	}

	.trusted-logos span {
		font-size: 16px;
	}

	/* Bento Grid */
	.bento-grid {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto !important;
		gap: 16px;
		padding: 0 20px;
	}

	.bento-item {
		grid-column: span 1 !important;
		grid-row: span 1 !important;
		padding: 24px;
		border-radius: 20px;
	}

	.bento-item h3 {
		font-size: 22px !important;
	}

	/* Steps Grid */
	.landing-steps {
		padding: 60px 20px;
	}

	.steps-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.step-card {
		padding: 40px 24px;
		border-radius: 24px;
	}

	.step-card h3 {
		font-size: 24px;
	}

	.step-card p {
		font-size: 15px;
	}

	.step-num {
		width: 48px;
		height: 48px;
		font-size: 20px;
		border-radius: 14px;
	}

	/* MyPage Features Grid */
	.mypage-features-grid {
		grid-template-columns: 1fr !important;
		gap: 16px;
	}

	.mypage-feature-card {
		padding: 32px 24px;
		border-radius: 20px;
	}

	.mypage-feature-card h3 {
		font-size: 20px;
	}

	/* Final CTA */
	.final-cta {
		padding: 80px 20px;
		margin: 40px 16px;
		border-radius: 32px;
	}

	.final-cta h2 {
		font-size: 32px !important;
	}

	.final-cta .btn-magnetic {
		padding: 18px 36px !important;
		font-size: 16px !important;
	}

	/* Footer */
	.landing-footer {
		padding: 60px 20px 40px;
	}

	.footer-content {
		flex-direction: column;
		gap: 40px;
		align-items: center;
		text-align: center;
	}

	.footer-links {
		flex-direction: column;
		gap: 32px;
	}

	/* Landing Section */
	.landing-section {
		padding: 60px 20px !important;
		flex-direction: column !important;
		gap: 40px !important;
	}

	.landing-section h2 {
		font-size: 32px !important;
	}

	.section-visual {
		width: 100%;
		height: 280px;
	}
}

/* =====================================================
   MOBILE PUBLIC PROFILE PAGE
   ===================================================== */

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {
	.profile-page {
		padding: 24px 16px 60px;
	}

	.profile-header {
		flex-direction: column;
		text-align: center;
	}

	.profile-avatar {
		width: 100px;
		height: 100px;
		margin: 0 auto 16px;
	}

	.profile-name {
		font-size: 28px;
	}

	.profile-links {
		gap: 12px;
	}

	.profile-link-btn {
		padding: 16px 20px;
		border-radius: 14px;
		font-size: 15px;
	}

	/* Products Grid */
	.products-grid,
	.public-products-grid {
		grid-template-columns: 1fr !important;
		gap: 16px;
	}

	.product-card {
		border-radius: 16px;
	}
}

/* =====================================================
   MOBILE LEGAL PAGES
   ===================================================== */

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {
	.legal-page {
		min-height: auto;
	}

	.legal-nav {
		padding: 16px 20px;
	}

	.legal-content {
		padding: 32px 20px;
	}

	.legal-content h1 {
		font-size: 28px;
	}

	.legal-content h2 {
		font-size: 20px;
	}

	.legal-content h3 {
		font-size: 16px;
	}

	.legal-footer {
		padding: 32px 20px;
	}

	.legal-footer-links {
		flex-direction: column;
		gap: 12px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.contact-form {
		padding: 24px;
		border-radius: 16px;
	}
}

/* =====================================================
   MOBILE UTILITY CLASSES
   ===================================================== */

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {
	.hide-mobile {
		display: none !important;
	}

	.show-mobile {
		display: flex !important;
	}

	.show-mobile-block {
		display: block !important;
	}

	.mobile-full-width {
		width: 100% !important;
	}

	.mobile-stack {
		flex-direction: column !important;
	}

	.mobile-text-center {
		text-align: center !important;
	}

	/* Mobile row layout */
	.row {
		flex-wrap: wrap;
	}

	/* Mobile spacing adjustments */
	.stack-2>*+* {
		margin-top: var(--sp-2);
	}

	.stack-3>*+* {
		margin-top: var(--sp-3);
	}
}

/* Hide mobile elements by default */
.mobile-menu-btn,
.mobile-bottom-nav,
.mobile-overlay,
.mobile-landing-menu-btn,
.landing-mobile-menu,
.mobile-menu-overlay {
	display: none;
}

/* Show on mobile */
@media (max-width: 768px),
(max-aspect-ratio: 1/1) {

	.mobile-menu-btn,
	.mobile-bottom-nav,
	.mobile-landing-menu-btn {
		display: flex;
	}
}

/* =====================================================
   LANDING PAGE MOBILE MENU
   ===================================================== */

.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	z-index: 999;
	opacity: 0;
	animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.landing-mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 280px;
	max-width: 85vw;
	background: var(--bg);
	border-left: 1px solid var(--border);
	z-index: 1000;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.landing-mobile-menu.open {
	transform: translateX(0);
}

.mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 10px;
	font-size: 24px;
	color: var(--text);
	cursor: pointer;
	transition: all 0.2s ease;
}

.mobile-menu-close:hover {
	background: var(--surface-3);
}

.mobile-menu-links {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px;
	gap: 8px;
}

.mobile-menu-links a {
	display: block;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.mobile-menu-links a:hover {
	background: var(--surface-2);
	color: var(--primary);
}

.mobile-menu-actions {
	padding: 20px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-menu-actions .btn {
	width: 100%;
	justify-content: center;
	padding: 14px 24px;
}

.mobile-menu-actions .btn.ghost {
	display: flex;
}

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {

	.mobile-menu-overlay,
	.landing-mobile-menu {
		display: flex;
	}

	.landing-mobile-menu:not(.open) {
		display: flex;
		transform: translateX(100%);
	}
}

/* =====================================================
   TOUCH IMPROVEMENTS
   ===================================================== */

@media (max-width: 768px),
(max-aspect-ratio: 1/1) {

	/* Better touch targets */
	.btn,
	button,
	a,
	input,
	select,
	textarea {
		-webkit-tap-highlight-color: transparent;
	}

	/* Prevent accidental text selection */
	.btn,
	.nav a,
	.mobile-bottom-nav a,
	.calendar-day {
		-webkit-user-select: none;
		user-select: none;
	}

	/* Smooth scrolling */
	.content,
	.timeline-scroll,
	.modal-body {
		-webkit-overflow-scrolling: touch;
	}

	/* Fix iOS input zoom */
	input[type="text"],
	input[type="email"],
	input[type="password"],
	input[type="number"],
	input[type="tel"],
	select,
	textarea {
		font-size: 16px !important;
	}
}

/* =====================================================
   SAFE AREA INSETS (Notched phones)
   ===================================================== */

@supports (padding: env(safe-area-inset-bottom)) {
	@media (max-width: 768px),
	(max-aspect-ratio: 1/1) {
		.app {
			padding-bottom: calc(70px + env(safe-area-inset-bottom));
		}

		.mobile-bottom-nav {
			padding-bottom: calc(8px + env(safe-area-inset-bottom));
		}

		.modal-content {
			padding-bottom: env(safe-area-inset-bottom);
		}
	}
}

/* =====================================================
   MYPAGE MOBILE-SPECIFIC UI
   ===================================================== */

.mypage-mobile {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background: var(--bg);
}

.mypage-mobile-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	background: var(--surface);
}

.mypage-mobile-header h1 {
	font-size: 24px;
	font-weight: 800;
	margin: 0;
}

.mypage-mobile-tabs {
	display: flex;
	gap: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	padding: 0 16px;
}

.mypage-mobile-tab {
	flex: 1;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
}

.mypage-mobile-tab.active {
	color: var(--primary);
	border-bottom-color: var(--primary);
}

.mypage-mobile-content {
	flex: 1;
	padding: 20px;
	padding-bottom: 100px;
	overflow-y: auto;
}

.mypage-mobile-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mypage-mobile-subtitle {
	font-size: 18px;
	font-weight: 700;
	margin: 24px 0 8px;
	color: var(--text);
}

.mypage-mobile-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mypage-mobile-field label {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.mypage-mobile-field input,
.mypage-mobile-field textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	color: var(--text);
	outline: none;
	transition: border-color 0.2s;
}

.mypage-mobile-field input:focus,
.mypage-mobile-field textarea:focus {
	border-color: var(--primary);
}

.mypage-mobile-field textarea {
	resize: vertical;
	min-height: 100px;
}

/* Links Tab Mobile */
.mypage-mobile-add-btn {
	width: 100%;
	justify-content: center;
	margin-bottom: 8px;
}

.mypage-mobile-empty {
	text-align: center;
	padding: 48px 20px;
	color: var(--muted);
}

.mypage-mobile-empty>div:first-child {
	font-size: 48px;
	margin-bottom: 12px;
}

.mypage-mobile-link-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	gap: 12px;
}

.mypage-mobile-link-item.inactive {
	opacity: 0.5;
}

.mypage-mobile-link-info {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.mypage-mobile-link-icon {
	font-size: 24px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--surface-2);
	border-radius: 10px;
	flex-shrink: 0;
}

.mypage-mobile-link-title {
	font-weight: 600;
	font-size: 15px;
	color: var(--text);
}

.mypage-mobile-link-url {
	font-size: 13px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 150px;
}

.mypage-mobile-link-actions {
	display: flex;
	gap: 8px;
}

.mypage-mobile-link-actions button {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--surface-2);
	border: none;
	border-radius: 10px;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s;
}

.mypage-mobile-link-actions button:hover {
	background: var(--surface-3);
}

/* Theme Tab Mobile */
.mypage-mobile-themes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.mypage-mobile-theme-card {
	padding: 20px 16px;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.2s;
	border: 3px solid transparent;
}

.mypage-mobile-theme-card.selected {
	border-color: var(--primary);
}

.mypage-mobile-theme-name {
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 12px;
}

.mypage-mobile-theme-colors {
	display: flex;
	gap: 6px;
}

.mypage-mobile-theme-colors span {
	width: 20px;
	height: 20px;
	border-radius: 6px;
}

/* ==================== RICH TEXT EDITOR (Quill) ==================== */
.rich-text-editor-wrapper {
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.rich-text-editor-wrapper .ql-toolbar {
	border: none !important;
	border-bottom: 1px solid var(--border) !important;
	background: var(--surface-2);
	padding: 8px 12px !important;
}

.rich-text-editor-wrapper .ql-container {
	border: none !important;
	font-family: inherit;
	font-size: 14px;
}

.rich-text-editor-wrapper .ql-editor {
	min-height: 200px;
	padding: 16px;
	line-height: 1.6;
}

.rich-text-editor-wrapper .ql-editor.ql-blank::before {
	color: var(--muted);
	font-style: normal;
}

.rich-text-editor-wrapper .ql-editor img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 8px 0;
	display: block;
}

.rich-text-editor-wrapper .ql-editor a {
	color: var(--primary);
	text-decoration: underline;
}

.rich-text-editor-wrapper .ql-editor blockquote {
	border-left: 4px solid var(--primary);
	padding-left: 16px;
	margin: 12px 0;
	color: var(--muted);
}

.rich-text-editor-wrapper .ql-editor pre {
	background: var(--surface-2);
	padding: 12px;
	border-radius: 8px;
	overflow-x: auto;
}

.rich-text-editor-wrapper .ql-editor code {
	background: var(--surface-2);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: monospace;
}

.rich-text-editor-wrapper .ql-editor h1 {
	font-size: 24px;
	font-weight: 700;
	margin: 16px 0 8px;
}

.rich-text-editor-wrapper .ql-editor h2 {
	font-size: 20px;
	font-weight: 600;
	margin: 14px 0 6px;
}

.rich-text-editor-wrapper .ql-editor h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 12px 0 4px;
}

.rich-text-editor-wrapper .ql-editor ul,
.rich-text-editor-wrapper .ql-editor ol {
	padding-left: 24px;
	margin: 8px 0;
}

.rich-text-editor-wrapper .ql-editor li {
	margin: 4px 0;
}

/* Read-only mode */
.rich-text-editor-wrapper .rich-text-editor.readonly .ql-toolbar {
	display: none;
}

.rich-text-editor-wrapper .rich-text-editor.readonly .ql-container {
	border: none !important;
}

.rich-text-editor-wrapper .rich-text-editor.readonly .ql-editor {
	padding: 0;
	min-height: auto;
}

/* Rich text content viewer */
.rich-text-content {
	line-height: 1.6;
}

.rich-text-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	border: 1px solid var(--border);
	margin: 8px 0;
	display: block;
}

.rich-text-content a {
	color: var(--primary);
	text-decoration: underline;
}

.rich-text-content p {
	margin: 0 0 8px;
}

.rich-text-content p:last-child {
	margin-bottom: 0;
}

.rich-text-content blockquote {
	border-left: 4px solid var(--primary);
	padding-left: 16px;
	margin: 12px 0;
	color: var(--muted);
}

.rich-text-content pre {
	background: var(--surface-2);
	padding: 12px;
	border-radius: 8px;
	overflow-x: auto;
	margin: 8px 0;
}

.rich-text-content code {
	background: var(--surface-2);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: monospace;
}

.rich-text-content h1 {
	font-size: 24px;
	font-weight: 700;
	margin: 16px 0 8px;
}

.rich-text-content h2 {
	font-size: 20px;
	font-weight: 600;
	margin: 14px 0 6px;
}

.rich-text-content h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 12px 0 4px;
}

.rich-text-content ul,
.rich-text-content ol {
	padding-left: 24px;
	margin: 8px 0;
}

.rich-text-content li {
	margin: 4px 0;
}

/* Quill toolbar button hover states */
.ql-toolbar button:hover,
.ql-toolbar button:focus {
	color: var(--primary) !important;
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button:focus .ql-stroke {
	stroke: var(--primary) !important;
}

.ql-toolbar button:hover .ql-fill,
.ql-toolbar button:focus .ql-fill {
	fill: var(--primary) !important;
}

.ql-toolbar button.ql-active {
	color: var(--primary) !important;
}

.ql-toolbar button.ql-active .ql-stroke {
	stroke: var(--primary) !important;
}

.ql-toolbar button.ql-active .ql-fill {
	fill: var(--primary) !important;
}

/* Drag and drop overlay */
.rich-text-editor-wrapper.drag-over {
	border-color: var(--primary);
	background: var(--primary-light);
}

.rich-text-editor-wrapper.drag-over::after {
	content: 'Drop images here';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(99, 102, 241, 0.1);
	color: var(--primary);
	font-weight: 600;
	font-size: 16px;
	pointer-events: none;
}

/* =====================================================
   MOBILE SLIDE-TO-LOGOUT
   ===================================================== */

.slide-logout-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(10px);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.slide-logout-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding: 40px;
	width: 100%;
	max-width: 340px;
}

.slide-logout-title {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	letter-spacing: -0.02em;
}

.slide-logout-track {
	width: 100%;
	height: 64px;
	background: var(--surface-2);
	border-radius: 32px;
	position: relative;
	display: flex;
	align-items: center;
	padding: 4px;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: background 0.2s ease;
}

.slide-logout-slider {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: grab;
	user-select: none;
	touch-action: none;
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
	transition: box-shadow 0.2s ease;
	z-index: 2;
}

.slide-logout-slider:active {
	cursor: grabbing;
	box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.slide-logout-hint {
	position: absolute;
	left: 80px;
	right: 16px;
	text-align: center;
	color: #64748b;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 4px;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.slide-logout-cancel {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.8);
	padding: 14px 32px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.slide-logout-cancel:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

/* ========== Video Call Page ========== */
.video-call-page {
	height: calc(100vh - 100px);
	display: flex;
	flex-direction: column;
	background: #0f172a;
	color: #fff;
	border-radius: var(--radius);
	overflow: hidden;
}

.video-call-entry {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	color: var(--text);
	padding: 20px;
}

.video-call-entry-card {
	width: 100%;
	max-width: 480px;
	padding: 48px;
	text-align: center;
}

.video-call-entry-header {
	margin-bottom: 32px;
}

.video-call-icon-wrapper {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
	color: #fff;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}

.video-call-icon-wrapper svg {
	width: 40px;
	height: 40px;
}

.video-call-entry-header h1 {
	font-size: 32px;
	margin: 0 0 8px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.video-call-error {
	background: #fef2f2;
	color: #dc2626;
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 24px;
	font-size: 14px;
	font-weight: 500;
}

.video-call-actions {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.video-call-create-btn {
	width: 100%;
	height: 56px;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
	border: none;
	color: #fff;
	border-radius: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.video-call-create-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.video-call-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--muted);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.video-call-divider::before,
.video-call-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

.video-call-join {
	display: flex;
	gap: 12px;
}

.video-call-input {
	flex: 1;
	height: 52px;
	border: 2px solid var(--border);
	border-radius: 14px;
	padding: 0 16px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	background: var(--surface);
	color: var(--text);
	transition: all 0.2s;
}

.video-call-input:focus {
	border-color: var(--primary);
	outline: none;
	box-shadow: 0 0 0 4px var(--primary-light);
}

.video-call-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.video-call-grid {
	flex: 1;
	position: relative;
	background: #000;
}

.video-call-remote {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-call-video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.video-call-placeholder {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #94a3b8;
}

.video-call-placeholder-icon {
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: #64748b;
}

.video-call-placeholder-icon svg {
	width: 48px;
	height: 48px;
}

.video-call-placeholder p {
	font-size: 16px;
	font-weight: 500;
}

.video-call-local {
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 240px;
	aspect-ratio: 16/9;
	background: #1e293b;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	border: 3px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.video-call-local:hover {
	transform: scale(1.02);
	border-color: var(--primary);
}

.video-call-video-off-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
}

.video-call-info-bar {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	gap: 12px;
	z-index: 10;
}

.video-call-room-info {
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(20px);
	padding: 10px 18px;
	border-radius: 99px;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-call-room-label {
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
}

.video-call-room-id {
	font-family: 'SF Mono', 'Fira Code', monospace;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 2px;
	color: #fff;
}

.video-call-copy-btn {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 4px;
	display: flex;
	transition: all 0.2s;
	border-radius: 8px;
}

.video-call-copy-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.video-call-status {
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(20px);
	padding: 10px 18px;
	border-radius: 99px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-call-status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	animation: pulse-glow 2s ease-in-out infinite;
}

.video-call-controls {
	height: 100px;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, #0f172a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-call-control-btn {
	width: 60px;
	height: 60px;
	border-radius: 20px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
	backdrop-filter: blur(10px);
}

.video-call-control-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.video-call-control-btn.active {
	background: #fff;
	color: #0f172a;
}

.video-call-control-btn.end-call {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	width: 80px;
	box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.video-call-control-btn.end-call:hover {
	background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
	box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5);
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.video-call-page {
		height: calc(100vh - 80px);
		border-radius: 0;
	}

	.video-call-local {
		width: 120px;
		bottom: 116px;
		right: 16px;
		border-radius: 12px;
	}

	.video-call-info-bar {
		top: 12px;
		left: 12px;
		right: 12px;
		flex-direction: column;
		align-items: flex-start;
	}

	.video-call-controls {
		height: 88px;
		gap: 16px;
	}

	.video-call-control-btn {
		width: 52px;
		height: 52px;
		border-radius: 16px;
	}

	.video-call-control-btn.end-call {
		width: 72px;
	}
}