@import url('./variables.css');

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--dark-black, #121212);
  color: var(--light-white, #f1f1f1);
}

h2 {
  color: var(--light-white, #ffffff);
  text-align: center;
}

nav a {
  text-decoration: none;
  color: var(--forest-green, #28a745);
}

.table th,
.table td {
  color: #f8f9fa;
}

footer {
  text-align: center;
  margin-top: 20px;
}

/* Chart section */
.container-todo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.title-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.usuariosChart {
  width: 400px !important;
  height: 300px !important;
}

.modal-backdrop {
  background-color: transparent !important;
  backdrop-filter: none !important;
}

/* Navbar */

.navbar-uam {
  background-color: var(--uam-blue) !important;
  color: var(--uam-yellow) !important;
  padding: 0;
  height: 100px;
}
.uam-title {
  font-size: 2.0rem;
  font-weight: bold;
  color: var(--uam-yellow);
  margin-left: 20px;
}

@media (max-width: 600px) {
  .uam-title{ 
    font-size: 14px; 
  }
}

.uam-bar {
  background-color: var(--uam-blue);
  color: var(--uam-yellow);
  font-size: 2rem;
  font-weight: bold;
  border-radius: 15px;
  margin: 30px 0 30px 0;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.uam-bar .uam-login {
  color: var(--uam-yellow);
  font-weight: bold;
  font-size: 1.5rem;
}
.uam-bar .uam-date {
  color: var(--uam-white);
  font-size: 1.5rem;
  font-weight: normal;
}
.uam-logo {
  background-color:var(--uam-white);
  height: 80px;
  width: 200px;
  border-radius: 15px;
  padding: 10px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .uam-bar { font-size: 1.2rem; flex-direction: column; gap: 10px; }
  .uam-date { font-size: 1rem; }
}

.uam-bar > .flex-fill {
  flex: 1 1 0;
  min-width: 0;
}

.btn-uam {
    background: var(--uam-yellow);
    color: var(--uam-blue);
    font-weight: bold;
    font-size: 1.3rem;
    border-radius: 15px;
    padding: 12px 0;
    margin-bottom: 10px;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-uam:hover, .btn-uam:focus {
    background: #ffe066;
    color: var(--uam-blue);
    text-decoration: none;
}
.panel-usuario {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Centrado y tema claro para la página 404 */
body[theme-404] {
    background: var(--uam-white) !important;
    color: var(--uam-blue) !important;
}

.uam-logo a {
    display: inline-block;
}
.uam-logo img {
    cursor: pointer;
}

.uam-bar-commits {
    background: var(--uam-blue);
    border-radius: 18px;
    max-width: 1100px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 30px 30px 30px 30px;
}

.user-card {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border-radius: 16px;
}