body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 10px;
}

.login-box {
  width: 100%;
  max-width: 420px;
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  text-align: center;
  background: #fff;
}

.login-box img.logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 25px;
  display: block;
}

.login-box label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 13px;
  flex-wrap: wrap;
}

.options a {
  color: #007BFF;
  text-decoration: none;
  font-weight: 500;
}

.options a:hover {
  text-decoration: underline;
}

.login-box button {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  background: #e63946;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-box button:hover {
  background: #c1121f;
  transform: translateY(-1px);
}

#resultado {
  margin-top: 15px;
  font-weight: bold;
  min-height: 22px;
}

/* App Footer */
.app-footer {
  margin-top: 30px;
  padding: 25px 20px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

.app-info h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #2e7d32;
  font-weight: 600;
  line-height: 1.3;
}

.app-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.4;
}

.available-on {
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.app-store-badge, .google-play-badge {
  display: block;
  transition: transform 0.3s ease;
}

.app-store-badge:hover, .google-play-badge:hover {
  transform: translateY(-3px);
}

.store-badge {
  height: 40px;
  width: auto;
  border-radius: 5px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2e7d32;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 20px;
  border: 2px solid #2e7d32;
  border-radius: 4px;
  transition: all 0.3s;
}

.learn-more:hover {
  background: #2e7d32;
  color: white;
}

.learn-more i {
  font-size: 12px;
  transition: transform 0.3s;
}

.learn-more:hover i {
  transform: translateX(3px);
}

.footer-icons {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
  font-size: 13px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.footer-icons div {
  text-align: center;
  margin: 5px;
  min-width: 100px;
}

/* Media queries para mejor responsividad */
@media (max-width: 480px) {
  .login-box {
    padding: 20px 15px;
    max-width: 100%;
  }
  
  .login-box label {
    font-size: 14px;
  }
  
  .login-box input,
  .login-box button {
    font-size: 15px;
  }
  
  .options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .app-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .store-badge {
    height: 45px;
  }
  
  .footer-icons {
    flex-direction: column;
    gap: 15px;
  }
  
  .app-footer {
    padding: 20px 15px;
  }
  
  .app-info h3 {
    font-size: 16px;
  }
  
  .app-info p {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .login-box {
    max-width: 450px;
  }
  
  .store-badge {
    height: 45px;
  }
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  color: white;
  padding: 25px 20px;
  text-align: center;
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.modal-body {
  padding: 30px 25px;
  text-align: center;
}

.modal-body p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-body p i {
  color: #2e7d32;
  font-size: 22px;
}

.modal-body .small {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
}

.modal-body strong {
  color: #1b5e20;
  font-weight: 700;
}

.modal-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

#closeModal {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  max-width: 200px;
}

#closeModal:hover {
  background: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(27, 94, 32, 0.3);
}

/* Responsividad para el modal */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-width: 320px;
  }
  
  .modal-header {
    padding: 20px 15px;
  }
  
  .modal-body {
    padding: 20px 15px;
  }
  
  .modal-body p {
    font-size: 16px;
  }
  
  .modal-header h2 {
    font-size: 20px;
  }
  
  #closeModal {
    padding: 12px 20px;
    font-size: 14px;
  }
}