/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background-color: #ffffff11;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 600px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

/* User details */
#userDetails {
  margin-bottom: 30px;
}

#userIcon {
  border-radius: 50%;
  border: 4px solid #ffffff55;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

#userIcon:hover {
  transform: scale(1.1);
}

#userDisplayName {
  font-size: 2rem;
  font-weight: bold;
}

/* Form Styles */
.form-container {
  background-color: #ffffff22;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

label {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffffcc;
}

input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: none;
  margin-top: 5px;
  font-size: 1rem;
  background-color: #ffffff33;
  color: #ffffff;
  outline: none;
  box-shadow: inset 0px 0px 5px rgba(255, 255, 255, 0.2);
}

/* Button Styles */
.btn-primary {
  background-color: #f1c40f; /* Yellow background */
  color: black; /* Black text for contrast */
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #f7d960; /* Lighter yellow on hover */
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in-out;
}

.modal-content {
  background-color: #2c5364;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.7);
}

.modal-content h2 {
  margin-bottom: 15px;
}

.modal-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.modal-content input {
  margin-bottom: 15px;
}

/* API Response Section */
#responseSection {
  margin-top: 20px;
  background-color: #ffffff11;
  border-radius: 10px;
  padding: 20px;
  box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.1);
}

#responseMessage {
  font-size: 1.2rem;
  color: #ffcccb;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
