.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.dark .header {
  background-color: rgba(20, 20, 30, 0.95);
  border-bottom-color: rgba(200, 200, 200, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.dark .header-logo {
  background: linear-gradient(135deg, #8b5cf6 0%, #c4b5fd 100%);
}

.header-logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}

.dark .header-title {
  color: #f5f5f5;
}

.header-subtitle {
  font-size: 0.75rem;
  color: #666;
}

.dark .header-subtitle {
  color: #999;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-nav-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background-color: #059669;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.admin-nav-button:hover {
  background-color: #047857;
}

.dark .admin-nav-button {
  background-color: #10b981;
}

.dark .admin-nav-button:hover {
  background-color: #059669;
}

.auth-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  background-color: #7c3aed;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.auth-button:hover:not(:disabled) {
  background-color: #6d28d9;
}

.auth-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dark .auth-button {
  background-color: #8b5cf6;
}

.dark .auth-button:hover:not(:disabled) {
  background-color: #7c3aed;
}

.auth-button-icon {
  width: 1rem;
  height: 1rem;
}

.auth-button-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.theme-toggle {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dark .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  transition: all 0.3s;
}

.theme-icon-light {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.dark .theme-icon-light {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0);
}

.theme-icon-dark {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.dark .theme-icon-dark {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

@media (max-width: 640px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .header-title {
    font-size: 1.125rem;
  }
  
  .header-subtitle {
    display: none;
  }

  .auth-button,
  .admin-nav-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .admin-nav-button span {
    display: none;
  }
}
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-intro {
  text-align: center;
  max-width: 600px;
}

.footer-intro-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem 0;
}

.footer-intro-text {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

.footer-divider {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background-color: var(--border);
}

.footer-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.footer-heart {
  width: 1rem;
  height: 1rem;
  color: #ef4444;
  fill: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  10%, 30% {
    transform: scale(1.1);
  }
  20%, 40% {
    transform: scale(1);
  }
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-link:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-container {
    gap: 1rem;
  }

  .footer-intro-title {
    font-size: 1.25rem;
  }

  .footer-intro-text {
    font-size: 0.875rem;
  }

  .footer-text {
    font-size: 0.8125rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
.saved-content-container {
  padding: 2rem 1.5rem;
}

.saved-content-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

.saved-content-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.back-button:hover {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.4);
}

.dark .back-button {
  color: #f5f5f5;
  border-color: rgba(200, 200, 200, 0.2);
}

.dark .back-button:hover {
  background-color: rgba(200, 200, 200, 0.05);
  border-color: rgba(200, 200, 200, 0.3);
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #666;
}

.dark .loading-state {
  color: #999;
}

.loading-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state-text {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.dark .empty-state-text {
  color: #f5f5f5;
}

.empty-state-hint {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.dark .empty-state-hint {
  color: #999;
}

.saved-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.saved-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.5rem;
  background-color: rgba(128, 128, 128, 0.03);
  transition: background-color 0.2s, border-color 0.2s;
}

.saved-item:hover {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.3);
}

.dark .saved-item {
  background-color: rgba(200, 200, 200, 0.02);
  border-color: rgba(200, 200, 200, 0.1);
}

.dark .saved-item:hover {
  background-color: rgba(200, 200, 200, 0.03);
  border-color: rgba(200, 200, 200, 0.15);
}

.saved-item-content {
  flex: 1;
  min-width: 0;
}

.saved-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.saved-item-url {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #7c3aed;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.saved-item-url:hover {
  color: #6d28d9;
  text-decoration: underline;
}

.dark .saved-item-url {
  color: #a78bfa;
}

.dark .saved-item-url:hover {
  color: #8b5cf6;
}

.external-link-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.saved-item-date {
  font-size: 0.75rem;
  color: #666;
  white-space: nowrap;
}

.dark .saved-item-date {
  color: #999;
}

.saved-item-preview {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.dark .saved-item-preview {
  color: #999;
}

.saved-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.action-button:hover:not(:disabled) {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.4);
}

.action-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark .action-button {
  border-color: rgba(200, 200, 200, 0.2);
}

.dark .action-button:hover:not(:disabled) {
  background-color: rgba(200, 200, 200, 0.05);
  border-color: rgba(200, 200, 200, 0.3);
}

.action-button-refresh {
  color: #7c3aed;
}

.dark .action-button-refresh {
  color: #a78bfa;
}

.action-button-delete {
  color: #ef4444;
}

.dark .action-button-delete {
  color: #f87171;
}

.action-button .button-icon {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 768px) {
  .saved-content-container {
    padding: 1.5rem 1rem;
  }

  .saved-content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-item {
    flex-direction: column;
  }

  .saved-item-actions {
    align-self: flex-end;
  }

  .saved-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.url-fetcher-container {
  padding: 2rem 1.5rem;
}

.url-fetcher-content {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guest-notice {
  border: 2px solid rgba(124, 58, 237, 0.3);
  border-radius: 0.5rem;
  background-color: rgba(124, 58, 237, 0.05);
  padding: 1rem 1.5rem;
}

.dark .guest-notice {
  background-color: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.guest-notice-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.guest-notice-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #7c3aed;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.dark .guest-notice-icon {
  color: #a78bfa;
}

.guest-notice-text {
  flex: 1;
}

.guest-notice-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
}

.dark .guest-notice-title {
  color: #f5f5f5;
}

.guest-notice-description {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.dark .guest-notice-description {
  color: #999;
}

.guest-notice-login {
  background: none;
  border: none;
  color: #7c3aed;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-left: 0.25rem;
  transition: color 0.2s;
}

.guest-notice-login:hover {
  color: #6d28d9;
}

.dark .guest-notice-login {
  color: #a78bfa;
}

.dark .guest-notice-login:hover {
  color: #8b5cf6;
}

.card {
  border: 2px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark .card {
  background-color: #1a1a2e;
  border-color: rgba(200, 200, 200, 0.1);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.dark .card-header {
  border-bottom-color: rgba(200, 200, 200, 0.05);
}

.card-header-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.dark .card-title {
  color: #f5f5f5;
}

.card-description {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.dark .card-description {
  color: #999;
}

.card-body {
  padding: 1.5rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
}

.dark .form-label {
  color: #f5f5f5;
}

.form-input {
  height: 3rem;
  padding: 0 1rem;
  font-size: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  background-color: white;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark .form-input {
  background-color: #0f0f1e;
  border-color: rgba(200, 200, 200, 0.2);
  color: #f5f5f5;
}

.dark .form-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.jina-toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.5rem;
  background-color: rgba(128, 128, 128, 0.05);
}

.dark .jina-toggle-container {
  background-color: rgba(200, 200, 200, 0.03);
  border-color: rgba(200, 200, 200, 0.1);
}

.jina-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.jina-toggle-label {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
}

.dark .jina-toggle-label {
  color: #f5f5f5;
}

.jina-toggle-description {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.dark .jina-toggle-description {
  color: #999;
}

.inline-code {
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background-color: rgba(128, 128, 128, 0.1);
  font-family: monospace;
  font-size: 0.75rem;
}

.dark .inline-code {
  background-color: rgba(200, 200, 200, 0.1);
}

.switch {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.5rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 1.5rem;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 1.125rem;
  width: 1.125rem;
  left: 0.1875rem;
  bottom: 0.1875rem;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch input:checked + .switch-slider {
  background-color: #7c3aed;
}

.dark .switch input:checked + .switch-slider {
  background-color: #8b5cf6;
}

.switch input:checked + .switch-slider:before {
  transform: translateX(1.25rem);
}

.switch input:disabled + .switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.375rem;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-icon {
  width: 1rem;
  height: 1rem;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.alert-text {
  font-size: 0.875rem;
  color: #dc2626;
  margin: 0;
}

.dark .alert-text {
  color: #fca5a5;
}

.submit-button {
  height: 3rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: #7c3aed;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.submit-button:hover:not(:disabled) {
  background-color: #6d28d9;
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark .submit-button {
  background-color: #8b5cf6;
}

.dark .submit-button:hover:not(:disabled) {
  background-color: #7c3aed;
}

.button-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.button-icon-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.saved-list-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.saved-list-button:hover:not(:disabled) {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.4);
}

.saved-list-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dark .saved-list-button {
  color: #f5f5f5;
  border-color: rgba(200, 200, 200, 0.2);
}

.dark .saved-list-button:hover:not(:disabled) {
  background-color: rgba(200, 200, 200, 0.05);
  border-color: rgba(200, 200, 200, 0.3);
}

.content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.content-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.save-button,
.copy-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.save-button:hover:not(:disabled),
.copy-button:hover {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.4);
}

.save-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dark .save-button,
.dark .copy-button {
  color: #f5f5f5;
  border-color: rgba(200, 200, 200, 0.2);
}

.dark .save-button:hover:not(:disabled),
.dark .copy-button:hover {
  background-color: rgba(200, 200, 200, 0.05);
  border-color: rgba(200, 200, 200, 0.3);
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tabs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  background-color: rgba(128, 128, 128, 0.1);
  border-radius: 0.375rem;
}

.dark .tabs-list {
  background-color: rgba(200, 200, 200, 0.05);
}

.tab-trigger {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  background-color: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tab-trigger:hover {
  color: #1a1a1a;
}

.dark .tab-trigger {
  color: #999;
}

.dark .tab-trigger:hover {
  color: #f5f5f5;
}

.tab-trigger-active {
  color: #1a1a1a;
  background-color: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.dark .tab-trigger-active {
  color: #f5f5f5;
  background-color: #1a1a2e;
}

.tab-content {
  margin-top: 0.5rem;
}

.scroll-area {
  height: 500px;
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.375rem;
  background-color: rgba(128, 128, 128, 0.03);
}

.dark .scroll-area {
  background-color: rgba(200, 200, 200, 0.02);
  border-color: rgba(200, 200, 200, 0.1);
}

.scroll-area-markdown {
  background-color: white;
}

.dark .scroll-area-markdown {
  background-color: #0f0f1e;
}

.content-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
}

.dark .content-pre {
  color: #f5f5f5;
}

.info-card {
  border-style: dashed;
}

.info-text {
  text-align: center;
  color: #666;
}

.dark .info-text {
  color: #999;
}

.info-primary {
  font-size: 0.875rem;
  margin: 0 0 0.5rem 0;
}

.info-secondary {
  font-size: 0.75rem;
  margin: 0;
}

/* Markdown content styles */
.markdown-content {
  color: #1a1a1a;
  line-height: 1.7;
}

.dark .markdown-content {
  color: #f5f5f5;
}

.markdown-content h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem 0;
  color: #1a1a1a;
}

.dark .markdown-content h1 {
  color: #f5f5f5;
}

.markdown-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem 0;
  color: #1a1a1a;
}

.dark .markdown-content h2 {
  color: #f5f5f5;
}

.markdown-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
  color: #1a1a1a;
}

.dark .markdown-content h3 {
  color: #f5f5f5;
}

.markdown-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem 0;
  color: #1a1a1a;
}

.dark .markdown-content h4 {
  color: #f5f5f5;
}

.markdown-content h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem 0;
  color: #1a1a1a;
}

.dark .markdown-content h5 {
  color: #f5f5f5;
}

.markdown-content h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem 0;
  color: #1a1a1a;
}

.dark .markdown-content h6 {
  color: #f5f5f5;
}

.markdown-content p {
  margin: 0.75rem 0;
  line-height: 1.75;
}

.markdown-content a {
  color: #7c3aed;
  text-decoration: underline;
  transition: color 0.2s;
}

.markdown-content a:hover {
  color: #6d28d9;
}

.dark .markdown-content a {
  color: #a78bfa;
}

.dark .markdown-content a:hover {
  color: #8b5cf6;
}

.markdown-content strong {
  font-weight: 700;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content del {
  text-decoration: line-through;
  opacity: 0.7;
}

.markdown-content code {
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background-color: rgba(128, 128, 128, 0.1);
  font-family: monospace;
  font-size: 0.875rem;
}

.dark .markdown-content code {
  background-color: rgba(200, 200, 200, 0.1);
}

.markdown-content pre {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0.5rem;
  background-color: rgba(128, 128, 128, 0.1);
  overflow-x: auto;
}

.dark .markdown-content pre {
  background-color: rgba(200, 200, 200, 0.05);
}

.markdown-content pre code {
  padding: 0;
  background-color: transparent;
  font-size: 0.875rem;
}

.markdown-content ul {
  list-style-type: disc;
  list-style-position: inside;
  margin: 0.75rem 0;
}

.markdown-content ol {
  list-style-type: decimal;
  list-style-position: inside;
  margin: 0.75rem 0;
}

.markdown-content li {
  line-height: 1.75;
  margin: 0.25rem 0;
}

.markdown-content blockquote {
  border-left: 4px solid #7c3aed;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #666;
}

.dark .markdown-content blockquote {
  border-left-color: #8b5cf6;
  color: #999;
}

.markdown-content hr {
  border: none;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  margin: 1.5rem 0;
}

.dark .markdown-content hr {
  border-top-color: rgba(200, 200, 200, 0.1);
}

.markdown-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .url-fetcher-container {
    padding: 1.5rem 1rem;
  }
  
  .url-fetcher-content {
    gap: 1rem;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.25rem;
  }
  
  .card-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-list-button {
    align-self: flex-end;
  }
  
  .content-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .content-actions {
    align-self: flex-end;
  }

  .guest-notice {
    padding: 1rem;
  }

  .guest-notice-content {
    flex-direction: column;
    gap: 0.75rem;
  }
}
.profile-setup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 8rem);
  padding: 2rem 1.5rem;
}

.profile-setup-card {
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
  border: 2px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.5rem;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.dark .profile-setup-card {
  background-color: #1a1a2e;
  border-color: rgba(200, 200, 200, 0.1);
}

.profile-setup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: white;
}

.dark .profile-setup-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #c4b5fd 100%);
}

.profile-setup-icon svg {
  width: 2rem;
  height: 2rem;
}

.profile-setup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.dark .profile-setup-title {
  color: #f5f5f5;
}

.profile-setup-description {
  font-size: 0.875rem;
  color: #666;
  margin: 0 0 2rem 0;
}

.dark .profile-setup-description {
  color: #999;
}

.profile-setup-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-setup-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.profile-setup-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}

.dark .profile-setup-label {
  color: #f5f5f5;
}

.profile-setup-input {
  height: 3rem;
  padding: 0 1rem;
  font-size: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  background-color: white;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-setup-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.profile-setup-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark .profile-setup-input {
  background-color: #0f0f1e;
  border-color: rgba(200, 200, 200, 0.2);
  color: #f5f5f5;
}

.dark .profile-setup-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.profile-setup-button {
  height: 3rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: #7c3aed;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.profile-setup-button:hover:not(:disabled) {
  background-color: #6d28d9;
}

.profile-setup-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark .profile-setup-button {
  background-color: #8b5cf6;
}

.dark .profile-setup-button:hover:not(:disabled) {
  background-color: #7c3aed;
}
.admin-dashboard-container {
  padding: 2rem 1.5rem;
}

.admin-dashboard-content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-dashboard-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  width: -moz-fit-content;
  width: fit-content;
}

.back-button:hover {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.4);
}

.dark .back-button {
  color: #f5f5f5;
  border-color: rgba(200, 200, 200, 0.2);
}

.dark .back-button:hover {
  background-color: rgba(200, 200, 200, 0.05);
  border-color: rgba(200, 200, 200, 0.3);
}

.admin-dashboard-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-dashboard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.dark .admin-dashboard-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #c4b5fd 100%);
}

