/* Footer Gather */
.gather-footer {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: -10px;
  padding: 18px 0 18px 0;
  background: transparent;
  z-index: 100;
  gap: 0px;
}
.gather-isotipo {
  height: 40px;
  width: auto;
  display: inline-block;
  opacity: 0.7;
  vertical-align: middle;
}
.gather-footer-text {
  color: #ffffff93;
  font-size: 0.8rem;
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-left: -5px;
}

/* Logo UYCIA */
.uycia-logo-link {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  display: block;
  transition: transform 0.2s;
}
.uycia-logo-link:hover {
  transform: scale(1.05);
}
.uycia-logo {
  height: 75px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Estilos principales de la aplicación */
body {
  background: linear-gradient(
    135deg,
    #3f3f3f 0%,
    #666666 30%,
    #888 70%,
    #aaaaaa 100%
  );
}

.main-card {
  background-color: white;
  width: 1000px;
  height: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 32px 40px 32px 40px;
  position: relative;
}

.header-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.form-container {
  width: 280px;
  position: absolute;
  top: 150px;
  left: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: none;
}

.upload-container {
  width: 520px;
  position: absolute;
  top: 120px;
  right: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.divider-line {
  position: absolute;
  top: 110px;
  left: 377px;
  width: 2px;
  height: 270px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-default-highlighted) 15%,
    var(--color-default-highlighted) 85%,
    transparent 100%
  );
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.divider-line:hover {
  opacity: 1;
}

/* Línea horizontal separadora */
.horizontal-divider {
  position: absolute;
  bottom: 75px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-default-highlighted);
  opacity: 0.8;
}

/* Sección de botones con fondo gris */
.button-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  background-color: #fafafa;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 50px;
}

.main-title {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-text-primary);
  text-align: center;
  margin: 0;
  margin-bottom: 16px;
  line-height: 1.3;
}

.subtitle {
  font-family: "Libre Baskerville", serif;
  font-size: 1.3rem;
  color: #666;
  text-align: center;
  margin-top: -10px;
}

.form-section {
  width: 100%;
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  text-align: left;
}

.gather-link {
  color: var(--color-negative-normal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gather-link:hover {
  color: var(--color-negative-highlighted);
}

@media (max-width: 768px) {
  .main-card {
    width: 90%;
    height: auto;
    min-height: 80vh;
    padding: 20px;
    margin: 20px;
  }
  .form-container {
    width: 280px;
    top: 100px;
    left: 20px;
    position: relative;
    margin-bottom: 30px;
    transform: none;
  }
  .upload-container {
    width: 280px;
    top: auto;
    right: auto;
    left: 20px;
    position: relative;
  }
  .divider-line {
    display: none;
  }
  .main-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .subtitle {
    font-size: 0.9rem;
    margin-top: -8px;
  }
  .form-label {
    font-size: 0.9rem;
  }

  /* Ajustes para la nueva sección de botones en mobile */
  .horizontal-divider {
    display: none;
  }

  .button-section {
    position: relative;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    padding: 20px;
    justify-content: center;
  }
}

/* Notification Styles */
.notification-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification-message {
  margin-bottom: 8px;
}

.notification-actions {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.download-btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.download-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.download-btn:active {
  transform: translateY(0);
}

/* Download Modal Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
