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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff !important;
  height: 100vh;
  overflow-y: auto;
  padding: 10px;
  line-height: 1.5;
  color: #1a1a1a;
}

.container {
  max-width: 100%;
  max-height: calc(100vh - 20px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 10px auto;
  overflow-y: auto;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  color: white;
  padding: 14px 10px;
  text-align: center;
}

.header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.header p {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Progress Bar Styles */
.progress-container {
  padding: 8px 12px;
  background: #f5f7fa;
  border-bottom: 1px solid #e0e4e8;
  display: none;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 0;
}

.progress-line {
  position: absolute;
  top: 25px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #e0e4e8;
  z-index: 1;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2196f3 0%, #64b5f6 100%);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 2px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  min-width: 60px;
  flex: 1;
}

.progress-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e4e8;
  color: #546e7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.65rem;
  margin-bottom: 2px;
  border: 2px solid #e0e4e8;
  transition: all 0.3s ease;
}

.progress-step.active .progress-circle {
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  color: #ffffff;
  border-color: #1976d2;
  transform: scale(1.05);
}

.progress-step.completed .progress-circle {
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  color: #ffffff;
  border-color: #1976d2;
}



.progress-step div:last-child {
  font-size: 0.55rem;
  color: #546e7a;
  text-align: center;
  font-weight: 500;
}

.progress-step.active div:last-child {
  color: #546e7a;
  font-weight: 500;
}

/* Form and Page Styles */
.page {
  display: none;
  padding: 10px;
  animation: fadeIn 0.4s ease-in-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form__card {
  background: #ffffff;
  border-radius: 6px;
  padding: 14px 0px 20px 0px;
  margin-bottom: 120px;
}

.form__card h2 {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 1rem;
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.75rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fafbfc;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

input:read-only {
  background: #f5f7fa;
  color: #546e7a;
  cursor: not-allowed;
}

.pnr-container,
.pnr-input {
  width: 100%;
}

/* Button Styles */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%) !important;
  color: white !important;
  min-height: 36px;
  touch-action: manipulation;
}

.btn:hover {
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}


.btn:disabled {
  background: #d0d7de;
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
}

/* Navigation button specific styles */
#prevBtn,
#prevBtn2 {
  position: relative;
  width: 32px;
  cursor: pointer;
  display: flex;
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  transition: all 0.2s ease;
  min-height: 32px;
}


#continueBtn {
  position: relative;
  width: 32px;
  cursor: pointer;
  display: flex;
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
  transition: all 0.2s ease;
  min-height: 32px;
  margin-left: 85%;
}
.app-buttons-row{
  display: flex;
  gap: 12px;              /* 32px is too large in most layouts */
  justify-content: center;/* aligns items on the main axis */ /* [web:18] */
  flex-wrap: wrap;        /* allows wrap on small screens */ /* [web:18] */
  column-gap: 32px;  /* space between buttons */
  row-gap: 16px; 
  margin-top: 18px;
}

/* Buttons */
.pill-btn{
  width: 100%;
  background: transparent;
  border: 1px solid #2196f3;
  color: #2196f3;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;

  display: inline-flex;
  align-items: center;    
  justify-content: center;
  gap: 8px;

  min-height: 32px;      
  box-sizing: border-box;
}

/* If you want BOTH buttons equal width in the row */
.app-buttons-row .pill-btn{
  flex: 1 1 0;            /* equal-width flex items */ /* [web:22][web:3] */
  min-width: 140px;       /* prevents too-narrow buttons on wrap */
}

/* Icons */
.btn-icon{
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Keep highlight the SAME size as the icon (avoid 40x40 overflow) */
.btn-icon-highlight{
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 50%;
  background: transparent; /* or keep a light bg if you want */
}

#submitComplaint {
  display: inline-flex !important;
  visibility: visible !important;
  position: relative;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%) !important;
  color: white !important;
  border: none !important;
  cursor: pointer;
}

