:root {
	--bg: #d4e3f3;
	--bg-dark: #0f172a;
	--panel: #ffffff;
	--panel-dark: #f8fafc;
	--muted: #64748b;
	--text: #1e293b;
	--text-light: #475569;
	--primary: #0067B1;
	--primary-dark: #004d85;
	--primary-contrast: #ffffff;
	--secondary: #64748b;
	--danger: #dc2626;
	--border: #cbd5e1;
	--border-light: #e2e8f0;
}

* { box-sizing: border-box; }


html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	font-size: 18px;
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

.app-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-dark);
	flex-wrap: wrap;
	gap: 12px;
}

.app-header .title,
.app-header .user-badge,
.app-header .divider {
	color: #e5e7eb;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand[role="button"] { cursor: pointer; }
.brand[role="button"]:hover .title { text-decoration: underline; }
.brand[role="button"]:hover .logo-img { opacity: 0.8; }
.logo { font-size: 20px; }
.logo-img { 
	height: 32px; 
	width: auto;
	transition: opacity 0.2s ease;
}
.title { font-size: clamp(16px, 4vw, 22px); font-weight: 700; margin: 0; color: #e5e7eb; }

.dias-email {
	background: var(--primary);
	color: var(--primary-contrast);
	padding: 6px 12px;
	border-radius: 6px;
	font-size: clamp(11px, 2.5vw, 14px);
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.user-badge { color: var(--muted); }
.divider { margin: 0 6px; color: var(--border); }

body, #app { height: 100vh; display: flex; flex-direction: column; width: 100%; max-width: 100vw; overflow-x: hidden; }
main { padding: 4px; max-width: 100%; width: 100%; margin: 0; flex: 1; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }

.screen { display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100%; max-width: 100%; box-sizing: border-box; overflow-x: hidden; }
.screen[hidden] { display: none; }

.card {
	max-width: 900px;
	width: 90%;
	margin: 20px auto 30px;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: clamp(20px, 5vw, 56px) clamp(20px, 5vw, 56px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
}

.welcome-logo {
	display: block;
	margin: 0 auto 20px;
	max-width: 450px;
	width: 100%;
	height: auto;
	animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

h2 { margin: 0 0 6px 0; font-size: 24px; font-weight: 700; }
.subhead { margin: 0 0 18px 0; color: var(--muted); font-size: 15px; line-height: 1.4; }

.field { display: grid; gap: 6px; margin-bottom: 14px; position: relative; width: 100%; }
.checkbox-field { display: flex; align-items: center; gap: 8px; }

label { font-size: 15px; color: var(--muted); font-weight: 500; }

input[type="text"], textarea, input[type="number"], select {
	background: #ffffff;
	color: var(--text);
	border: 2px solid var(--border);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 15px;
	transition: border-color 0.2s ease;
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

datalist {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	background: white;
	border: 1px solid var(--border);
	border-radius: 4px;
	max-height: 200px;
	overflow-y: auto;
}

input[type="text"]:focus, textarea:focus, input[type="number"]:focus, select:focus {
	outline: none;
	border-color: var(--primary);
}

textarea { width: 100%; resize: vertical; }

.hint { color: var(--muted); font-size: 12px; margin-top: 2px; }

button {
	appearance: none;
	border: none;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 13px;
	cursor: pointer;
	background: var(--secondary);
	color: white;
	font-weight: 500;
	transition: all 0.2s ease;
}

button:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button.primary { 
	background: var(--primary); 
	color: var(--primary-contrast); 
}

button.primary:hover:not(:disabled) {
	background: var(--primary-dark);
}

button.secondary { 
	background: var(--secondary); 
	color: white;
}

button.secondary:hover:not(:disabled) {
	background: #475569;
}

button.danger { 
	background: var(--danger); 
	color: white; 
}

button.danger:hover:not(:disabled) {
	background: #b91c1c;
}

button.outline { 
	background: transparent; 
	border: 2px solid var(--border); 
	color: var(--text);
}

button.outline:hover:not(:disabled) {
	background: var(--panel-dark);
	border-color: var(--primary);
	color: var(--primary);
}

button.small { 
	padding: 6px 10px; 
	font-size: 11px; 
	border-radius: 4px; 
}

button.large { 
	padding: 16px 24px; 
	font-size: 18px; 
	font-weight: 600; 
}

button:disabled { 
	opacity: 0.5; 
	cursor: not-allowed; 
}

button:disabled:hover {
	transform: none;
	box-shadow: none;
}

.informal-btn {
	background: var(--primary);
	color: var(--primary-contrast);
	padding: 8px 16px;
	font-size: 14px;
}

/* Dashboard Grid Layout */
.dashboard-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	grid-template-rows: 1fr;
	gap: 0;
	height: 100%;
	width: 100%;
	max-width: 100%;
	flex: 1;
	padding: 0;
	background: var(--panel);
	border: 1px solid rgba(203, 213, 225, 0.3);
	border-radius: 8px;
	box-shadow: none;
	overflow: hidden;
	min-height: 0;
	position: relative;
	box-sizing: border-box;
}

.dashboard-grid::before {
	content: '';
	position: absolute;
	top: 48px;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(203, 213, 225, 0.4);
	pointer-events: none;
	z-index: 1;
}

.speakers-section {
	grid-column: 1;
	grid-row: 1;
	border-right: 1px solid rgba(203, 213, 225, 0.4);
}

.simulation-tools-section {
	grid-column: 2;
	grid-row: 1;
}

/* Tool Selector Dropdown */
.tool-selector {
	background: var(--bg-dark);
	color: #e5e7eb;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	max-width: 180px;
	width: auto;
	min-width: 120px;
}

.tool-selector:hover {
	background: rgba(255, 255, 255, 0.1);
}

.tool-selector:focus {
	outline: none;
	border-color: var(--primary);
}

/* Tool Content Switching */
.tool-content {
	display: block;
}

.tool-content[style*="display: none"] {
	display: none !important;
}

@media (max-width: 1200px) {
	.dashboard-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
	}
	.speakers-section { 
		grid-column: 1; 
		grid-row: 1;
		border-right: none;
		border-bottom: 1px solid rgba(203, 213, 225, 0.4);
		min-height: 400px;
	}
	.simulation-tools-section { 
		grid-column: 1; 
		grid-row: 2;
		border-right: none;
		border-bottom: none;
	}
}

@media (max-width: 768px) {
	html, body {
		font-size: 16px;
	}
	
	.app-header {
		padding: 10px 12px;
	}
	
	.brand {
		gap: 8px;
	}
	
	.logo-img {
		height: 28px;
	}
	
	.header-right {
		gap: 8px;
		width: 100%;
		justify-content: flex-start;
	}
	
	.dashboard-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		border-radius: 0;
	}
	
	.speakers-section, .simulation-tools-section {
		grid-column: 1;
		grid-row: auto;
		border-right: none;
		border-bottom: 1px solid rgba(203, 213, 225, 0.4);
		min-height: auto;
	}
	
	.simulation-tools-section {
		border-bottom: none;
	}
	
	.panel-header {
		padding: 12px 16px;
		flex-wrap: wrap;
		gap: 8px;
	}
	
	.panel-header .controls {
		width: 100%;
		justify-content: flex-start;
	}
	
	.panel-body {
		padding: 16px;
	}
	
	.card {
		width: 95%;
		margin: 15px auto;
		padding: 20px;
	}
	
	.timer-big {
		font-size: clamp(48px, 15vw, 120px);
	}
	
	.timer-controls-section .actions {
		flex-direction: column;
		align-items: stretch;
	}
	
	.timer-controls-section .actions > * {
		width: 100%;
	}
	
	.timer-controls-section .actions label {
		width: 100%;
	}
	
	.timer-controls-section .actions input {
		width: 100%;
		max-width: 100%;
	}
	
	.actions {
		flex-direction: column;
		gap: 8px;
	}
	
	.actions button {
		width: 100%;
	}
	
	.form-row {
		flex-direction: column;
		align-items: stretch;
	}
	
	.form-row select {
		width: 100%;
		max-width: 100%;
		min-width: auto;
	}
	
	.vote-results-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	
	.vote-buttons {
		grid-template-columns: 1fr;
	}
	
	.informal-container {
		padding: 20px;
	}
	
	.informal-card {
		padding: 24px;
	}
	
	.timer-display {
		font-size: clamp(80px, 20vw, 300px);
	}
	
	.tool-selector {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	html, body {
		font-size: 14px;
	}
	
	.card {
		width: 98%;
		padding: 16px;
		margin: 10px auto;
	}
	
	.panel-body {
		padding: 12px;
		gap: 12px;
	}
	
	.panel-header {
		padding: 10px 12px;
	}
	
	.panel-header h3 {
		font-size: 14px;
	}
	
	.timer-big {
		font-size: clamp(40px, 12vw, 100px);
		padding: 5px 0 15px;
	}
	
	.current-speaker {
		font-size: 14px;
		padding: 10px 12px;
		min-height: 40px;
	}
	
	.list-item {
		padding: 10px 12px;
		font-size: 14px;
	}
	
	button {
		padding: 10px 14px;
		font-size: 14px;
	}
	
	button.small {
		padding: 6px 10px;
		font-size: 12px;
	}
	
	input[type="text"], textarea, input[type="number"], select {
		padding: 10px 12px;
		font-size: 14px;
	}
	
	.informal-card {
		padding: 20px;
	}
	
	.timer-display {
		font-size: clamp(60px, 18vw, 250px);
	}
}

/* Speaker Panel Styling */
.panel-large .panel-header h3 { font-size: clamp(20px, 2vw, 28px); }
.panel-large .list-item { font-size: 14px; padding: 10px 12px; border-radius: 4px; background: var(--panel-dark); border: 1px solid var(--border); box-shadow: none; }
.panel-large .list-item.queue-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 6px 12px; }
.queue-num { font-size: 14px; font-weight: 700; background: var(--primary); color: white; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; box-shadow: none; }
.queue-text { line-height: 1.2; }
.queue-state { font-weight: 600; font-size: 15px; color: var(--text); }
.queue-name { color: var(--muted); font-size: 12px; }
.panel-large h4 { font-size: 14px; }
.list-large { gap: 8px; }

.speakers-display {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
	min-height: 0;
}

.queue-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

.queue-section .list {
	flex: 1;
	overflow-y: auto;
}

.current-section {
	flex-shrink: 0;
}

.section-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 12px 0;
}

.panel {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 2px 12px rgba(0, 103, 177, 0.1);
	box-sizing: border-box;
	max-width: 100%;
}

.panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid rgba(203, 213, 225, 0.4);
	background: var(--bg-dark);
	position: relative;
	z-index: 2;
	min-height: 48px;
	flex-wrap: wrap;
	gap: 8px;
	box-sizing: border-box;
}

.panel-header h3 {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	color: #e5e7eb;
	line-height: 1.4;
	padding: 4px 8px 4px 0;
	position: relative;
	z-index: 3;
	background: var(--bg-dark);
}

.panel-body { 
	padding: 24px 28px; 
	flex: 1; 
	display: flex; 
	flex-direction: column; 
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	gap: 16px;
	box-sizing: border-box;
}

/* Compact Form Styling */
.compact-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
	padding: 16px;
	background: transparent;
	border-radius: 6px;
	border: 1px solid var(--border);
}

