/* Estilos generales */
.concesion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
}

/* Hero */
.hero-concesion {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(181deg, #101010, #004080);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hero-concesion h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.hero-concesion p {
  font-size: 1.2em;
}

/* Formulario */
.formulario-concesion {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.formulario-concesion h2 {
  margin-bottom: 20px;
  font-size: 1.6em;
  color: #004080;
}

.campo {
  margin-bottom: 15px;
}

.campo label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.campo input,
.campo textarea,
.campo select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.campo small {
  display: block;
  margin-top: 5px;
  color: #666;
}

/* Botón */
.btn-enviar {
  background: #004080;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1em;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-enviar:hover {
  background: #0056b3;
}

/* Previsualización de fotos */
#preview-fotos {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

#preview-fotos img {
  border: 1px solid #ccc;
  border-radius: 6px;
}

.mensaje-confirmacion {
  text-align: center;
  padding: 40px;
}

.loader {
  display: inline-block;
  animation: girar 1s linear infinite;
}

.rueda {
  width: 80px;
  height: 80px;
}

@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.texto-cargando {
  margin-top: 15px;
  font-size: 1.2em;
  color: #007bff;
}

.exito {
  text-align: center;
}

.check {
  width: 80px;
  height: 80px;
}

.texto-exito {
  margin-top: 15px;
  font-size: 1.2em;
  color: #28a745;
  font-weight: bold;
}
.contenido-principal {
  padding: 30px;
  font-family: "Poppins", "Inter", Arial, sans-serif;
}

.contenido-principal h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #007bff;
  display: flex;
  align-items: center;
}

.contenido-principal h1::before {
  content: "";
  margin-right: 10px;
}

.tabla-solicitudes table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tabla-solicitudes th {
  background: #007bff;
  color: #fff;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.tabla-solicitudes td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.tabla-solicitudes tr:nth-child(even) {
  background: #f9f9f9;
}

.tabla-solicitudes tr:hover {
  background: #eef6ff;
}

.btn-ver {
  background: #007bff;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-ver:hover {
  background: #0056b3;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 600;
}

.badge-nueva {
  background: #ffc107;
  color: #fff;
}

.badge-revisada {
  background: #28a745;
  color: #fff;
}

/* Paginación */
.paginacion {
  margin-top: 20px;
  text-align: center;
}

.paginacion a {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.paginacion a:hover {
  background: #007bff;
  color: #fff;
}

.paginacion a.activo {
  background: #007bff;
  color: #fff;
  font-weight: 600;
}

.btn-no-disponible {
  background: #1e7e34;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-no-disponible:hover {
  background: #1e7e34;
}

.btn-disponible {
  background: #a71d2a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-disponible:hover {
  background: #a71d2a;
}

/* Filas grises para no disponibles */
.tabla-solicitudes tr.no-disponible {
  background-color: #f0f0f0;
  color: #888;
}
