.player-form-container {
  background-color: #f0f8ff;
  font-family: 'Lato', sans-serif;
  color: #555555;
  margin: 3em auto;
  padding: 2em 3em;
  max-width: 650px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.player-form-container h2 {
  color: #0099ff;
  margin-bottom: 1em;
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 28px;
  text-align: center;
}

.player-form-container .wrap-input100 {
  margin-bottom: 1em;
  position: relative;
  background-color: #fff;
  height: 50px;
  border: 2px solid #e6e6e6;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.player-form-container input.input100,
.player-form-container textarea.input100 {
  display: block;
  width: 100%;
  background: transparent;
  height: 100%;
  padding: 0 22px;
  font-family: 'Lato-Regular', sans-serif;
  font-size: 15px;
  color: #555555;
  border: none;
  resize: none;
}

.player-form-container textarea.input100 {
  height: auto;
  min-height: 120px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.player-form-container label.upload-label {
  color: #0099ff;
  font-weight: 600;
  margin-bottom: 0.5em;
  display: block;
  position: relative;
}

.player-form-container .info-tooltip {
  cursor: pointer;
  margin-left: 8px;
  font-size: 16px;
  position: relative;
  display: inline-block;
  color: #0099ff;
  user-select: none;
}

.player-form-container .info-tooltip .tooltip-text {
  visibility: hidden;
  width: 180px;
  background-color: #0099ff;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -90px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
  line-height: 1.3;
}

.player-form-container .info-tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0099ff transparent transparent transparent;
}

.player-form-container .info-tooltip:hover .tooltip-text,
.player-form-container .info-tooltip:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
  outline: none;
}

.player-form-container button.submit-btn {
  width: 100%;
  height: 50px;
  background-color: #57b846;
  border: none;
  border-radius: 5px;
  color: white;
  font-family: 'Lato-Bold', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.player-form-container button.submit-btn:hover {
  background-color: #4a9c3a;
}

/* Parent Info Fields */
.player-form-container .parent-info {
  margin-bottom: 1em;
}

.player-form-container .parent-info input.input100 {
  height: 50px;
  padding: 0 22px;
  font-family: 'Lato-Regular', sans-serif;
  font-size: 15px;
  color: #555555;
  border: 2px solid #e6e6e6;
  border-radius: 5px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive */
@media (max-width: 768px) {
  .player-form-container {
    padding: 1em 1.5em;
    margin: 2em 1em;
  }
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 20px 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  font-family: 'Lato', sans-serif;
  color: #555555;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content h3 {
  color: #0099ff;
  margin-top: 0;
  font-family: 'Poppins-Bold', sans-serif;
}

.modal-content h4 {
  color: #007acc;
  margin-bottom: 0.3em;
}

.modal-content p, .modal-content li {
  font-size: 14px;
  line-height: 1.5;
}

.modal-content ul {
  margin-top: 0;
  margin-bottom: 1em;
  padding-left: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

/* Scrollbar for modal content */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #0099ff;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
