body {
  font-family: Verdana, sans-serif;
}

.container {
  /* box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.75); */
  padding-top: 30px;
  text-align: center;
  width: 100vw;
  height: 100vh;
}

.profile-photo {
  border-radius: 50%;
  height: 100px;
  width: 100px;
  padding-bottom: unset;
  margin-bottom: 1rem;
}

footer {
  background-color: #fff;
  color: #000;
  font-size: 0.7rem;
  bottom: 0;
  position: fixed;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
  line-height: 0.2rem;
}


footer a {
  color: #4FC1A3;
  text-decoration: none;
}

.qrDetails{
  justify-content: center;
  display: flex;
}

.appDownload {
  margin-top: 1.5rem;
}

/* W3Schools CSS replacements - Enhanced Modal Styles */
.w3-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-in-out;
}

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

.w3-modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  border: none;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.w3-card-4 {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.w3-animate-zoom {
  animation: modalZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.w3-center {
  text-align: center;
}

.w3-button,
.w3-btn {
  border: none;
  display: inline-block;
  padding: 12px 24px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.w3-button:hover,
.w3-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.w3-xlarge {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.w3-hover-red:hover {
  color: #fff;
  background-color: #ef4444;
}

.w3-display-topright {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  color: #6b7280;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.w3-display-topright:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.w3-container {
  padding: 32px;
}

.w3-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.w3-input {
  padding: 12px 16px;
  display: block;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.w3-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.w3-input::placeholder {
  color: #9ca3af;
}

.w3-border {
  border: 2px solid #e5e7eb;
}

.w3-block {
  display: block;
  width: 100%;
}

.w3-green {
  color: #fff;
  background-color: #4caf50;
  border: none;
}

.w3-green:hover {
  color: #fff;
  background-color: #45a049;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.w3-teal {
  color: #fff;
  background-color: #009688;
  border: none;
}

.w3-teal:hover {
  color: #fff;
  background-color: #00897b;
  box-shadow: 0 4px 12px rgba(0, 150, 136, 0.4);
}

.w3-padding {
  padding: 12px 24px;
}

.w3-margin-left {
  margin-left: 12px;
}

/* Enhanced Modal Specific Styles */
#password-modal .w3-modal-content,
#ageGate-modal .w3-modal-content {
  margin-top: 10vh;
}

#password-modal .w3-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#password-modal .w3-section {
  margin-top: 24px;
}

#password-modal .w3-button.w3-green {
  margin-top: 20px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
}

/* Age Gate Modal Styles */
#ageGate-modal .w3-container {
  padding: 32px;
}

#ageGate-modal .w3-container h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.3;
}

#ageGate-modal .w3-container p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 32px 0;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#ageGate-modal .w3-container p b {
  color: #111827;
  font-weight: 700;
}

#ageGate-modal .btn-group1 {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
}

#ageGate-modal .btn-group1 button {
  flex: 1;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  border: 2px solid #e5e7eb;
  background-color: #ffffff;
  color: #374151;
}

#ageGate-modal .btn-group1 button:first-child {
  border-color: #10b981;
  color: #10b981;
  background-color: #ffffff;
}

#ageGate-modal .btn-group1 button:first-child:hover {
  background-color: #f0fdf4;
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

#ageGate-modal .btn-group1 button:last-child {
  flex: 1.5;
  background-color: #009688;
  color: #ffffff;
  border: none;
}

#ageGate-modal .btn-group1 button:last-child:hover {
  background-color: #00897b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 150, 136, 0.4);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .w3-modal-content {
    width: 95%;
    margin: 10% auto;
    border-radius: 12px;
  }

  .w3-container {
    padding: 24px;
  }

  #ageGate-modal .w3-container h3 {
    font-size: 20px;
  }

  #ageGate-modal .btn-group1 {
    flex-direction: column;
  }

  #ageGate-modal .btn-group1 button:last-child {
    flex: 1;
  }
}