
.archivos {
  width: 100%;
  font-family: sans-serif;
}

/* Card */
.archivos__card {
  width: 100%;
  height: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Drop zone */
.archivos__drop-zone {
  border: 2px dashed #cbd5e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  color: black;
  font-size: 18px;
}

.archivos__resaltar {
  font-weight: bold;
}

.archivos__drop-zone.dragover {
  background: #eaf3ff;
}

/* Lista de archivos */
.archivos__lista {
  margin-top: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  height: 180px;
  overflow-y: auto;
  background: #fafafa;
}

/* Item de archivo */
.archivos__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  position: relative;
}

.archivos__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.archivos__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.archivos__icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.archivos__file-icon img{
  height: 50px;
  width: 50px;
}

.archivos__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.archivos__delete-btn {
  color: #555;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.archivos__success-icon {
  color: green;
  font-weight: bold;
  display: none;
}

.archivos__error-icon {
  color: red;
  font-weight: bold;
  display: none;
}

.archivos__progress-container {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 10px;
  margin-top: 6px;
  overflow: hidden;
}

.archivos__progress-bar {
  height: 100%;
  width: 0%;
  background: #4a90e2;
  transition: width 0.2s;
}

/* Botón de subir */
.archivos__btn {
  margin-top: 15px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #4a90e2;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.archivos__btn:hover {
  background: #357abd;
}

.archivos-vaciar__btn {
  margin-top: 15px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #1e9305;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.archivos-vaciar__btn:hover {
  background: #0ac716;
}

/* Input oculto */
.archivos__input--oculto {
  display: none;
}