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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #e6e9f0 0%, #d6e2ff 100%);
  min-height: 100vh;
  padding: 10px;
  line-height: 1.5;
  color: #1a1a1a;
}

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

/* Header Styles */
.header {
  background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
  color: #1a1a1a;
  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, #4caf50 0%, #80f185 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, #4caf50 0%, #80f185 100%);
  color: #ffffff;
  border-color: #28a745;
  transform: scale(1.05);
}

.progress-step.completed .progress-circle {
  background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
  color: #ffffff;
  border-color: #28a745;
}

.progress-step.completed .progress-circle::before {
  content: "✓";
  font-size: 0.8rem;
  color: #1a1a1a;
}

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

.progress-step.active div:last-child {
  color: #28a745;
  font-weight: 600;
}

/* 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;
}

.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: #28a745;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 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, #4caf50 0%, #80f185 100%);
  color: #1a1a1a;
  min-height: 36px;
  touch-action: manipulation;
}

.btn:hover {
  background: linear-gradient(135deg, #8fec93 0%, #6ec37a 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 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, #4caf50 0%, #80f185 100%);
  transition: all 0.2s ease;
  min-height: 32px;
}


#continueBtn {
  position: relative;
  width: 32px;
  cursor: pointer;
  display: flex;
  background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
  transition: all 0.2s ease;
  min-height: 32px;
  margin-left: 85%;
}


#submitComplaint {
  display: block !important;
  visibility: visible !important;
  position: relative;
}

.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: #28a745;
  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: #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;
  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: #28a745;
  background: #e8f5e9;
  transform: translateY(-1px);
}

.staff-card.selected {
  border-color: #28a745;
  background: #e8f5e9;
}

.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: #d1fae5;
  border: 1px solid #6ee7b7;
  border-color: #28a745;
  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: #28a745;
  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: 10px;
  border-radius: 4px;
  width: 90%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-message {
  margin-bottom: 10px;
  white-space: normal;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.8rem;
}

.modal-message a {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}

.modal-message a:hover {
  color: #0056b3;
}

#closePopup {
  margin-top: 10px;
  display: block;
  width: 80px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.modal-content .btn {
  width: auto;
  padding: 6px 12px;
  background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
}

.modal-content .btn:hover {
  background: linear-gradient(135deg, #45a049 0%, #6ec37a 100%);
}

/* Visit Website Link */
.visit-website {
  position: fixed;
  bottom: 16px;
  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: 9999;
  max-width: calc(100vw - 24px);
  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;
}


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

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

#page1.active,
#page2.active,
#page3.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !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: #1a1a1a;
  }

  #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%;
  }

  #submitComplaint {
    display: block !important;
    visibility: visible !important;
    position: relative;
  }

  .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: 16px;
    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: 8px;
  }

  .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: #1a1a1a;
  }

  #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%;
  }

  .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: #1a1a1a;
    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: block !important;
    visibility: visible !important;
    position: relative;
    margin-top: -10%;
    margin: 5px auto;
  }

  .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 {
    position: fixed;
    width: 110px;
    min-height: 32px;
    margin-bottom: -4%;
    margin-right: -4%;
    background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
    color: #1a1a1a;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0px 8px;
    align-items: center;
    justify-content: center;
  }

  .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: 22px;
    height: 22px;
    min-height: 6px;
    flex-shrink: 0;
  }

  .visit-website>span {
    display: inline-block;
  }

  .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) {

  .visit-website {
    position: fixed;
    width: 115px;
    min-height: 32px;
    margin-bottom: -4%;
    margin-right: -3%;
    background: linear-gradient(135deg, #4caf50 0%, #80f185 100%);
    color: #1a1a1a;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 4px;
    align-items: center;
    justify-content: center;
  }

  .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: 22px;
    height: 22px;
    min-height: 6px;
    flex-shrink: 0;
  }

  .visit-website>span {
    display: inline-block;
  }

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

}

/* 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;
  }
}

/* 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;
  }
}

@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;
  }

}