body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.boleta-header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centra verticalmente logo y texto */
  padding: 20px 40px;
  background: #ffffff;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: relative;
}

.taller-info {
  text-align: left; /* Texto alineado a la izquierda */
  flex-grow: 1;
  /* No flexbox aquí para no centrar horizontalmente */
}

.taller-info h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: bold;
  color: #222;
}

.taller-info p {
  margin: 2px 0;
  font-size: 16px;
  color: #555;
}

.logo {
  max-width: 180px;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 100px;
}

.boleta-container {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.boleta-form h2, .boleta-form h3 {
  text-align: center;
  color: #333;
}

.boleta-form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #444;
}

.boleta-form input, .boleta-form select, .boleta-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #bbb;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.boleta-form input:focus, 
.boleta-form select:focus, 
.boleta-form textarea:focus {
  border-color: #0066cc;
  outline: none;
}

.boleta-form button {
  margin-top: 25px;
  padding: 12px;
  background-color: #0066cc;
  color: white;
  border: none;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boleta-form button:hover {
  background-color: #004a99;
}

@media screen and (max-width: 600px) {
  .boleta-header {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    text-align: center;
  }

  .taller-info {
    margin-bottom: 15px;
    text-align: center; /* En móvil centrado */
  }

  .logo {
    max-width: 140px;
    max-height: 80px;
  }
}

/* Estilos para header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-home {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.btn-home:hover {
  background: #2980b9;
}

.user-info {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  color: #2c3e50;
  border: 1px solid rgba(52, 152, 219, 0.3);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-width: 150px;
}

.user-info div:first-child {
  font-weight: bold;
  margin-bottom: 3px;
  color: #2c3e50;
}

.user-info div:nth-child(2) {
  font-size: 12px;
  color: #e74c3c;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.user-info div:last-child {
  font-size: 11px;
  color: #7f8c8d;
  font-style: italic;
}