.admin-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.admin-dashboard-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.dark .admin-dashboard-title {
  color: #f5f5f5;
}

.admin-dashboard-subtitle {
  font-size: 0.875rem;
  color: #666;
  margin: 0.25rem 0 0 0;
}

.dark .admin-dashboard-subtitle {
  color: #999;
}

.table-container {
  overflow-x: auto;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0.5rem;
}

.dark .table-container {
  border-color: rgba(200, 200, 200, 0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table thead {
  background-color: rgba(128, 128, 128, 0.05);
}

.dark .admin-table thead {
  background-color: rgba(200, 200, 200, 0.03);
}

.admin-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.dark .admin-table th {
  color: #f5f5f5;
  border-bottom-color: rgba(200, 200, 200, 0.1);
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.1);
  color: #1a1a1a;
}

.dark .admin-table td {
  color: #f5f5f5;
  border-bottom-color: rgba(200, 200, 200, 0.05);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background-color: rgba(128, 128, 128, 0.03);
}

.dark .admin-table tbody tr:hover {
  background-color: rgba(200, 200, 200, 0.02);
}

.user-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-name {
  font-weight: 500;
}

.user-principal {
  font-size: 0.75rem;
  color: #666;
  font-family: monospace;
}

.dark .user-principal {
  color: #999;
}

.url-link {
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.url-link:hover {
  color: #6d28d9;
  text-decoration: underline;
}

.dark .url-link {
  color: #a78bfa;
}

.dark .url-link:hover {
  color: #8b5cf6;
}

.timestamp-cell {
  white-space: nowrap;
  color: #666;
}

.dark .timestamp-cell {
  color: #999;
}

.delete-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #ef4444;
  background-color: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.delete-button:hover:not(:disabled) {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
}

.delete-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark .delete-button {
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.3);
}

.dark .delete-button:hover:not(:disabled) {
  background-color: rgba(252, 165, 165, 0.1);
  border-color: rgba(252, 165, 165, 0.5);
}

.loading-state,
.error-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #666;
}

