/* ===============================
   RESET
================================= */
* {
  box-sizing: border-box;
}

/* ===============================
   BASE
================================= */
body {
  background: #ffffff;
  color: #2c3e50;
  margin-top: 3.5rem;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
  font-weight: 600;
}

.card-header h1, .card-header h2, .card-header h3,
.card-header h4, .card-header h5, .card-header h6 {
  color: inherit;
}

.bg-steel {
  background: #667eea;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===============================
   NAVBAR Y LOGOS
================================= */
.site-header .navbar-brand {
  cursor: default;
  pointer-events: none;
  user-select: text;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .navbar-brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.site-header .navbar-brand img:first-child {
  height: 90px;
  margin-top: -22px;
  margin-bottom: -22px;
}

.site-header .navbar-nav .nav-link {
  color: #ecf0f1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-header .navbar-nav .nav-link:hover {
  color: #3498db;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

/* ===============================
   LOGOS EN PÁGINAS
================================= */
.page-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 15px auto;
  max-width: 600px;
  padding: 1rem;
}

.page-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.page-logos img:first-child {
  height: 100px;
}

/* ===============================
  CONTENIDO
================================= */
.content-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 1rem auto;
  max-width: 1140px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #dddddd;
  text-align: center;
}

.content-section h1 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.content-section p {
  color: #5d6d7e;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #bdc3c7;
}

.article-metadata a:hover {
  color: #2980b9;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

/* ===============================
   PERFIL ESTUDIANTE — TARJETAS
================================= */
.card-body .table {
  table-layout: fixed;
  width: 100%;
  word-break: break-word;
}

/* ===============================
   PERFIL
================================= */
.account-img {
  height: 60px;
  width: 60px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

/* ===============================
   DROPDOWN
================================= */
.dropdown {
  list-style: none;
  background: #ffffff;
  display: inline-block;
  border-radius: 6px;
}

.site-header .navbar-dark .dropdown .nav-link {
  color: #000000;
  text-decoration: none;
}

.site-header .navbar-dark .dropdown .nav-link:hover {
  color: #3498db;
}

.dropdown .dropdown-menu a {
  color: #000;
  text-decoration: none;
}

.dropdown .btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dropdown .btn:hover,
.dropdown .btn:active,
.dropdown .btn:focus {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.dropdown-menu .dropdown-item {
  display: inline-block;
}

.container .dropdown .dropdown-menu a:hover {
  color: #fff;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-color: #3498db;
}

/* ===============================
   BOTONES
================================= */
.btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

/* ===============================
   BOKEH DASHBOARD
================================= */
.bokeh-dashboard {
  padding-top: 15px;
  margin-left: -30px;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
  .site-header .navbar-brand img {
    height: 32px;
  }

  .page-logos img {
    height: 45px;
  }

  .content-section {
    margin: 1rem;
    padding: 1.5rem;
  }

  .content-section h1 {
    font-size: 2rem;
  }
}
