.menu-button,
.new-chat-button,
.models-button {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease;
}

.menu-button:hover,
.new-chat-button:hover,
.models-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.menu-button:active,
.new-chat-button:active,
.models-button:active {
  transform: translateY(0);
}

.menu-button svg,
.new-chat-button svg,
.models-button svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
}

/* Models modal styles */
.models-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.models-modal.open {
  opacity: 1;
  visibility: visible;
}

.models-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.models-modal-content {
  background: var(--bg-color);
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--white), var(--blue-start)) 1;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 70vh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.models-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.models-modal-title {
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.models-modal-close {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.models-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.models-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.model-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  word-break: break-all;
}

.model-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--blue-start);
}

.model-item:focus {
  outline: 2px solid var(--blue-start);
  outline-offset: 2px;
}

.model-item.selected {
  background: rgba(110, 193, 228, 0.2);
  border-color: var(--white);
}

.current-model-display {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  text-align: center;
  font-size: 0.9rem;
}

#current-model-name {
  color: var(--blue-start);
  font-weight: 600;
  word-break: break-all;
}