.form-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
}

.form-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.form-row select {
	flex: 0 0 auto;
	min-width: 200px;
	max-width: 300px;
	width: auto;
}

button.compact {
	padding: 6px 10px;
	font-size: 12px;
	white-space: nowrap;
}

.compact-notes {
	max-height: none;
}

.compact-notes .note-item {
	font-size: 14px;
	padding: 10px 12px;
}

.compact-notes .note-meta {
	font-size: 11px;
}

.notes-warning {
	background: rgba(251, 191, 36, 0.1);
	border: 1px solid rgba(251, 191, 36, 0.3);
	border-radius: 6px;
	padding: 10px 12px;
	margin-bottom: 12px;
	font-size: 13px;
	color: var(--text);
}

.notes-warning p {
	margin: 0;
	color: var(--muted);
}

.status { margin-bottom: 10px; color: var(--muted); }
.status.open { color: #22c55e; }
.status.closed { color: var(--muted); }

.actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; box-sizing: border-box; }
.card .actions { gap: 12px; margin-top: 4px; margin-bottom: 0; }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-item { padding: 14px 16px; background: var(--panel-dark); border: 1px solid var(--border); border-radius: 10px; font-size: 16px; }
.two-col { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.row-actions { display: flex; gap: 6px; }

.muted { color: var(--muted); }
.current-speaker { 
	padding: 12px 14px; 
	background: var(--panel-dark);
	border: 1px solid var(--border); 
	border-radius: 6px; 
	min-height: 50px; 
	display: flex; 
	align-items: center; 
	justify-content: center;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	transition: all 0.2s ease;
	color: var(--text);
}

.current-speaker:not(.muted) {
	box-shadow: none;
}
.timer-big { font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; font-size: clamp(64px, 12vw, 160px); padding: 10px 0 20px; letter-spacing: 2px; color: var(--text); }

.timer-controls-section {
	margin-bottom: 20px;
}

.timer-controls-section .actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.timer-controls-section #currentSpeakerSection {
	margin-top: 16px;
}

