/* 404 Not Found Page Styles - Blue & White Theme */

.not-found-container {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E7F3FF 100%);
}

.not-found-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.not-found-icon {
  color: #1877F2;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.not-found-title {
  font-size: 32px;
  font-weight: 700;
  color: #050505;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.not-found-description {
  font-size: 16px;
  color: #65676B;
  margin: 0 0 32px 0;
  line-height: 1.6;
}

/* Search Form */
.not-found-search {
  margin-bottom: 40px;
}

.not-found-search .search-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.not-found-search .search-input {
  flex: 1;
  padding: 14px 20px;
  /* IMPORTANT: Keep font-size >= 16px to prevent mobile browser auto-zoom */
  font-size: 16px;
  border: 2px solid #DADDE1;
  border-radius: 8px;
  background: #FFFFFF;
  color: #050505;
  outline: none;
  transition: all 0.2s ease;
}

.not-found-search .search-input:focus {
  border-color: #1877F2;
  background: #FFFFFF;
}

.not-found-search .search-input::placeholder {
  color: #8A8D91;
}

.not-found-search .search-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  background: #1877F2;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.not-found-search .search-button:hover {
  background: #166FE5;
  transform: translateY(-1px);
}

.not-found-search .search-button:active {
  transform: translateY(0);
}

/* Links Section */
.not-found-links {
  margin-top: 48px;
}

.not-found-links-title {
  font-size: 18px;
  font-weight: 600;
  color: #050505;
  margin: 0 0 20px 0;
}

.not-found-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.not-found-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: #FFFFFF;
  border: 2px solid #DADDE1;
  border-radius: 12px;
  color: #050505;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.not-found-link:hover {
  background: #F0F2F5;
  border-color: #1877F2;
  transform: translateY(-2px);
}

.not-found-link svg {
  color: #1877F2;
}

.not-found-link span {
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .not-found-container {
    padding: 20px 16px;
  }

  .not-found-title {
    font-size: 24px;
  }

  .not-found-description {
    font-size: 14px;
  }

  .not-found-search .search-form {
    flex-direction: column;
  }

  .not-found-search .search-input,
  .not-found-search .search-button {
    width: 100%;
  }

  .not-found-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .not-found-link {
    padding: 16px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .not-found-icon svg {
    width: 80px;
    height: 80px;
  }

  .not-found-title {
    font-size: 20px;
  }

  .not-found-links-title {
    font-size: 16px;
  }
}
