/* Compiled from SASS */
body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 40px;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  color: #2c3e50;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

h1 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 0.5em;
}

h2 {
  font-size: 1.8em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.4em;
}

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

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

textarea {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
}

button, .download-button {
  padding: 10px 18px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
}

button {
  background-color: #4CAF50;
}

button:hover {
  background-color: #3a8a3e;
}

.result {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.result table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.result table th,
.result table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 300px;
}

.result table th {
  background-color: #fbfbfb;
  font-weight: bold;
}

.result table tr:nth-child(even) {
  background-color: #fcfcfc;
}

.result table tr:hover {
  background-color: #f0f0f0;
}

.language-switcher {
  position: fixed;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-switcher a {
  margin-left: 10px;
  text-decoration: none;
}

.language-switcher a img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: transform 0.2s;
}

.language-switcher a img:hover {
  transform: scale(1.1);
}

.language-switcher a.active img {
  border: 2px solid #4CAF50;
  transform: scale(1.1);
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.compatibility-note {
  background-color: #fff8e1;
  padding: 10px 15px;
  border-left: 4px solid #ffc107;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.compatibility-note .beta-notice {
  margin-top: 10px;
  font-style: italic;
  color: #cc9700;
  font-size: 0.9em;
}

.quick-links {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.quick-link-button {
  padding: 10px 18px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
  background-color: #2196F3;
  margin: 0 5px;
}

.quick-link-button:hover {
  background-color: #0b7dda;
}

.instructions-container {
  margin: 30px 0;
}

.instructions-content {
  display: block;
  margin-bottom: 30px;
}

.instructions-text {
  width: 100%;
  margin-bottom: 20px;
}

.instructions-text ol {
  padding-left: 20px;
}

.instructions-text li {
  margin-bottom: 15px;
}

.instructions-images {
  width: 100%;
}

.image-container {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  background-color: #f9f9f9;
}

.image-caption {
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  color: #666;
}

.instruction-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* Browser mockup styles */
.browser-mockup {
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.browser-mockup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.browser-address-bar {
  background-color: #f1f3f4;
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

.browser-url-container {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  padding: 8px 14px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.browser-url-container:hover {
  background-color: #f5f5f5;
  cursor: pointer;
  border-color: #c4c4c4;
}

.browser-url-container:hover .copy-indicator {
  opacity: 1;
}

.browser-url {
  font-family: monospace;
  font-size: 0.95em;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin-right: 10px;
}

.browser-url img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.browser-content {
  padding: 25px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background-color: #fafafa;
}

.browser-instructions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.browser-instructions:hover {
  transform: translateX(3px);
}

.browser-text {
  margin: 0;
  color: #444;
  font-size: 1.1em;
  line-height: 1.4;
}

.copy-indicator {
  display: flex;
  align-items: center;
  background-color: #e8f5e9;
  padding: 6px 10px;
  border-radius: 4px;
  opacity: 0.85;
  transition: all 0.2s;
  border: 1px solid #c8e6c9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.copy-indicator:hover {
  background-color: #dff0df;
  transform: scale(1.02);
}

.copy-icon {
  margin-right: 6px;
  font-size: 1.2em;
  color: #2e7d32;
}

.copy-text {
  font-size: 0.85em;
  color: #2e7d32;
  font-weight: bold;
  letter-spacing: 0.01em;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border: 2px solid #7fd683;
  font-size: 1.1em;
  transition: transform 0.2s, background-color 0.2s;
}

.step-number:hover {
  transform: scale(1.1);
  background-color: #3d9f40;
}

.download-section {
  background-color: #e8f5e9;
  padding: 25px;
  border-radius: 8px;
  margin-top: 35px;
  border: 1px solid #d4ecd6;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.1) 50%);
  pointer-events: none;
}

.download-section h3 {
  margin-top: 0;
  color: #388e3c;
  font-size: 1.5em;
  border-bottom: 2px solid rgba(0,0,0,0.05);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.download-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.download-button {
  background-color: #2196F3;
  padding: 12px 24px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  letter-spacing: 0.02em;
}

.download-button:hover {
  background-color: #0b7dda;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.download-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Scroll to top button */
#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#scroll-to-top:hover {
  background-color: #3a8a3e;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#scroll-to-top:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  body {
    padding: 15px;
    padding-top: 40px;
  }
  
  .language-switcher {
    position: fixed;
    top: 5px;
    right: 10px;
    justify-content: flex-end;
    padding: 3px 8px;
    font-size: 0.9em;
  }
  
  /* Single column layout is now used for all screen sizes */
  
  .instructions-text, .instructions-images {
    width: 100%;
  }
  
  .result table th,
  .result table td {
    padding: 8px;
    font-size: 0.95em;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8em;
  }
  
  h2 {
    font-size: 1.5em;
  }
  
  h3 {
    font-size: 1.3em;
  }
  
  .language-switcher {
    padding: 2px 5px;
  }
  
  .language-switcher a img {
    width: 20px;
    height: 20px;
  }
  
  button, .download-button {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .download-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .result table th,
  .result table td {
    padding: 6px;
    font-size: 0.9em;
    max-width: 150px;
  }
  
  .browser-url-container {
    padding: 4px 8px;
  }
  
  .browser-url {
    font-size: 0.8em;
  }
  
  .browser-content {
    padding: 15px;
    min-height: 150px;
  }
  
  .browser-instructions {
    padding: 8px;
  }
  
  .browser-text {
    font-size: 0.9em;
  }
  
  .copy-indicator {
    padding: 3px 6px;
  }
  
  .copy-text {
    font-size: 0.7em;
  }
  
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 0.9em;
  }
}