.navigation #prevBtn,
#prevBtn2 {
  align-items: start;
}

.nav-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.navigation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* File Upload Styles */
.file-upload {
  border: 2px dashed #d0d7de;
  border-radius: 4px;
  background: #fafbfc;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 40px;
  width: 100%;
  margin: 10px 0;
  margin-left: 15px;
  margin-right: 15px;

}

.file-upload:hover {
  border-color: #2196f3;
  background: #f0f8ff;
}

.upload-options-inline {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 12px 12px;
}

.upload-option-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #2196f3;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;

}

.upload-option-inline:hover {
  background: #2196f3;
  color: #ffffff;
}

.upload-option-inline:last-child {
  background: #ffffff;
  border: 1px solid #2196f3;
  color: #2196f3;
}

.upload-option-inline:last-child:hover {
  background: #2196f3;
  color: #ffffff;
}

.upload-option-inline:last-child:active,
.upload-option-inline:last-child.touch-active {
  background: #2196f3;
  color: #ffffff;
}

.upload-subtext {
  font-size: 0.7rem;
  font-weight: 400;
  color: #546e7a;
  text-align: center;
  margin: 4px;
}

.image-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 6px;
  margin-top: 6px;
  margin: 6px;
}

.preview-item {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.preview-box {
  width: 100%;
  height: 60px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preview-box img,
.preview-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.delete-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #d32f2f;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: #b71c1c;
  transform: scale(1.05);
}

.delete-btn svg {
  width: 12px;
  height: 12px;
}

/* Staff Section Styles */
.staff-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0;
}

.staff-card {
  padding: 6px;
  border: 1px solid #d0d7de;
  border-radius: 4px;
  background: #fafbfc;
  transition: all 0.2s ease;
  text-align: center;
}

.staff-card:hover {
  border-color: #2196f3;
  background: #e3f2fd;
  transform: translateY(-1px);
}

.staff-card.selected {
  border-color: #2196f3;
  background: #e3f2fd;
}