.note-box { display: grid; gap: 8px; }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.note-item { background: var(--panel-dark); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 16px; }
.note-meta { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.note-text { white-space: pre-wrap; }

/* Voting Display Styles */
.vote-motion-box {
	background: rgba(0, 103, 177, 0.08);
	border: 2px solid rgba(0, 103, 177, 0.2);
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
}

.vote-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 12px;
}

.vote-card {
	background: var(--panel-dark);
	border: 2px solid var(--border);
	border-radius: 10px;
	padding: 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: all 0.2s ease;
}

.vote-card.yes-card {
	border-color: rgba(34, 197, 94, 0.3);
	background: rgba(34, 197, 94, 0.05);
}

.vote-card.no-card {
	border-color: rgba(239, 68, 68, 0.3);
	background: rgba(239, 68, 68, 0.05);
}

.vote-card.abstain-card {
	border-color: rgba(156, 163, 175, 0.3);
	background: rgba(156, 163, 175, 0.05);
}

.vote-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--muted);
}

.vote-count {
	font-size: 32px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.yes-card .vote-count { color: #22c55e; }
.no-card .vote-count { color: #ef4444; }
.abstain-card .vote-count { color: var(--muted); }

.vote-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.vote-btn {
	padding: 16px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 10px;
	border: 2px solid transparent;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.yes-btn {
	background: rgba(34, 197, 94, 0.15);
	color: #22c55e;
	border-color: rgba(34, 197, 94, 0.3);
}

.yes-btn:hover:not(:disabled) {
	background: rgba(34, 197, 94, 0.25);
	border-color: #22c55e;
	transform: translateY(-2px);
}

.no-btn {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.3);
}

.no-btn:hover:not(:disabled) {
	background: rgba(239, 68, 68, 0.25);
	border-color: #ef4444;
	transform: translateY(-2px);
}

.abstain-btn {
	background: rgba(156, 163, 175, 0.15);
	color: var(--muted);
	border-color: rgba(156, 163, 175, 0.3);
}

.abstain-btn:hover:not(:disabled) {
	background: rgba(156, 163, 175, 0.25);
	border-color: var(--muted);
	transform: translateY(-2px);
}

/* Informal Session */
.informal-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding: 40px;
}

.informal-card {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 40px;
	max-width: 600px;
	width: 100%;
	text-align: center;
}

.timer-setup {
	margin-top: 32px;
}

.informal-active {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	max-width: 100vw;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	box-sizing: border-box;
	overflow: hidden;
}

.informal-timer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: 1;
}

.return-time {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 600;
	color: var(--text-secondary);
	text-align: center;
	margin-bottom: 8px;
}

.roll-call-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text);
	padding: 12px;
	background: var(--panel-dark);
	border: 1px solid var(--border);
	border-radius: 8px;
	min-height: 60px;
	max-height: 200px;
	overflow-y: auto;
	flex: 1;
}

