/* public/styles.css - Gigawatt v3.5.0 Styling */

:root {
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --bg-tertiary: #252d3d;
  --text-primary: #e8ecf1;
  --text-secondary: #b0b8c1;
  --text-muted: #7a8290;
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --border-color: #3a4451;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --glass-bg: rgba(26, 31, 46, 0.7);
  --glass-border: rgba(58, 68, 81, 0.5);
}

* {
  transition-property: background-color, border-color, color;
  transition-timing-function: ease;
  transition-duration: 0.2s;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* SCROLLBARS */
.gigawatt-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.gigawatt-scroll::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

.gigawatt-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.gigawatt-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* NAVIGATION */
.nav-active {
  background-color: rgba(99, 102, 241, 0.2) !important;
  color: var(--accent-primary) !important;
  font-weight: 600 !important;
  border-bottom: 2px solid var(--accent-primary) !important;
  padding-bottom: 4px !important;
}

/* CARDS */
.card-dark {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.card-dark:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--accent-primary);
}

/* INPUTS */
.input-dark {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.input-dark:focus {
  background-color: var(--bg-secondary);
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-dark::placeholder {
  color: var(--text-muted);
}

/* BUTTONS */
.btn-dark {
  background-color: var(--accent-primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-dark:hover:not(:disabled) {
  background-color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-dark:disabled {
  background-color: var(--text-muted);
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-danger {
  background-color: var(--error);
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-danger:hover {
  background-color: #dc2626;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delete {
  background-color: var(--error);
  color: white;
}

.btn-delete:hover {
  background-color: #dc2626;
}

.btn-modal {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-modal-primary {
  background-color: var(--accent-primary);
  color: white;
}

.btn-modal-primary:hover:not(:disabled) {
  background-color: var(--accent-secondary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-modal-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-modal-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-modal-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

/* ========== MODERN GLASSMORPHISM CHAT CONTROLS ========== */

.chat-controls-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.chat-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.chat-input-wrapper:focus-within {
  border-color: var(--accent-primary);
  background: rgba(26, 31, 46, 0.9);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

#chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  resize: none;
  max-height: 100px;
  outline: none;
  padding: 8px 0;
  line-height: 1.4;
}

#chat-input::placeholder {
  color: var(--text-muted);
}

#chat-input::-webkit-scrollbar {
  width: 6px;
}

#chat-input::-webkit-scrollbar-track {
  background: transparent;
}

#chat-input::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 3px;
}

#chat-input::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

#send-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

#send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

#send-btn:active {
  transform: translateY(0);
}

#send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-action {
  padding: 10px 16px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex: 1;
  min-width: 100px;
}

.btn-action:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.btn-action:active {
  transform: translateY(0);
}

.btn-secondary {
  padding: 10px 16px;
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* CHAT BUBBLES */
.chat-bubble {
  display: flex;
  margin-bottom: 16px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-bubble-container {
  display: flex;
  gap: 12px;
  max-width: 100%;
}

.chat-bubble-container.user {
  justify-content: flex-end;
  width: 100%;
}

.chat-bubble-container.gigi {
  justify-content: flex-start;
  width: 100%;
}

.message-bubble {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 70%;
  word-wrap: break-word;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.4;
}

.message-bubble.user {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: white;
  border-radius: 18px 18px 4px 18px;
}

.message-bubble.gigi {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 18px 18px 18px 4px;
}

.message-meta {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  align-items: center;
}

.message-meta.user {
  justify-content: flex-end;
}

/* AVATARS */
.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.avatar-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.avatar-gigi {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  background-image: url('/giga_v1.png');
  background-size: cover;
  background-position: center;
}

.avatar-user {
  background: var(--accent-primary);
  border: 2px solid var(--accent-secondary);
}

/* TYPING INDICATOR */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 18px 18px 18px 4px;
  width: fit-content;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
  animation: bounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* PROGRESS */
.progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: 3px;
  margin-top: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: right;
}

/* FORMS */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

/* SPINNERS */
.spinner-dark {
  border: 3px solid var(--bg-tertiary);
  border-top: 3px solid var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
  overflow-y: auto;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  margin: 40px auto;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-body {
  margin-bottom: 24px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* PROFILE FIELDS */
.profile-field {
  margin-bottom: 16px;
  padding: 12px;
  background-color: var(--bg-tertiary);
  border-radius: 8px;
  border-left: 3px solid var(--accent-primary);
}

.profile-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-field-value {
  font-size: 16px;
  color: var(--text-primary);
  margin-top: 4px;
  font-weight: 500;
}

.profile-field-value.empty {
  color: var(--text-muted);
  font-style: italic;
}

/* EVENTS */
.event-card {
  padding: 16px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.event-card:hover {
  background-color: var(--border-color);
  border-left-color: var(--accent-secondary);
}

.event-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.event-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.event-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.event-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* TOAST */
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--success);
  border-radius: 50%;
  font-size: 28px;
}

.success-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--success);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

.success-toast.hidden {
  display: none;
}

@keyframes slideInRight {
  from { transform: translateX(400px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* UTILITIES */
.text-light { color: var(--text-primary); }
.text-muted-dark { color: var(--text-muted); }
.bg-dark-primary { background-color: var(--bg-primary); }
.bg-dark-secondary { background-color: var(--bg-secondary); }
.border-dark { border-color: var(--border-color); }
.hidden { display: none !important; }

/* ========== SPLASH SCREEN STYLES ========== */

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: opacity 0.5s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
}
#splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  max-width: 600px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.splash-logo-wrapper {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 767px) {
  .splash-logo-wrapper {
    max-width: 240px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .splash-logo-wrapper {
    max-width: 200px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 360px) {
  .splash-logo-wrapper {
    max-width: 160px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

.splash-logo-container {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.splash-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 767px) {
  .splash-logo {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .splash-logo {
    max-width: 200px;
  }
}

@media (max-width: 360px) {
  .splash-logo {
    max-width: 160px;
  }
}

.splash-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
  .splash-title {
    font-size: 32px;
    margin-bottom: 12px;
  }
}

.splash-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
}

.splash-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  .splash-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
}

.splash-feature {
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.5);
  transition: all 0.3s ease;
}

.splash-feature:hover {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

.splash-feature-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.splash-feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.splash-feature-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.splash-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.splash-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.splash-btn-primary {
  background-color: var(--success);
  color: white;
}

.splash-btn-primary:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.splash-btn-secondary {
  background-color: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.splash-btn-secondary:hover {
  background-color: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* ========== APP LAYOUT STYLES ========== */

#app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

#app-container.hidden {
  display: none;
}

.app-header {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-primary);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.app-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.app-nav {
  display: flex;
  gap: 20px;
  flex: 1;
}

.view-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.view-link:hover {
  color: var(--accent-primary);
}

.view-link.nav-active {
  color: var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

#user-info-display {
  display: flex;
  align-items: center;
  gap: 12px;
}

#user-info-display.hidden {
  display: none;
}

#user-display-name {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

#sign-in-container.hidden {
  display: none;
}

.app-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}

#view-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.auth-error {
  background-color: rgba(127, 29, 29, 0.3);
  color: #fecaca;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--error);
}

.auth-error.hidden {
  display: none;
}

/* ========== MUSIC CONTROL STYLES - ORIGINAL (NOT USED NOW) ========== */

.music-control {
  display: none;
}

/* ========== MUSIC TOGGLE IN ACTION BUTTONS ========== */

.music-toggle-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  cursor: pointer;
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  font-size: 20px;
  position: relative;
}

.music-toggle-inline:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.music-toggle-inline:active {
  transform: translateY(0);
}

.music-toggle-inline input[type="checkbox"] {
  display: none;
}

.music-toggle-inline::before {
  content: '🎵';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}

.music-toggle-inline input[type="checkbox"]:checked ~ ::before,
.music-toggle-inline input[type="checkbox"]:checked::before {
  content: '🔇';
}

@media (max-width: 768px) {
  .music-toggle-inline {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .music-toggle-inline::before {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .music-toggle-inline {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .music-toggle-inline::before {
    font-size: 16px;
  }
}

/* ========== FLEX UTILITY CLASSES ========== */

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-grow {
  flex: 1;
}

.h-full {
  height: 100%;
}

.overflow-y-auto {
  overflow-y: auto;
}

.gap-3 {
  gap: 12px;
}

.gap-2 {
  gap: 8px;
}

.p-4 {
  padding: 16px;
}

.p-3 {
  padding: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mt-3 {
  margin-top: 12px;
}

.w-full {
  width: 100%;
}

.items-end {
  align-items: flex-end;
}

.space-y-4 > * + * {
  margin-top: 16px;
}