.sf-container{position: relative; width: 512px;}
.search-form {
    position: relative;
    width: 420px;
}
.search-form:focus-within,
.search-form.has-dropdown {
    width: 512px;
}
.search-form.has-dropdown .search-input{width: 512px;}
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--muted);
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 420px;
    padding: 12px 40px 12px 40px;
    border: 1px solid #c3c3c3;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    width: 512px;
}

.search-hint {
    position: absolute;
    right: 12px;
    padding: 2px 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 12px;
    color: var(--muted);
    font-family: monospace;
    pointer-events: none;
}

.search-input:focus ~ .search-hint {
    display: none;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-dropdown.show {
    display: block;
}

.dropdown-container {
    display: block;
    width: 100%;
    overflow-x: hidden;
}

.search-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 164px;
    width: 100%;
}

.dropdown-header {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    border-top: 1px solid #f3f4f6;
    transition: background 0.2s;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-item:first-child {
    border-top: none;
}

.dropdown-item:hover {
    background: #f9fafb;
}

.tool-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.tool-category {
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .sf-container {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form:focus-within,
    .search-form.has-dropdown {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form.has-dropdown .search-input {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        max-width: 100%;
    }
    
    .search-input:focus {
        width: 100%;
        max-width: 100%;
    }
    
    .search-dropdown {
        width: 100% !important;
        max-width: 100%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sf-container {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form:focus-within,
    .search-form.has-dropdown {
        width: 100%;
        max-width: 100%;
    }
    
    .search-form.has-dropdown .search-input {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        max-width: 100%;
        padding: 10px 36px 10px 36px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-input:focus {
        width: 100%;
        max-width: 100%;
    }
    
    .search-dropdown {
        width: 100% !important;
        max-width: 100%;
        max-height: 60vh;
        border-radius: 8px;
    }
    
    .dropdown-item {
        padding: 10px 14px;
    }
    
    .tool-name {
        font-size: 14px;
    }
    
    .tool-category {
        font-size: 11px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .search-input {
        padding: 10px 32px 10px 32px;
        font-size: 16px;
    }
    
    .search-icon {
        left: 10px;
        width: 18px;
        height: 18px;
    }
    
    .search-dropdown {
        max-height: 50vh;
    }
    
    .dropdown-item {
        padding: 8px 12px;
    }
}
#wifi-loader {
  --background: #62abff;
  --front-color: #4f29f0;
  --back-color: #c3c8de;
  --text-color: #414856;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg circle {
  position: absolute;
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-100deg);
  transform-origin: center;
}

#wifi-loader svg circle.back {
  stroke: var(--back-color);
}

#wifi-loader svg circle.front {
  stroke: var(--front-color);
}

#wifi-loader svg.circle-outer {
  height: 86px;
  width: 86px;
}

#wifi-loader svg.circle-outer circle {
  stroke-dasharray: 62.75 188.25;
}

#wifi-loader svg.circle-outer circle.back {
  animation: circle-outer135 1.8s ease infinite 0.3s;
}

#wifi-loader svg.circle-outer circle.front {
  animation: circle-outer135 1.8s ease infinite 0.15s;
}

#wifi-loader svg.circle-middle {
  height: 60px;
  width: 60px;
}

#wifi-loader svg.circle-middle circle {
  stroke-dasharray: 42.5 127.5;
}

#wifi-loader svg.circle-middle circle.back {
  animation: circle-middle6123 1.8s ease infinite 0.25s;
}

#wifi-loader svg.circle-middle circle.front {
  animation: circle-middle6123 1.8s ease infinite 0.1s;
}

#wifi-loader svg.circle-inner {
  height: 34px;
  width: 34px;
}

#wifi-loader svg.circle-inner circle {
  stroke-dasharray: 22 66;
}

#wifi-loader svg.circle-inner circle.back {
  animation: circle-inner162 1.8s ease infinite 0.2s;
}

#wifi-loader svg.circle-inner circle.front {
  animation: circle-inner162 1.8s ease infinite 0.05s;
}

#wifi-loader .text {
  position: absolute;
  bottom: -48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: capitalize;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.2px;
}

#wifi-loader .text::before, #wifi-loader .text::after {
  content: attr(data-text);
}

#wifi-loader .text::before {
  color: var(--text-color);
}

#wifi-loader .text::after {
  color: var(--front-color);
  animation: text-animation76 3.6s ease infinite;
  position: absolute;
  left: 0;
}

@keyframes circle-outer135 {
  0% {
    stroke-dashoffset: 25;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 301;
  }

  80% {
    stroke-dashoffset: 276;
  }

  100% {
    stroke-dashoffset: 276;
  }
}

@keyframes circle-middle6123 {
  0% {
    stroke-dashoffset: 17;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 204;
  }

  80% {
    stroke-dashoffset: 187;
  }

  100% {
    stroke-dashoffset: 187;
  }
}

@keyframes circle-inner162 {
  0% {
    stroke-dashoffset: 9;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 106;
  }

  80% {
    stroke-dashoffset: 97;
  }

  100% {
    stroke-dashoffset: 97;
  }
}

@keyframes text-animation76 {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  50% {
    clip-path: inset(0);
  }

  100% {
    clip-path: inset(0 0 0 100%);
  }
}
 

.breadcrumbs {
  margin-bottom: 20px;
  padding: 0;
}

.breadcrumbs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.breadcrumbs-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs-item a:hover {
  color: var(--primary-color);
}

.breadcrumbs-separator {
  opacity: 0.5;
  margin: 0 0.5rem;
}



.faq-section {
  margin-top: 60px;
}

.faq-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.faq-grid details {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  background: var(--surface-muted);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.related-tools-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.related-links {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.related-links a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-links a:hover {
  color: var(--primary-dark);
}

.related-links span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .related-links {
      padding: 24px;
  }
  
  .related-links a {
      font-size: 15px;
  }
  
  .related-links span {
      font-size: 13px;
  }
}