@charset "utf-8";
/* ===========================
   HATTIES — STYLESHEET
   =========================== */

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

body {
	font-family: 'Quicksand', sans-serif;
	font-weight: 400;
	background-color: #EED638;
	color: #2e2e2e;
	min-height: 100vh;
}

a {
	text-decoration: none;
	color: inherit;
}

/* ===========================
   TOP BAR
   =========================== */

.topbar {
	background-color: #2e2e2e;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 28px;
	position: sticky;
	top: 0;
	z-index: 100;
}

.topbar-logo {
	font-size: 1.4rem;
	font-weight: 700;
	color: #EED638;

}

.topbar-acciones {
	display: flex;
	align-items: center;
	gap: 12px;
}

.topbar-btn {
	font-family: 'Quicksand', sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	color: #ffffff;
	background: none;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 20px;
	padding: 6px 16px;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.topbar-btn:hover {
	border-color: #EED638;
	color: #EED638;
}

.logout-btn {
	font-size: 1.1rem;
	padding: 6px 12px;
}

/* ===========================
   LAYOUT (sidebar + main)
   =========================== */

.layout {
	display: flex;
	min-height: calc(100vh - 54px);
}

/* ===========================
   SIDEBAR
   =========================== */

.sidebar {
	width: 180px;
	flex-shrink: 0;
	background-color: #2e2e2e;
	display: flex;
	flex-direction: column;
	padding: 24px 0;
	gap: 4px;
}

.nav-item {
	font-family: 'Quicksand', sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.6);
	padding: 12px 20px;
	border-left: 3px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.nav-item:hover {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.activo {
	color: #EED638;
	border-left-color: #EED638;
	background-color: rgba(238, 214, 56, 0.08);
}

/* ===========================
   CONTENIDO PRINCIPAL
   =========================== */

.contenido {
	flex: 1;
	padding: 36px 40px;
}

/* --- SALUDO --- */

.saludo {
	font-size: 1.8rem;
	font-weight: 700;
	color: #2e2e2e;
	margin-bottom: 32px;
}

/* ===========================
   BLOQUE DE PERFIL
   =========================== */

.perfil-bloque {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* --- AVATAR --- */

.avatar-zona {
	flex-shrink: 0;
}

.avatar-circulo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: #2e2e2e;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 4px solid #2e2e2e;
}

.avatar-inicial {
	font-size: 2.6rem;
	font-weight: 700;
	color: #EED638;
}

/* --- CAMPOS --- */

.campos-zona {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.campo-fila {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.campo-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #2e2e2e;
	opacity: 0.5;
}

.campo-valor {
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: #2e2e2e;
	border-radius: 12px;
	padding: 12px 16px;
}

.campo-valor-desc {
	align-items: flex-start;
}

.campo-texto {
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
	flex: 1;
}

.hat-texto {
	font-weight: 400;
}

.editar-btn {
	background: none;
	border: none;
	font-size: 1rem;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.15s ease;
	flex-shrink: 0;
}

.editar-btn:hover {
	opacity: 1;
}

/* --- INPUTS DE EDICION --- */

.campo-input {
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #2e2e2e;
	background-color: #ffffff;
	border: 2px solid #2e2e2e;
	border-radius: 12px;
	padding: 12px 16px;
	width: 100%;
	resize: vertical;
}

.campo-input:focus {
	outline: none;
	border-color: #EED638;
}

.oculto {
	display: none;
}

/* --- BOTÓN GUARDAR --- */

.guardar-btn {
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #EED638;
	background-color: #2e2e2e;
	border: none;
	border-radius: 12px;
	padding: 14px 28px;
	cursor: pointer;
	align-self: flex-start;
	transition: background-color 0.15s ease;
}

.guardar-btn:hover {
	background-color: #3e3e3e;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 700px) {

	.sidebar {
		width: 130px;
	}

	.nav-item {
		font-size: 0.78rem;
		padding: 10px 12px;
	}

	.contenido {
		padding: 24px 20px;
	}

	.perfil-bloque {
		flex-direction: column;
		gap: 24px;
	}

	.saludo {
		font-size: 1.4rem;
	}

}