.timer-display {
	font-size: clamp(120px, 25vw, 400px);
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	color: var(--primary);
	margin-bottom: 20px;
	text-shadow: 0 0 50px rgba(37, 99, 235, 0.3);
	line-height: 0.9;
}

.timer-display.danger {
	color: #ef4444;
	text-shadow: 0 0 50px rgba(239, 68, 68, 0.5);
	animation: pulse-urgent 1s ease-in-out infinite;
}

@keyframes pulse-urgent {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.timer-label {
	color: var(--muted);
	font-size: clamp(24px, 3vw, 48px);
	font-weight: 600;
	margin-bottom: 60px;
}

.informal-active .actions {
	position: fixed;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 20px;
	width: 100%;
	max-width: 600px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.informal-active .actions {
		bottom: 20px;
		gap: 12px;
		padding: 0 16px;
	}
	
	.informal-active .actions button {
		flex: 1;
		min-width: 120px;
	}
}

/* ========== AUTH STYLES ========== */

/* Auth Card */
.auth-card {
	max-width: 480px;
	margin: 40px auto;
}

.auth-card .welcome-logo {
	max-width: 280px;
}

/* Auth Switch Link */
.auth-switch {
	text-align: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.auth-switch a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}

.auth-switch a:hover {
	text-decoration: underline;
}

/* Error and Success Messages */
.error-message {
	background: rgba(220, 38, 38, 0.1);
	border: 1px solid rgba(220, 38, 38, 0.3);
	color: #dc2626;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
}

.success-message {
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.3);
	color: #22c55e;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 16px;
}