.staff-card h3 {
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Message Styles */
.message-container {
  padding: 6px 0;
  min-height: 12px;
  width: 100%;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.upload-error,
.upload-success {
  padding: 6px 0;
  min-height: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  font-weight: 500;
  font-size: 0.7rem;
  text-align: center;
  color: #1a1a1a;
}

.message {
  display: none;
  padding: 5px;
  border-radius: 4px;
  margin: 4px 0;
  font-size: 0.7rem;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
  border-left: 2px solid;
  width: 100%;
  box-sizing: border-box;
}

.message.warning {
  background-color: #fef3c7;
  border: 1px solid #edd277;
  border-color: #fcd34d;
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.85rem;
  text-align: center;
}

.message.success {
  background-color: #e3f2fd;
  border: 1px solid #90caf9;
  border-color: #2196f3;
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.85rem;
  text-align: center;
}

.message.error {
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  border-color: #d32f2f;
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.85rem;
  text-align: center;
}

.error-message {
  color: #d32f2f;
  font-size: 0.7rem;
  margin-top: 2px;
  font-weight: 500;
  text-align: center;
}

.success-message {
  color: #2196f3;
  font-size: 0.7rem;
  margin-top: 2px;
  font-weight: 500;
  text-align: center;
}

/* Success Popup Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #ffffff;
  margin: 10% auto;

  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;

  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-message {
  margin-bottom: 10px;
  white-space: normal;
  font-weight: 400;
  color: #1a1a1a;

  font-size: 0.95rem;
  line-height: 1.6;

}

.modal-message a {
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-message a:hover {

  opacity: 0.9;
  transform: translateY(-1px);

}

#closePopup {
  margin-top: 10px;
  display: block;
  width: 80px;
  margin-left: auto;
  margin-right: auto;
  background: #2196f3 !important;
  color: white !important;
  border: none !important;
}

.modal-content h3 {
  font-size: 0.9rem;
  color: #2196f3;
  margin-bottom: 6px;
}

.modal-content p {
  font-size: 0.75rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 8px;
}

#successModal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: 10000 !important;
}

#successModal button,
#successModal a {
  background: #2196f3 !important;
  color: white !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

#successModal a:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

#successModal .modal-message a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 4px !important;
  min-height: 36px !important;
  cursor: pointer !important;
}

#successModal .modal-message div {
  margin-bottom: 8px !important;
}

#successModal .modal-message p {
  margin-bottom: 8px !important;
}

/* Visit Website Link */
.visit-website {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  display: flex !important;
  visibility: visible !important;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #4caf50 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 99999 !important;
  white-space: nowrap;
}

.visit-website:hover {
  background: linear-gradient(135deg, #45a049 0%, #6ec37a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.visit-website svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.file-info {
  padding: 4px;
  font-size: 0.75rem;
  color: #546e7a;
  text-align: center;
}

.fab-experience {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #2196f3;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

/* Icon size */
.fab-experience svg {
  width: 18px;
  height: 18px;
}

/* Hover effect (desktop) */
.fab-experience:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

/* Mobile optimization */
@media (max-width: 480px) {
  .fab-experience {
    padding: 14px;
    border-radius: 50%;
  }

  .fab-experience span {
    display: none;
  }
}


.upload-progress {
  height: 3px;
  background: #2196f3;
  border-radius: 2px;
  margin-top: 2px;
  transition: width 0.3s ease;
}

/* Page Display Fallback */
#page1,
#page2,
#page3 {
  display: none;
}

#page1.active {
  background: #ffffff;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
}

#page2.active,
#page3.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

/* Hide PNR section when page 2 is active */
#page2.active ~ #page1,
#page2.active #page1,
body:has(#page2.active) #page1 {
  display: none !important;
}

/* Only show current active page */
.page:not(.active) {
  display: none !important;
}

/* Responsive Design for larger screens */
@media (min-width: 1024px) {
  .container {
    max-width: 840px;
  }

  .header {
    padding: 32px;
  }

  .header h2 {
    font-size: 2.25rem;
  }

  .header p {
    font-size: 1.1rem;
  }

  .page {
    padding: 32px;
  }

  .form-row {
    gap: 24px;
    flex-wrap: nowrap;
  }

  .form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 24px;
  }

  #validatePnr {
    width: 150px;
    margin-top: 15px;
    margin-left: 75%;
    font-size: 0.95rem;
    padding: 8px 8px;
    font-weight: 600;
    color: white;
  }

  #prevBtn,
  #prevBtn2 {
    padding: 8px 8px;
    min-width: 30px;
    font-size: 0.85rem;
  }

  #continueBtn,
  #submitComplaint {
    width: 150px;
    font-size: 0.95rem;
    padding: 8px 8px;
    margin-left: 85%;
    display: inline-flex !important;
    visibility: visible !important;
    position: relative;
    align-items: center;
    justify-content: center;
  }

  .staff-section {
    gap: 20px;
  }

  .image-previews {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .preview-box {
    height: 130px;
  }

  .message-container {
    max-width: 70%;
    margin: 0 auto;
  }

  .upload-error {
    max-width: 70%;
    margin: 0 auto;
  }

  .upload-success {
    max-width: 70%;
    margin: 0 auto;
  }

  .message {
    max-width: 100%;
  }

  /* Visit Website Link */
  .visit-website {
    position: fixed;
    bottom: 80px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;

  }

  .visit-website:hover {
    background: #e8f5e9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }

  .visit-website svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

}

@media (min-width: 768px) {
  body {
    padding: 0;
  }

  .container {
    max-width: 640px;
    margin: 24px auto;
    border-radius: 8px;
  }

  .header {
    padding: 24px;
  }

  .header h2 {
    font-size: 2rem;
    margin-bottom: 4px;
  }

  .header p {
    font-size: 0.9rem;
  }

  .page {
    padding: 24px;
  }

  .form__card {
    padding: 12px;
  }

  .form__card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 12px;
  }

  .form-row {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .navigation {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
  }


  #validatePnr {
    width: 150px;
    margin-top: 15px;
    margin-left: 75%;
    font-size: 0.85rem;
    padding: 8px 8px;
    font-weight: 600;
    color: white;
  }

  #prevBtn,
  #prevBtn2 {
    padding: 8px 8px;
    min-width: 20px;
    font-size: 0.85rem;
  }

  #continueBtn,
  #submitComplaint {
    width: 150px;
    font-size: 0.95rem;
    padding: 8px 8px;
    margin-left: 80%;
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
  }

  .file-upload {
    border: 2px dashed #d0d7de;
    border-radius: 2px;
    background: #fafbfc;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 30px;
    width: 70%;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .file-upload:hover {
    border-color: #28a745;
    background: #f0f8ff;
  }

  .image-previews {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .message-container {
    max-width: 80%;
    margin: 0 auto;
  }

  .upload-error {
    max-width: 80%;
    margin: 0 auto;
  }

  .upload-success {
    max-width: 80%;
    margin: 0 auto;
  }

  .message {
    max-width: 100%;
  }

  .preview-box {
    height: 110px;
  }

  .staff-section {
    flex-direction: row;
    gap: 16px;
  }

  .staff-card {
    flex: 1;
    padding: 16px;
  }

  .progress-circle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .progress-step div:last-child {
    font-size: 0.8rem;
  }

  .visit-website {
    display: block !important;
    visibility: visible !important;
    position: fixed;
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 4px;
  }

  .visit-website svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

}

/* Specific mobile optimizations */
@media (max-width: 480px) {

  .form__card h2 {
    margin-bottom: 5px;
    font-size: 1rem;
  }

  #page2 .form-row {
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
  }

  #page2 .form-group {
    flex: 1;
    margin-bottom: 0;
  }

  #page2 .form-row:nth-child(2) {
    flex-direction: row;
  }

  #page2 .form-row:nth-child(2) .form-group {
    flex: 1;
  }

  #page2 .form-row:nth-child(3) {
    flex-direction: row;
  }

  #page2 .form-row:nth-child(3) .form-group {
    flex: 1;
  }

  #page2 .form-row:nth-child(4) {
    flex-direction: row;
  }

  #page2 .form-row:nth-child(4) .form-group {
    flex: 1;
  }

  /**
  #page2 #page3 .form__card {
    overflow-x: auto;
    white-space: nowrap;
    max-height: 100vh !important;
  }

  #page2 .form-row {
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
  }

  #page2 #page3 .form-group {
    flex: 1;
    margin-bottom: 0;
  }

  #page2 .form-row .form-group label {
    margin-bottom: 5px;
    font-size: 0.90rem;
    font-weight: 600;
    color: #1a1a1a;
  }

  #page2 .form-row .form-group input {
    width: 100%;
  }**/

  input,
  textarea,
  select {
    padding: 5px;
    font-size: 0.75rem;
    min-height: 30px;
  }

  textarea {
    min-height: 45px;
  }

  #validatePnr {
    width: 315px;
    margin-top: 15px;
    min-height: 45px;
    font-size: 0.95rem;
    padding: 4px 8px;
    font-weight: 600;
    color: white;
    margin: 10px auto;
  }

  #prevBtn,
  #prevBtn2 {
    padding: 6px 6px;
    margin-top: -4%;
  }

  #continueBtn {
    width: auto;
    font-size: 0.95rem;
    padding: 6px 8px;
    margin-left: 60%;
    margin-top: -10%;
  }

  #submitComplaint {
    width: 310px;
    font-size: 0.95rem;
    min-height: 45px;
    display: inline-flex !important;
    visibility: visible !important;
    position: relative;
    margin: 10px auto !important;
    align-items: center;
    justify-content: center;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
  }

  /* File Upload Styles */
  .file-upload {
    border: 2px dashed #d0d7de;
    border-radius: 2px;
    background: #fafbfc;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 30px;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .file-upload:hover {
    border-color: #28a745;
    background: #f0f8ff;
  }

  .upload-options-inline {
    display: flex;
    gap: 4px;
  }

  .upload-option-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #28a745;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
  }

  .upload-option-inline:hover {
    background: #28a745;
    color: #ffffff;
  }

  .upload-option-inline:last-child {
    background: #ffffff;
    border: 1px solid #28a745;
    color: #28a745;
  }

  .upload-option-inline:last-child:hover {
    background: #28a745;
    color: #ffffff;
  }

  .upload-option-inline:last-child:active,
  .upload-option-inline:last-child.touch-active {
    background: #28a745;
    color: #ffffff;
  }

  .upload-subtext {
    font-size: 0.7rem;
    font-weight: 400;
    color: #546e7a;
    text-align: center;
  }



  .visit-website::before {
    content: "Visit Website";
  }

  .message-container {
    max-width: 100%;
    margin-bottom: 5%;
  }

  .upload-error {
    max-width: 100%;
    margin-bottom: 5%;
  }

  .upload-success {
    max-width: 100%;
    margin-bottom: 5%;
  }

  .message {
    max-width: 100%;
    margin-bottom: 5%;
  }
}

