h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e6f0ff;
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #d9eaff;
    margin-bottom: 15px;
}

.search-container input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
}

/* Filter Chips */
.chips {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.chip {
    padding: 8px 16px;
    background-color: #e6f0ff;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #c2d8ff;
}

.chip.active {
    background-color: #007bff;
    color: white;
}

/* Company Card */
.company-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #d9eaff;
    margin-bottom: 15px;
    cursor: pointer;
    padding-left: 25px;
    padding-right: 25px;
}

.company-title {
    font-weight: bold;
    font-size: 18px;
    color: rgb(18, 119, 214);
    text-align: center;
}

.company-desc {
    margin-top: 6px;
    font-size: 14px;
    color: #555;
}

.company-profile {
    margin-top: 6px;
    font-size: 14px;
    color: #555;
    text-align: justify;
    line-height: 1.3;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-item {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.nav-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}


#companyList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 7fr)) !important;
    column-gap: 30px;
    row-gap: 17px;
}

.company-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}

.booth-number {
  background: #eef2ff;
  color: #4f46e5;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
}

.filter-container {
  margin: 12px 0 20px;
}

.tags-container {
  margin-bottom: 20px;
}

.tags-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

#tagsList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  padding: 6px 12px;
  border-radius: 16px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.tag-chip.active {
  background: #4338ca;
  color: white;
}


.search-suggestions {
  position: absolute;
  width: calc(100% - 40px);
  max-width: 600px;
  background: #ffffff;
  border: 1px solid #e1e9f6;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-top: 6px;
  z-index: 1000;
}

.search-suggestion {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #1a2b4b;
}

.search-suggestion:hover {
  background: #f0f4ff;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #344563;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #050a13;
}

.empty-state p {
  margin-bottom: 20px;
  font-size: 14px;
  color: #d7dce5;
}

.reset-btn, .reset-btn2 {
  padding: 10px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 13%;
}

.reset-btn:hover, .reset-btn2:hover {
  opacity: 0.9;
}

#subcategorySelect {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d0d7e2;
  font-size: 14px;



  -webkit-appearance: none; /* for Chrome, Safari, Opera */
  -moz-appearance: none;    /* for Firefox */
  appearance: none; 
}



@media (max-width: 768px) {
    .nav-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    .reset-btn, .reset-btn2 {
        width: 40%;
        font-size: 12px;
        font-weight: 500;
    }
}

.company-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  transition: 0.2s ease;
}

.company-card.company-full {
  opacity: 0.45;
  filter: grayscale(100%);
  pointer-events: none; /* disables clicks */
}

.badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: #9ca3af;
  color: white;
  border-radius: 999px;
  font-size: 12px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-subtext {
    font-size: 14px;
    opacity: 0.9;
}

.loading-dots {
    display: inline-block;
}

.loading-dots span {
    animation: blink 1.4s infinite;
    animation-fill-mode: both;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.head-right {
    font-size: 18px;
    font-weight: 600;
    color: #0d6efd;
    background: #eef4ff;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #cfe0ff;
    white-space: nowrap;
}
#meetingCount {
    font-size: 18px;
    font-weight: 700;
    color: #083ea8;
}
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .head-right {
        width: 90%;
        text-align: center;
    }
}