body {
  margin: 0;
  padding: 0;
  color: white;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
}

#background {
  position: fixed;
  background: rgba(5,49,78,1);
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

#photo {
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../polideportivo-copas.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  filter: grayscale(100%);
  opacity: 0.4;
}

.header {
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin-top: 20px;
}

#escudo {
  background-image: url('../escudo.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

.form-container {
  background-color: rgba(5,49,78,0.8);
  color: white;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.3);
  z-index: 1;
  margin-bottom: 40px;
  animation: fadeInUp;
  animation-duration: 0.8s;
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: white;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 10px;
  padding: 12px;
  width: 100%;
  color: rgba(5,49,78,1);
  font-family: 'Open Sans', sans-serif;
}

.form-control:focus {
  background-color: white;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  border: none;
  outline: none;
}

.form-control.is-invalid {
  border: 2px solid #dc3545;
  background-image: none;
}

.invalid-feedback {
  color: #ffcccc;
  font-size: 14px;
  margin-top: 5px;
}

.btn-primary {
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: rgba(5,49,78,1);
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  transition: transform 0.3s ease-in-out;
  margin-top: 10px;
}

.btn-primary:hover {
  transform: scale(1.05);
  background-color: white;
  color: rgba(5,49,78,1);
}

.btn-primary:disabled {
  background-color: rgba(255, 255, 255, 0.7);
  color: rgba(5,49,78,0.7);
}

.btn-continuar {
  margin-top: 60px;
}

.error-message {
  color: rgb(203, 28, 28);
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.loading-indicator {
  text-align: center;
  margin-top: 20px;
  color: white;
}

.loading-indicator .spinner-border {
  color: white !important;
}

.loading-indicator p {
  margin-top: 10px;
}

/* Confirmation page styles */
.confirmation-container {
  text-align: center;
}

.status-message {
  margin-bottom: 30px;
}

.home-button .btn-primary {
  max-width: 300px;
  margin: 20px auto 0;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .form-container {
    width: 95%;
    padding: 20px;
  }
  
  .header h1 {
    font-size: 32px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
} 