body {
  background: linear-gradient(120deg, #181d2f 0%, #2b3353 100%);
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
}

.company-selector-wrapper {
  max-width: 860px;
  margin: 64px auto 0 auto;
  padding: 42px 24px 60px 24px;
  background: rgba(255,255,255,0.95);
  border-radius: 26px;
  box-shadow: 0 8px 48px 0 rgba(32,38,78,0.19), 0 1.5px 8px #b0b5c8;
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-selector-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 22px;
  position: relative;
}

.selector-logo {
  max-width: 75px;
  margin-right: 22px;
  margin-bottom: 0;
  filter: drop-shadow(0 2px 9px rgba(160,140,40,0.12));
}

.company-selector-header h2 {
  font-size: 1.6rem;
  color: #20223b;
  letter-spacing: 0.03em;
  font-weight: 700;
  flex: 1;
}

.logout-btn {
  background: none;
  border: none;
  margin-left: auto;
  cursor: pointer;
  padding: 7px 10px 7px 10px;
  border-radius: 8px;
  transition: background 0.18s;
  outline: none;
}
.logout-btn:hover {
  background: #fff6e0;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  width: 100%;
  margin-top: 18px;
}

.company-card {
  background: linear-gradient(120deg, #f4f5fa 40%, #ebe9d9 100%);
  border-radius: 19px;
  box-shadow: 0 2px 14px 0 rgba(175,153,49,0.10), 0 1.5px 4px #c7c7b0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 24px 30px 24px;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.13s;
  position: relative;
  border: 1.3px solid #e9e5d3;
  outline: none;
}

.company-card:hover, .company-card:focus {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 4px 22px 0 #efd98280, 0 2px 9px #bfb688;
  background: linear-gradient(120deg, #fff8e0 25%, #f2efe0 100%);
  border-color: #d0b145;
}

.company-card-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 21px;
  box-shadow: 0 2px 8px rgba(210,175,66,0.13);
  background: #fff;
}

.company-card-title {
  font-size: 1.18rem;
  font-weight: 600;
  color: #232548;
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .company-selector-wrapper {
    padding: 18px 6vw 28px 6vw;
    max-width: 99vw;
  }
  .company-card {
    padding: 29px 8vw 20px 8vw;
  }
  .selector-logo { max-width: 55px; }
}

.menu-dropdown-wrapper {
  position: relative;
  display: inline-block;
  margin-left: auto;
  margin-right: 12px;
}

.menu-toggle-btn {
  background-color: #d0b145;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease;
}

.menu-toggle-btn:hover {
  background-color: #b89d3a;
}

.menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 42px;
  background-color: white;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  z-index: 10;
  overflow: hidden;
}

.menu-dropdown button {
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.menu-dropdown button:hover {
  background-color: #f7f7f7;
}

.menu-dropdown button:last-child {
  border-bottom: none;
}