/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  background-color: #fff;
  width: 90%;
  max-width: 1000px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: auto;
}

/* Heading Style */
h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, #6a11cb, #2575fc); /* Purple to blue gradient */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 0;
  border-bottom: 2px solid #2575fc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Profile Picture */
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid #2575fc;
  object-fit: cover;
  margin: 20px 0;
  transition: transform 0.3s ease-in-out;
}

.profile-pic:hover {
  transform: scale(1.1);
}

/* Input Card */
fieldset {
  border: none;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

fieldset:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

legend {
  font-size: 1.5rem;
  color: #2575fc;
  font-weight: bold;
  padding: 0 10px;
  margin-bottom: 20px;
}

label {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 8px;
}

input, textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1.1rem;
  width: 100%;
  margin-bottom: 20px;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
}

input:focus, textarea:focus {
  border-color: #6a11cb;
  outline: none;
  background-color: #f5f5f5;
}

/* Submit Button */
button {
  background-color: #6a11cb; /* Purple */
  color: #fff;
  border: none;
  padding: 15px 25px;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

button:hover {
  background-color: #2575fc; /* Blue on hover */
}

/* Resume Display Section */
#resume-display {
  margin-top: 40px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: none;
}

#resume-display p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  text-align: left;
  line-height: 1.6;
}

#resume-display span {
  font-weight: bold;
  color: #2575fc;
}

#resume-display img.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Shareable Link Styling */
#shareable-link-container {
  margin-top: 20px;
  display: none;
}

#shareable-link {
  color: #6a11cb;
  text-decoration: none;
  font-weight: bold;
}

#shareable-link:hover {
  text-decoration: underline;
}

/* PDF Download Button */
#download-pdf {
  background-color: #32cd32;
  color: #fff;
  border: none;
  padding: 15px 25px;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  width: 100%;
}

#download-pdf:hover {
  background-color: #2e8b57;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 25px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .profile-pic {
    width: 130px;
    height: 130px;
  }

  button, #download-pdf {
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 20px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  button, #download-pdf {
    padding: 10px 15px;
    font-size: 1rem;
  }
}