/* Pending Message */
.pending-message {
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 24px;
}

/* Password Input */
input[type="password"],
input[type="email"] {
	background: #ffffff;
	color: var(--text);
	border: 2px solid var(--border);
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 15px;
	transition: border-color 0.2s ease;
	width: 100%;
	box-sizing: border-box;
}

input[type="password"]:focus,
input[type="email"]:focus {
	outline: none;
	border-color: var(--primary);
}

/* Admin Button */
.admin-btn {
	background: #7c3aed;
	color: white;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
}

.admin-btn:hover:not(:disabled) {
	background: #6d28d9;
}

/* Logout Button */
.logout-btn {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #e5e7eb;
	padding: 6px 12px;
	font-size: 13px;
}

.logout-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
}

/* Welcome User */
.welcome-user {
	background: rgba(0, 103, 177, 0.08);
	border: 1px solid rgba(0, 103, 177, 0.2);
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 20px;
	text-align: center;
	font-size: 14px;
	color: var(--text);
}

.welcome-user strong {
	color: var(--primary);
}

/* Modal Styles */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2000;
}

.modal[hidden] {
	display: none;
}

.modal-content {
	background: var(--panel);
	border-radius: 12px;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-dark);
}

.modal-header h2 {
	margin: 0;
	font-size: 20px;
	color: #e5e7eb;
}

.close-btn {
	background: transparent;
	border: none;
	font-size: 28px;
	color: #e5e7eb;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

.close-btn:hover {
	color: white;
}

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

.modal-body h3 {
	margin: 0 0 16px 0;
	font-size: 16px;
	color: var(--text);
}

/* User Card */
.users-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.user-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	background: var(--panel-dark);
	border: 1px solid var(--border);
	border-radius: 8px;
}

.user-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.user-info strong {
	font-size: 15px;
	color: var(--text);
}

.user-email {
	font-size: 13px;
	color: var(--primary);
}

.user-date {
	font-size: 12px;
	color: var(--muted);
}

.user-actions {
	display: flex;
	gap: 8px;
}

