/* Import all CSS files */
@import 'layout.css';
@import 'components/certificate.css';
@import 'components/filters.css';
@import 'components/search.css';
@import 'components/mobile.css';

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.5;
}

.ais-InstantSearch {
    max-width: 1200px;
    margin: 0 auto;
}

.support-message-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.support-message {
    display: inline-block;
    color: #4f46e5;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    background: #eef2ff;
    border-radius: 6px;
}

.ais-error {
    background-color: #fef2f2;
    color: #b91c1c;
    padding: 10px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.ais-error-message {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.support-message a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.support-message a:hover {
    text-decoration: underline;
}

.top-nav {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    margin-bottom: 24px;
    margin-top: 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(60, 72, 88, 0.06);
}

.top-nav .nav-header {
    padding: 10px 20px 10px 20px;
    border-bottom: none;
    font-weight: 500;
    color: #374151;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.nav-logo img {
    display: block;
    width: 28px;
    height: 28px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-title {
    font-weight: 700;
    font-size: 18px;
    color: #374151;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-nav li {
    margin-right: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.top-nav li:not(:last-child)::after {
    content: "|";
    color: #d1d5db;
    margin: 0 14px;
    font-weight: 400;
    font-size: 16px;
}

.top-nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    padding: 0 2px;
    transition: color 0.15s;
}

.top-nav a:hover {
    color: #4f46e5;
}

#searchbox {
    margin-top: 18px;
}

.api-waitlist {
  background: #065f46;
  font-size: smaller !important;
  color: #fff !important;
  padding: 2px 15px !important;
  border-radius: 20px;
  text-decoration: none;
  font-size: 19px;
  position: relative;
  outline: none;
  display: inline-block;
  letter-spacing: 0.06em;
}

.api-waitlist a  {
    color: white;
    text-decoration: none;
}

