:root {
	--bg-color: #0f172a;
	--paper-bg: rgba(30, 41, 59, 0.6);
	--accent-color: #38bdf8;
	--text-color: #e2e8f0;
}

body {
	background-color: #222a3d;
	color: var(--text-color);
	font-family: 'Inter', sans-serif;
	/*background: radial-gradient(circle at top right, #1e293b, #0f172a);*/
	background-attachment: fixed;
	min-height: 100vh;
	background-image: url('../../Includes/img/BackIcon.png');
	background-repeat: repeat;
}

/* Contenedor del documento */
.document-paper {
	background: var(--paper-bg);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 4rem;
	min-height: 75vh;
	font-family: 'Lora', serif;
	font-size: 1.25rem;
	line-height: 1.8;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	margin-bottom: 100px;
}

.paragraph-note {
	margin-bottom: 1.8rem;
	animation: fadeIn 0.8s ease;
	color: #d1d5db;
}

.time-stamp {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	color: var(--accent-color);
	font-weight: 600;
	display: block;
	margin-bottom: 2px;
	opacity: 0.5;
}

/* Barra de dictado */
.dictation-bar {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 800px;
	background: rgba(15, 23, 42, 0.95);
	border: 1px solid rgba(56, 189, 248, 0.4);
	border-radius: 100px;
	padding: 12px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
	z-index: 1000;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#live-text {
	color: var(--accent-color);
	font-style: italic;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-grow: 1;
	font-size: 0.95rem;
}

.mic-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.mic-on { background: #ef4444; color: white; box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
.mic-off { background: #38bdf8; color: #0f172a; }

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Capa de inicio necesaria por seguridad del navegador */
#overlay {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(15, 23, 42, 0.9);
	z-index: 2000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}