:root {
  --primary-color: #337ab7;
  --dark-color: #222733;
  --light-bg: #f4f4f4;
  --text-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-color);
  padding: 1rem;
}

h1 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.menu-item {
  padding: 10px 20px;
  border: none;
  background-color: var(--dark-color);
  color: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background-color: var(--primary-color);
}

#search {
  display: block;
  margin: 0 auto 2rem;
  padding: 10px 30px;
  border-radius: 20px;
  background-color: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#search:hover {
  background-color: var(--primary-color);
  color: white;
}

#provider-info {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
}

#provider-info h2 {
  text-align: center;
  margin-bottom: 1rem;
}

#provider-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

#provider-table th,
#provider-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

#provider-table th {
  background-color: var(--primary-color);
  color: white;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay.active {
  display: flex;
  animation: fadein 0.5s ease-in-out;
}

.alert-window {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}

#close-button {
  margin-top: 1rem;
  background-color: #ddd;
  padding: 10px 25px;
  border: none;
  border-radius: 7px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#close-button:hover {
  background-color: var(--primary-color);
  color: white;
}

.hidden {
  display: none;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width: 600px) {
  .menu-item {
    width: 100%;
  }
}
