/* CSS @imports must be at the top of the file */
@import url("https://use.typekit.net/ocl8dnh.css");

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

/* Base Typography and Layout */
body {
  font-family: "soleil", sans-serif !important;
  font-weight: 300;
  font-style: normal;
  color: #1d1d1b;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: 100vh;
  padding-bottom: 80px;
  line-height: 1.6;
}

p {
  font-family: "soleil", sans-serif !important;
  font-weight: 300;
  font-style: normal;
  color: #1d1d1b;
  margin-bottom: 1rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: "soleil", sans-serif !important;
  font-weight: 600;
  font-style: normal;
  color: #1d1d1b;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
  font-family: "soleil", sans-serif !important; 
  font-weight: 300;
  font-style: normal;
  color: #3CB4E5;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { 
  color: #2a9dc7;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

ul li, ol li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: #1d1d1b;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* Layout Components */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  margin-bottom: 2rem;
  page-break-inside: avoid;
}

/* Cover Page Styles */
.cover-page {
  text-align: center;
  padding: 4rem 2.5rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-container {
  margin-bottom: 3rem;
}

.logo-img {
  max-width: 300px;
  height: auto;
}

.title {
  font-size: 3rem;
  font-weight: 700;
  color: #3CB4E5;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1b;
  margin-bottom: 2rem;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.tagline-sub {
  font-size: 1rem;
  color: #6b7280;
  font-style: italic;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1d1d1b;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
}

.main-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3CB4E5;
  text-align: center;
  margin-bottom: 0;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group.inline-form {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "soleil", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #fff;
}

.input:focus {
  outline: none;
  border-color: #3CB4E5;
  box-shadow: 0 0 0 3px rgba(60, 180, 229, 0.1);
}

textarea.input {
  resize: vertical;
  min-height: 80px;
}

.notes-input {
  width: 100%;
  font-size: 0.95rem;
}

.helper-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* Score Input Styles */
.score-input-section {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.score-label {
  font-size: 1rem;
  margin-bottom: 0;
}

.score-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-input {
  width: 100px;
  text-align: center;
}

.score-suffix {
  font-size: 1.2rem;
  font-weight: 600;
  color: #374151;
}

.score-input-small {
  width: 60px;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Button Styling */
.btn {
  font-family: "soleil", sans-serif !important;
  font-weight: 500;
  font-style: normal;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #3CB4E5;
  color: white;
}

.btn-primary:hover {
  background-color: #2a9dc7;
}

.btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: #fef3c7;
  border: 2px solid #f59e0b;
}

.disclaimer-section .section-title {
  color: #92400e;
  border-bottom-color: #f59e0b;
}

.disclaimer-content p {
  color: #92400e;
  font-weight: 400;
  line-height: 1.8;
}

.warning-icon {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

/* Purpose Section */
.purpose-section {
  background-color: #f0f9ff;
}

.purpose-intro {
  font-size: 1.3rem;
  font-weight: 500;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

.emphasis {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a8a;
  font-style: italic;
  margin: 1.5rem 0;
}

/* Reassurance Section */
.reassurance-section {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #10b981;
}

.reassurance-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Checkmark List */
.checkmark-list {
  list-style: none;
  margin-left: 0;
}

.checkmark-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.checkmark-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Implications Sections */
.implications-section {
  background-color: #f9fafb;
  border-left: 4px solid #3CB4E5;
}

.implications-list {
  margin-left: 1.5rem;
}

.implications-list li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* Divider */
.divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 2rem 0;
}

/* Note Box */
.note-box {
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 1.5rem;
}

/* Static Text */
.static-text {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.static-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

/* Assessment Sections */
.assessment-section {
  position: relative;
}

.section-header {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  text-align: center;
  padding: 2rem;
}

/* Postural Assessment Grid */
.postural-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.postural-box {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.postural-box h3 {
  font-size: 1.2rem;
  color: #374151;
  margin-bottom: 1rem;
  text-align: center;
}

/* Spinal Grid */
.spinal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.spinal-box {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.spinal-box h3 {
  font-size: 1.2rem;
  color: #374151;
  margin-bottom: 1rem;
  text-align: center;
}

/* Image Upload Styles */
.image-upload-container {
  margin-bottom: 1rem;
}

.image-upload {
  display: none;
}

.image-upload-label {
  display: block;
  cursor: pointer;
}

.image-preview {
  width: 100%;
  min-height: 200px;
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.image-preview:hover {
  border-color: #3CB4E5;
  background-color: #f0f9ff;
}

.image-preview img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.upload-placeholder {
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 500;
}

.large-preview {
  min-height: 300px;
  max-width: 600px;
  margin: 0 auto;
}

/* Notes Section */
.notes-section {
  margin-top: 1rem;
}

.notes-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  display: block;
  margin-bottom: 0.5rem;
}

/* Observations List */
.observations-list {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: #6b7280;
}

.observations-list li {
  margin-bottom: 0.5rem;
}

/* Mobility Grid */
.mobility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.mobility-box {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.mobility-box h3 {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.mobility-single {
  max-width: 600px;
  margin: 2rem auto;
}

.mobility-single h3 {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: capitalize;
}

/* Utility Classes */
.mt-3 {
  margin-top: 1.5rem;
}

/* Lifestyle Questionnaire Grid */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.lifestyle-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.lifestyle-card[data-priority="low"] {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #10b981;
}

.lifestyle-card[data-priority="moderate"] {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #f59e0b;
}

.lifestyle-card[data-priority="high"] {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-color: #ef4444;
}

.lifestyle-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1b;
  margin-bottom: 1rem;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-display label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.priority-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.priority-display label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

/* Priority Boxes */
.priority-boxes {
  display: flex;
  gap: 0.25rem;
}

.priority-box {
  width: 32px;
  height: 32px;
  border: 2px solid #d1d5db;
  background: white;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.priority-box:hover {
  transform: scale(1.1);
}

.priority-box.active {
  color: white;
  border-color: transparent;
}

.priority-low {
  color: #10b981;
}

.priority-low.active {
  background-color: #10b981;
}

.priority-moderate {
  color: #f59e0b;
}

.priority-moderate.active {
  background-color: #f59e0b;
}

.priority-high {
  color: #ef4444;
}

.priority-high.active {
  background-color: #ef4444;
}

.score-ranges {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  text-align: center;
  padding: 3rem;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3CB4E5;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.cta-section h3 {
  font-size: 1.5rem;
  color: #1e3a8a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1rem;
}

/* Action Section */
.action-section {
  text-align: center;
  padding: 2rem;
}

/* Final CTA */
.final-cta {
  background-color: #1d1d1b;
  color: white;
  text-align: center;
  padding: 3rem;
}

.final-cta .section-title {
  color: white;
  border-bottom-color: #374151;
}

.final-cta p {
  color: #e5e7eb;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 500px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: white;
}

.contact-row label {
  font-weight: 600;
  color: #9ca3af;
}

.contact-display {
  color: #3CB4E5;
  font-weight: 500;
}

.qr-section {
  margin-top: 2rem;
  text-align: center;
}

.qr-code {
  width: 150px;
  height: 150px;
  background: white;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.qr-section p {
  font-size: 0.875rem;
  color: #9ca3af;
}

.final-message {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 2rem auto;
  max-width: 600px;
}

.signature {
  font-style: italic;
  color: #9ca3af;
  margin-top: 2rem;
}

.signature-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #3CB4E5;
  margin-top: 0.5rem;
}

.closing-message {
  margin-top: 2rem;
}

.closing-message p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.live-users {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.center {
  text-align: center;
}

.domain-info {
  color: #9ca3af;
  font-size: 0.65rem;
  margin-left: 0.5rem;
}

/* Status Message */
.status-message {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease-out;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1b;
}

.close {
  color: #9ca3af;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #374151;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.form-help {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Notification Styles */
.notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  to {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .main-section-title {
    font-size: 2rem;
  }
  
  .postural-grid,
  .mobility-grid {
    grid-template-columns: 1fr;
  }
  
  .spinal-grid {
    grid-template-columns: 1fr;
  }
  
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
  
  .button-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .button-group .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .score-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .footer {
    padding: 0.75rem;
  }
  
  .footer > div {
    gap: 0.5rem;
  }
  
  .live-users {
    font-size: 0.7rem;
  }
  
  body {
    padding-bottom: 90px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.75rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .final-cta {
    padding: 2rem 1rem;
  }
  
  .footer {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .live-users {
    font-size: 0.65rem;
  }
  
  .domain-info {
    display: none;
  }
  
  body {
    padding-bottom: 85px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    padding-bottom: 0;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #e5e7eb;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  .footer {
    display: none;
  }
  
  .button-group {
    display: none;
  }
  
  .action-section {
    display: none;
  }
  
  .image-preview {
    border-style: solid;
    min-height: 150px;
  }
  
  .upload-placeholder {
    display: none;
  }
  
  .cta-section {
    background: #f9fafb;
  }
  
  .final-cta {
    background: #1d1d1b;
    color: white;
  }
  
  /* Force page breaks */
  .cover-page {
    page-break-after: always;
  }
  
  .disclaimer-section {
    page-break-after: always;
  }
  
  /* Ensure certain sections start on new page */
  .assessment-section {
    page-break-before: auto;
    page-break-after: auto;
  }
  
  /* Hide interactive elements */
  input[type="file"],
  .priority-boxes {
    display: none;
  }
  
  /* Show print-only text for scores */
  .score-display::after {
    content: " (Score: ______)";
  }
  
  /* Adjust text sizes for print */
  body {
    font-size: 11pt;
  }
  
  h1 { font-size: 20pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  
  /* Ensure black text for better print quality */
  p, li {
    color: #000;
  }
}

/* Additional Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Contact Input Section */
.contact-input-section {
  margin-bottom: 2rem;
}

.input-dark {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.input-dark:focus {
  border-color: #3CB4E5;
  background-color: rgba(255, 255, 255, 0.15);
}

.input-dark::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* QR Code Upload Styles */
.qr-upload-container {
  margin: 0 auto;
}

.qr-upload-label {
  display: block;
  cursor: pointer;
}

.qr-preview {
  width: 150px;
  height: 150px;
  background: white;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.qr-preview:hover {
  border-color: #3CB4E5;
  background-color: rgba(255, 255, 255, 0.95);
}

.qr-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.qr-placeholder {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Display Practitioner Signature */
#display-practitioner-signature {
  min-height: 1.5rem;
}

