/* More Menu Styles */
.more-menu {
  min-height: 100vh;
}

/* Client Selector Styles */
.client-selector-section {
  margin-bottom: 24px;
}

.client-selector-dropdown {
  position: relative;
}

.client-selector-button {
  display: flex;
  align-items: center;
  width: 100%;
  background: white;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease;
}

.client-selector-button:hover {
  background-color: #f8f8f8;
}

.client-selector-button:active {
  background-color: #ebebeb;
}

.client-selector-button.single-client {
  cursor: default;
}

.client-selector-button.single-client:hover {
  background-color: white;
}

.client-selector-button.single-client:active {
  background-color: white;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.client-avatar .avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-selector-button .client-name {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: left;
}

.dropdown-icon {
  color: #8e8e93;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.client-selector-button:hover .dropdown-icon {
  color: #1a1a1a;
}

.client-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.client-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.client-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  text-align: left;
}

.client-dropdown-item:last-child {
  border-bottom: none;
}

.client-dropdown-item:hover {
  background-color: #f8f8f8;
}

.client-dropdown-item:active {
  background-color: #ebebeb;
}

.client-dropdown-item.selected {
  background-color: #f0f4ff;
}

.client-dropdown-item.selected:hover {
  background-color: #e6eeff;
}

.client-dropdown-item.inactive {
  opacity: 0.7;
}

.client-dropdown-item.inactive:hover {
  background-color: #f8f8f8;
}

.client-avatar-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  margin-right: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.client-avatar-small .avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.client-dropdown-item .client-name {
  font-size: 15px;
  color: #1a1a1a;
}

.inactive-badge {
  font-size: 11px;
  font-weight: 500;
  color: #ff9500;
  background-color: #fff3e0;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.selected-icon {
  color: #667eea;
  font-size: 14px;
  margin-left: 8px;
}

.menu-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: #8e8e93;
  margin-bottom: 8px;
  padding-left: 4px;
  letter-spacing: 0.5px;
}

.menu-items {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background-color: #f8f8f8;
}

.menu-item:active {
  background-color: #ebebeb;
}

.menu-icon {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}

.menu-text {
  flex: 1;
  font-size: 15px;
  font-weight: 400;
}

.arrow-icon {
  color: #c7c7cc;
  font-size: 12px;
  margin-left: 8px;
}

/* Logout Form and Button Styles */
.logout-form {
  margin: 0;
  padding: 0;
}

.logout-item {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.logout-icon {
  color: #ff3b30;
}

.logout-text {
  color: #ff3b30;
  font-weight: 500;
}

.logout-item:hover {
  background-color: #fff5f5;
}

.logout-item:active {
  background-color: #ffebeb;
}