.dark .loading-state,
.dark .error-state,
.dark .empty-state {
  color: #999;
}

.loading-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.dark .pagination {
  border-top-color: rgba(200, 200, 200, 0.05);
}

.pagination-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background-color: transparent;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.pagination-button:hover:not(:disabled) {
  background-color: rgba(128, 128, 128, 0.05);
  border-color: rgba(128, 128, 128, 0.4);
}

.pagination-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dark .pagination-button {
  color: #f5f5f5;
  border-color: rgba(200, 200, 200, 0.2);
}

.dark .pagination-button:hover:not(:disabled) {
  background-color: rgba(200, 200, 200, 0.05);
  border-color: rgba(200, 200, 200, 0.3);
}

.pagination-info {
  font-size: 0.875rem;
  color: #666;
}

.dark .pagination-info {
  color: #999;
}

@media (max-width: 768px) {
  .admin-dashboard-container {
    padding: 1.5rem 1rem;
  }

  .admin-dashboard-title {
    font-size: 1.5rem;
  }

  .admin-dashboard-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-table {
    font-size: 0.8125rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.75rem;
  }

  .pagination {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pagination-button {
    width: 100%;
    justify-content: center;
  }
}
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-background: #fafafa;
  --color-foreground: #1a1a1a;
  --color-primary: #7c3aed;
  --color-primary-hover: #6d28d9;
  --color-border: rgba(128, 128, 128, 0.2);
  --color-muted: rgba(128, 128, 128, 0.1);
}

.dark {
  --color-background: #0a0a14;
  --color-foreground: #f5f5f5;
  --color-primary: #8b5cf6;
  --color-primary-hover: #7c3aed;
  --color-border: rgba(200, 200, 200, 0.1);
  --color-muted: rgba(200, 200, 200, 0.05);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.5;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.6);
}

.dark ::-webkit-scrollbar-thumb {
  background: rgba(200, 200, 200, 0.3);
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 200, 200, 0.5);
}
