body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
  }
  
/* Logo inicial */
.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  transition: opacity 0.6s ease;
}

.visible {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transition: opacity 0.6s ease;
}

/* Animación splash */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
}

.logo-animado {
  animation: fadeInScale 1s ease-in-out;
  max-width: 150px;
  height: 100px;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.logo-transicion {
  transform: translateY(-75px) scale(0.66);
  opacity: 0.9;
}
.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Login */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 0 20px;
  }
  
  /* Contenedor que envuelve logo y sombra */
  .login-logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 40px;
  }
  
  /* Logo con animación de rebote */
  .login-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: bounce 2s infinite;
    position: relative;
    z-index: 2;
  }
  
  /* Sombra fija pero animada en escala */
  .login-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    width: 60px;
    height: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    filter: blur(4px);
    z-index: 1;
    animation: shadow-scale 2s infinite;
  }
  
  /* Animación del rebote */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-12px);
    }
  }
  
  /* Animación de escala de la sombra */
  @keyframes shadow-scale {
    0%, 100% {
      transform: translateX(-50%) scaleX(1);
    }
    50% {
      transform: translateX(-50%) scaleX(1.4);
    }
  }
  
  /* Formulario */
  .login-form {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .login-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
  }
  
  .login-input:focus {
    border-color: #5fc9e5;
  }
  
  .login-button {
    padding: 14px;
    background-color: #5fc9e5;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .login-button:hover {
    background-color: #48b3d4;
  }
  .password-wrapper {
    position: relative;
    width: 100%;
  }
  
  .password-wrapper .login-input {
    width: 100%;
    padding: 12px;
    padding-right: 40px; /* espacio para el ojo */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
  }
  
  .password-wrapper .login-input:focus {
    border-color: #5fc9e5;
  }
  
  .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #888;
    z-index: 2;
  }
  
  
  /* Perfil */
  #profile-container {
    width: 100%;
    margin: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .headerperfil {
      background-color: #5fc9e5;
      padding: 40px 20px 80px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .back-arrow {
      position: absolute;
      left: 20px;
      font-size: 20px;
      color: white;
      cursor: pointer;
    }
    
    .headerperfil-title {
      color: white;
      font-weight: 500;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
  
  .profile-pic {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
  }
  
  .contentperfil {
    padding: 80px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .sectionperfil-title {
    font-weight: bold;
    margin: 20px -20px 10px;
    font-size: 16px;
    color: #000;
    background-color: #f2f2f2;
    padding: 10px 20px;
  }
  
  .info-text {
    margin: 5px 0;
    font-size: 16px;
  }
  
  .link-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
  }
  
  .link-section span {
    font-size: 16px;
  }
  
  .logout-container {
    margin-top: auto;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
    
    display: flex;             
    justify-content: center;   
}


.logout-btn {
  width: 100%;
  max-width: 400px;
  margin: 20px auto 60px auto; 
  padding: 12px;
  background-color: #000000;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Estilos generales */
.profile-header {
  background: linear-gradient(135deg, #3a7bd5, #00d2ff);
  color: white;
  padding: 20px 15px 40px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-header-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.back-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.profile-title {
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.profile-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-edit-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #3a7bd5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid white;
}

.profile-name {
  margin: 5px 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.profile-id {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-content {
  padding: 20px 15px;
  margin-top: -20px;
}

.profile-section {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
  display: flex;
  align-items: center;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  color: #333;
}

.section-icon {
  margin-right: 10px;
  color: #3a7bd5;
}

.info-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: #f5f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a7bd5;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-label {
  margin: 0;
  font-size: 0.8rem;
  color: #777;
}

.info-value {
  margin: 5px 0 0;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.2s;
}

.action-item:hover {
  background: #f9f9f9;
}

.action-content {
  display: flex;
  align-items: center;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: #f5f9ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a7bd5;
  margin-right: 15px;
}

.action-arrow {
  color: #ccc;
}

.profile-actions {
  margin-top: 30px;
  text-align: center;
}

.logout-button {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #ff4d4f;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.logout-button:hover {
  background: #fff0f0;
  border-color: #ffcccc;
}

.logout-button i {
  margin-right: 8px;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #ff4d4f;
}

.error-message i {
  font-size: 3rem;
  margin-bottom: 20px;
}

.error-message p {
  margin: 15px 0;
  font-size: 1.1rem;
}

.retry-button {
  background: #3a7bd5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
}

  