/* 🌸 RESET Y BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #fff0f5; /* rosa pastel de fondo */
  background-image: url('images/bg.png'); /* opcional: patrón repetido */
  font-family: 'Comic Sans MS', 'Verdana', cursive;
  color: #5a4a66;
  line-height: 1.6;
  padding: 10px;
}

/* 🔝 NAVEGACIÓN SUPERIOR */
.top-nav {
  background: #ffb6d9;
  border: 3px dashed #ff69b4;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  margin-bottom: 15px;
}
.top-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #cc0066;
}
.top-nav a:hover {
  color: #ffccf9;
  text-decoration: underline;
}

/* 📐 LAYOUT CON TABLA */
.main-layout {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 4px ridge #ffcce6;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

/* 📋 SIDEBAR */
.sidebar {
  width: 220px;
  background: #fff5fa;
  padding: 15px;
  vertical-align: top;
  border-right: 3px dotted #ffb6d9;
}

/* 📦 CAJAS DEL SIDEBAR */
.box {
  background: #fff;
  border: 2px solid #ffcce6;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}
.box h3, .box h4 {
  color: #ff69b4;
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* 🪪 PERFIL */
.profile-box p {
  font-size: 0.9em;
  margin: 3px 0;
}

/* 📝 CONTENIDO PRINCIPAL */
.content {
  padding: 20px;
  vertical-align: top;
}

/* 🎀 BANNER DE BIENVENIDA */
.welcome-banner {
  text-align: center;
  background: linear-gradient(135deg, #ffb6d9, #fff0f5);
  border: 3px dashed #ff69b4;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.welcome-banner h1 {
  color: #cc0066;
  font-size: 1.8em;
  text-shadow: 2px 2px 0 #fff;
}
.owner-msg {
  font-style: italic;
  color: #7a5a8a;
}

/* 📔 ENTRADAS DEL DIARIO */
.diary-entry {
  background: #fffafb;
  border-left: 4px solid #ff69b4;
  border-radius: 0 10px 10px 0;
  padding: 15px;
  margin-bottom: 20px;
}
.diary-entry h2 {
  color: #cc0066;
  margin-bottom: 5px;
}
.date {
  font-size: 0.85em;
  color: #999;
  margin-bottom: 10px;
}
.entry-footer {
  margin-top: 10px;
  font-size: 0.9em;
}
.entry-footer a {
  color: #ff69b4;
  text-decoration: none;
}
.entry-footer a:hover {
  text-decoration: underline;
}

/* 🔄 ACTUALIZACIONES */
.updates-box {
  background: #f0f9ff;
  border: 2px solid #b3e0ff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
}
.updates-box h3 {
  color: #0099cc;
  margin-bottom: 10px;
}
.updates-box ul {
  list-style: none;
  padding-left: 0;
}
.updates-box li {
  margin: 5px 0;
  font-size: 0.95em;
}

/* 🔻 FOOTER */
.site-footer {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  color: #7a5a8a;
  font-size: 0.9em;
}
.site-footer a {
  color: #ff69b4;
}

/* 🎀 DETALLES KAWAII */
a {
  color: #cc0066;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #ff69b4;
}

/* 📱 RESPONSIVE BÁSICO */
@media (max-width: 768px) {
  .main-layout { width: 100%; }
  .sidebar, .content { 
    display: block; 
    width: 100% !important; 
    border: none !important;
  }
  .sidebar { border-bottom: 3px dotted #ffb6d9 !important; }
}