:root {
  --primary-bg: #1a202c;
  --secondary-bg: #2d3748;
  --text-color: #ffffff;
  --accent-color: #60a5fa;
}

[data-theme="light"] {
  --primary-bg: #f7fafc;
  --secondary-bg: #e2e8f0;
  --text-color: #1a202c;
  --accent-color: #2563eb;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
}

.assistant-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  height: 55vh;
  max-height: 700px;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--secondary-bg);
  border: 1px solid var(--accent-color);
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
}

.assistant-container.fullscreen {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  max-height: none;
  max-width: none;
  z-index: 9999;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

.assistant-iframe {
  width: 100%;
  flex: 1 1 auto;
  border: none;
  background-color: var(--secondary-bg);
  min-height: 300px;
  height: 100%;
  transition: height 0.3s;
}

.assistant-header {
  position: relative;
  padding: 0.75rem 1rem;
  background-color: var(--secondary-bg);
  border-bottom: 1px solid var(--accent-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  justify-content: space-between;
}

.assistant-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--accent-color);
  background-color: var(--secondary-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: var(--secondary-bg);
  border: 1px solid var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

.theme-toggle:hover {
  transform: rotate(180deg);
}

.hidden {
  display: none;
}

.fullscreen-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  transition: background 0.2s;
}
.fullscreen-btn:hover {
  background: var(--accent-color);
  color: var(--secondary-bg);
} 