* {
	padding: 0px;
	margin: 0px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 9vh;
  background-color: #4a90e2;
  font-family: "Castoro", serif;
  font-weight: 400;
  font-style: normal;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 0 1rem;
  z-index: 99;
}

/* Nueva sección dropdown para notificaciones */
.dropdown {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 35px;
	right: 0;
	background-color: #ffffff;
	color: #333;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	padding: 10px;
	z-index: 99;
	min-width: 200px;
}

.notifications {
	position: relative;
	margin-right: 20px;
	cursor: pointer;
	z-index: 101;
}

.bell {
	font-size: 22px;
	color: white;
}

.notifications-panel {
	display: none;
	position: fixed;
	top: 60px;
	right: 40px;
	width: 400px;
	max-width: 95vw;
	height: 500px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.25);
	z-index: 200;
	flex-direction: column;
	overflow: hidden;
	animation: fadeInNotif 0.2s;
}

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

.panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 24px 10px 24px;
	border-bottom: 1px solid #e0e0e0;
	background: #f7f7f7;
}

.panel-title {
	font-size: 1.3rem;
	font-weight: bold;
	color: #333;
}

.close-btn {
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #888;
	transition: color 0.2s;
}

.close-btn:hover {
	color: #e74c3c;
}

.panel-tabs {
	display: flex;
	border-bottom: 1px solid #e0e0e0;
	background: #f7f7f7;
}

.tab-btn {
	flex: 1;
	padding: 12px 0;
	background: none;
	border: none;
	font-size: 1rem;
	cursor: pointer;
	color: #555;
	transition: background 0.2s, color 0.2s;
}

.tab-btn.active {
	background: #e3eaff;
	color: #1976d2;
	font-weight: bold;
}

.panel-content {
	flex: 1;
	overflow-y: auto;
	background: #fafbfc;
	padding: 0 0 10px 0;
}

/* NOTIFICACIONES ESTILO DASHBOARD */
.notifications-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;
	justify-content: space-between;
}

.notification {
	width: calc(100% - 10px);
	box-sizing: border-box;
	background: #e7e1e1;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	padding: 20px;
	transition: background 0.3s;
}

.notification:last-child {
	border-bottom: none;
}

.notification.unread {
	background: #eaf3ff;
	border-left: 4px solid #1976d2;
}

.notif-date {
	min-width: 70px;
	text-align: left;
	color: #1976d2;
	font-size: 0.85rem;
	font-weight: bold;
	margin-right: 18px;
}

.notif-hour {
	color: #888;
	font-size: 0.8em;
	font-weight: normal;
}

.notif-info {
	flex: 1;
}

.notif-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
	border-bottom: 2px solid #1976d2;
	padding-bottom: 5px;
}

.notif-desc {
	font-size: 0.95rem;
	color: #333;
	line-height: 1.4;
}

@media (max-width: 600px) {
	.notifications-panel {
		width: 98vw;
		right: 1vw;
		top: 55px;
		height: 90vh;
		border-radius: 10px;
	}
	.panel-header,
	.notification {
		padding-left: 10px;
		padding-right: 10px;
	}
	.notification {
		width: 100%;
	}
}

.nav-links li:hover {
	opacity: 0.6;
}

.logo {
  color: rgb(226, 226, 226);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
  font-family: "Castoro", serif;
  font-weight: 400;
  font-style: normal;
}


.nav-links {
	display: flex;
	justify-content: flex-end;
	gap: 1.5rem;
	width: auto;
	flex-wrap: wrap;
}

.nav-links li {
	list-style: none;
}

.nav-links a {
  color: rgb(226, 226, 226);
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 400;
  font-size: 20px;
  font-family: "Castoro", serif;
  font-style: normal;
  transition: color 0.2s;
}
.nav-links a:hover {
	opacity: 0.7;
}

.burger {
	display: none;
}

.burger div {
	width: 25px;
	height: 3px;
	background-color: rgb(226, 226, 226);
	margin: 5px;
	transition: all 0.3s ease;
}

@media screen and (max-width: 1074px) {
	.nav-links {
		gap: 1rem;
	}
}

@media screen and (max-width: 920px) {
  body {
	overflow-x: hidden;
  }
  .nav-links {
	position: fixed;
	left: 0;
	top: 0;
	width: 33vw;
	min-width: 300px;
	max-width: 550px;
	height: 100vh;
	background-color: #4a90e2;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	padding-top: 80px;
	gap: 0.5rem;
	transform: translateX(-100%);
	transition: transform 0.5s ease-in;
	z-index: 200;
  }
  .nav-links li {
	opacity: 0;
	width: 100%;
	margin: 0;
	padding: 0;
  }
  .nav-links a {
  width: 100%;
  display: block;
  text-align: left;
  font-size: 22px;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: "Castoro", serif;
  font-weight: 400;
  font-style: normal;
  }
  .burger {
	display: block;
	cursor: pointer;
	position: fixed;
	top: 10px;
	left: 25px;
	z-index: 300;
  }
}

.nav-active {
	transform: translateX(0%);
}

@keyframes navLinkFade {
	from {
		opacity: 0;
		transform: translateX(50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
