/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import "session_nav.css";

:root {
  --accent-color: #2958A3;
  --accent-color-strong: #1F467F;
  --accent-color-muted: #4A76B9;
  --accent-color-tint: #9CB7DE;
  --accent-color-soft: #E2E9F5;
}

/* Set Patrick Hand as the default font for the entire application */
body {
  font-family: 'Patrick Hand', cursive;
}

/* Shared component styles */
.due-date {
  color: #666;
}

.due-date.overdue {
  color: #dc3545;
  font-weight: 600;
}

.priority-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tag {
  padding: 0.2rem 0.5rem;
  background: #f0f0f0;
  border-radius: 12px;
  font-size: 0.8rem;
  color: #555;
}

.btn-text {
  padding: 0.25rem 0.5rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
  border-radius: 4px;
}

.btn-text:hover {
  background-color: var(--accent-color-soft);
}

/* Page layout styles */
.notebook-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

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

.page-title {
  font-size: 2rem;
  margin: 0;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--accent-color-strong);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: #f9f9f9;
  border-radius: 8px;
  border: 2px dashed #e0e0e0;
}

.empty-state-text {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
