/* adjuntos.css */
:root {
  --primary-color: #46c7ee;
  --secondary-color: #6a11cb;
  --text-color: #eee7e7;
  --light-text: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --blur: blur(10px);
}

body {
  background: #333;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo desenfocado */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("../img/fondo.jpg") no-repeat center center;
  background-size: cover;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  z-index: -1;
  transform: scale(1.1);
}

.pagina-especial {
  font-family: "Segoe UI", "Roboto", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text-color);
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

/* Tarjetas estilo vidrio */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

/* Títulos */
.title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

/* Inputs y selects */
.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-group input[type="text"],
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: #eee7e7;
  font-size: 1rem;
}

.input-group input[type="text"]:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.3);
}

/* Botón general */
.btn-glass {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

.btn-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
}

/* Lista de archivos */
.archivos-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archivo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.archivo-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.archivo-nombre {
  flex-grow: 1;
  font-size: 0.95rem;
}

.icono {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

/* Botones de acción */
.btn-movimientos,
.btn-ver,
.btn-eliminar {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 8px;
  text-decoration: none;
  margin: 5px;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* solo los botones se mueven */
}

.btn-movimientos {
  background: rgba(40, 180, 235, 0.9);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ver {
  background: rgba(76, 175, 80, 0.9);
  color: white;
}

.btn-eliminar {
  background: rgba(244, 67, 54, 0.9);
  color: white;
}

.btn-movimientos:hover,
.btn-ver:hover,
.btn-eliminar:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

.btn-movimientos:active,
.btn-ver:active,
.btn-eliminar:active {
  transform: translateY(1px);
}

.btn-movimientos img,
.btn-ver img,
.btn-eliminar img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

.btn-text {
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .archivo-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-ver,
  .btn-eliminar {
    margin: 5px 0 0 0;
    width: 100%;
    justify-content: center;
  }
}