@media (min-width: 481px) {



}

/* Extra small screens (very small mobile devices) */
@media (max-width: 320px) {
  .visit-website {
    display: block !important;
    visibility: visible !important;
    position: fixed;
    padding: 2px 4px;
    font-size: 0.65rem;
    border-radius: 4px;
  }

  .visit-website svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}

/* Review Interface Styles */
#reviewModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#reviewModal .review-container {
  background: white;
  border-radius: 15px;
  padding: 20px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#reviewModal h3 {
  margin: 0 0 15px 0;
  color: #333;
  text-align: center;
  font-size: 1.2rem;
}

#reviewModal .media-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  min-height: 200px;
}

#reviewModal img,
#reviewModal video {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#reviewModal .button-container {
  display: flex;
  gap: 15px;
  justify-content: center;
}

#reviewModal button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  min-width: 100px;
  font-weight: 600;
  transition: all 0.2s ease;
}

#reviewModal .discard-btn {
  background: #f44336;
  color: white;
}

#reviewModal .discard-btn:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

#reviewModal .accept-btn {
  background: #4CAF50;
  color: white;
}

#reviewModal .accept-btn:hover {
  background: #45a049;
  transform: translateY(-1px);
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .visit-website {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }

  .visit-website:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .container {
    margin: 12px auto;
  }

  .header {
    padding: 12px;
  }

  .header h2 {
    font-size: 1.5rem;
  }

  .page {
    padding: 12px;
  }

  .form-row {
    gap: 12px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .progress-container {
    padding: 8px;
  }

  .message-container {
    padding: 8px 0;
  }

  .upload-error {
    padding: 8px 0;
  }

  .upload-success {
    padding: 8px 0;
  }

  .message {
    font-size: 0.8rem;
  }

  .visit-website {
    bottom: 8px;
    right: 8px;
    padding: 6px 8px;
    font-size: 0.65rem;
  }

  .visit-website svg {
    width: 14px;
    height: 14px;
  }
}

.appbar {
  background-color: #ffffff;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64b5f6;
  border-bottom: 1px solid #e6e9ef;
  box-shadow: 
  0 1px 3px rgba(0,0,0,0.12),
  0 1px 2px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}


@media (hover: none) and (pointer: coarse) {

  .btn,
  .upload-option-inline,
  .staff-card {
    min-height: 48px;
    touch-action: manipulation;
  }

  input,
  textarea,
  select {
    min-height: 48px;
    font-size: 1rem;
  }

  .progress-circle {
    min-height: 26px;
    min-width: 26px;
  }

  .message-container {
    padding: 10px 0;
  }

  .visit-website {
    padding: 4px 6px;
    border-radius: 4px;
  }

}