body {
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  margin: 2rem auto;
  font-size: 15px;
  color: #333;
}
input, select {
  display: block;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
}
button {
  font-family: 'Poppins', sans-serif;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}
.error {
  color: red;
}
#module-content {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid #ddd;
  overflow-x: auto;
  max-width: 100%;
}

.color-verde {
  background-color: lightgreen;
}
.color-amarillo {
  background-color: #f5f176;
}
.color-rosado {
  background-color: #ffc0cb;
}

/* Current lesson highlighting */
.current-lesson {
  background-color: #e3f2fd !important;
  border-left: 4px solid #007bff !important;
}
.current-lesson td {
  font-weight: 500;
}

table a {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

table {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: white;
}

table thead {
  background-color: #f2f2f2;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 8px;
}

table th {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.access-table {
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  font-size: small;
}

.access-table th {
  background-color: #f2f2f2;
  text-align: center;
  font-weight: 600;
  padding: 8px;
  font-size: 0.95rem;
}

.access-table td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: middle;
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

#encabezado-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.enc-col {
  display: flex;
  align-items: center;
}

.enc-col.centro {
  flex: 1;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.enc-col.derecha {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

#logo-empresa {
  height: 100px;
}

#logo-colegio {
  height: 100px;
}

#encabezado-login {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}

#encabezado-login img {
  height: 50px;
  margin-right: 1rem;
}

#encabezado-login h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-botones {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.nav-botones a,
.nav-botones button {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  margin: 0;
}

.nav-botones a:hover,
.nav-botones button:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

#btn-logout {
  color: #ff9933;
  border-color: #ff9933;
}

#btn-logout:hover {
  background-color: #ff9933;
  color: white;
}

.nav-botones a.active {
  background-color: #026e81;
  color: white;
  border-color: #026e81;
}

.locked-column {
  background-color: #f5f5f5 !important;
  color: #666;
}

.enc-col.centro h2 {
  margin-bottom: 0.2rem;
}

.enc-col.centro h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Password visibility toggle styles */
.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  flex: 1;
  padding-right: 2.5rem;
  margin: 0.5rem 0;
}

.password-toggle {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  margin: 0;
  height: auto;
  min-height: auto;
  line-height: 1;
  color: #666;
}

.password-toggle:hover {
  color: #333;
}

@media (max-width: 480px) {
  body {
    margin: 0;
    padding: 0.5rem;
    max-width: none;
  }
  
  #module-content {
    padding: 0.5rem;
  }
  
  #encabezado-dashboard {
    padding: 0.5rem;
  }
}