/* Auth forms and flash messages */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.notice, .alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  color: white;
  text-align: center;
}

.notice {
  background-color: #48c78e; /* Green */
}

.alert {
  background-color: #f14668; /* Red */
}

/* Form styles */
.auth-form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-form h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: #363636;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  font-size: 1rem;
}

.field input[type="checkbox"],
input[type="checkbox"] {
  background-color: white !important;
  border: 1px solid #d1d5db !important;
}

.actions {
  margin-top: 1.5rem;
  text-align: center;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #485fc7;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}

.button:hover {
  background-color: #3a56c0;
}

.links {
  margin-top: 1rem;
  text-align: center;
}

.links a {
  color: #485fc7;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.navbar-brand {
  display: flex;
  gap: 1rem;
}

.navbar-end {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-item {
  color: #4a4a4a;
  text-decoration: none;
}

.navbar-item:hover {
  color: #3273dc;
}
/* Calendar Styles - Matching Reference Design */
.calendar-container {
  max-width: 100%;
  margin: 0 auto; }

/* Header Section */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem; }

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem; }

.calendar-nav-btn {
  background-color: #CDB9B3;
  color: #31303C;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center; }
  .calendar-nav-btn:hover {
    background-color: #b8a49d; }

.calendar-title {
  font-size: 1.875rem;
  font-weight: 400;
  color: #31303C;
  margin: 0 1rem; }

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

.calendar-action-btn {
  background-color: #CDB9B3;
  color: #31303C;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem; }
  .calendar-action-btn:hover {
    background-color: #b8a49d; }
  .calendar-action-btn.calendar-new-event-btn {
    background-color: #3b82f6;
    color: white; }
    .calendar-action-btn.calendar-new-event-btn:hover {
      background-color: #2563eb; }

/* Calendar Grid View */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #ddd;
  background-color: white; }

.calendar-header-cell {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-right: 1px solid #333; }
  .calendar-header-cell:last-child {
    border-right: none; }

.calendar-day-cell {
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  min-height: 120px;
  padding: 0.5rem;
  background-color: white;
  position: relative; }
  .calendar-day-cell:nth-child(7n) {
    border-right: none; }
  .calendar-day-cell.other-month {
    background-color: #f5f5f5;
    color: #999; }

.calendar-day-number {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem; }

.today-indicator {
  background-color: #1e5a3d;
  color: white;
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-weight: 600; }

.calendar-event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5; }

.calendar-event-item {
  color: #31303C;
  margin-bottom: 0.125rem; }

/* Agenda View */
.agenda-view {
  background-color: white;
  border: 1px solid #ddd; }

.agenda-date-group {
  border-bottom: 1px solid #ddd; }
  .agenda-date-group:last-child {
    border-bottom: none; }

.agenda-date-header {
  background-color: #000;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  margin: 0; }

.agenda-event-list {
  list-style: none;
  padding: 1rem 1.5rem;
  margin: 0; }

.agenda-event-item {
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #31303C; }

.agenda-event-item-with-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0; }
  .agenda-event-item-with-actions:last-child {
    border-bottom: none; }

.agenda-event-content {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #31303C; }

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

/* Print Styles */
@media print {
  .calendar-actions {
    display: none; }
  .calendar-nav-btn {
    display: none; }
  .page-sidebar {
    display: none; } }
/* Floating Navigation Styles */
.floating-nav {
  position: fixed;
  top: 15px;
  left: 2.5%;
  right: 2.5%;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 24px;
  transition: all 0.3s ease;
  width: 95%;
  height: 100px; }

.floating-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); }

.floating-nav .navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  width: 100%; }

.floating-nav .nav-left {
  display: flex;
  align-items: center;
  flex: 1; }

.floating-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0; }

.floating-nav .nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
  margin-right: 2rem;
  font-family: 'David Libre', serif; }

.floating-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0; }

.floating-nav .nav-item {
  margin: 0; }

.floating-nav .nav-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-family: 'David Libre', serif; }

.floating-nav .nav-link:hover {
  color: #1f2937;
  background: rgba(59, 130, 246, 0.1); }

.floating-nav .btn-primary {
  background: #3b82f6;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none; }

.floating-nav .btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px); }

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #4b5563;
  cursor: pointer; }

@media (max-width: 768px) {
  .floating-nav .nav-menu {
    display: none; }
  .mobile-menu-toggle {
    display: block; }
  .floating-nav {
    padding: 8px 16px; }
  .floating-nav .nav-brand {
    font-size: 1.25rem;
    margin-right: 1rem; } }

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  background-image: url(/assets/main-image-c763b0d5fb4f0ea19a54b3c63ac0e7a0c6ce3a84d0156cf50b2c8b28c3ed4ba3.jpeg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1; }

.hero-content-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
  width: 100%; }

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  font-family: 'David Libre', serif; }

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-family: 'Fira Sans', sans-serif; }

.hero-cta {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }

.hero-cta:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none; }

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem; }
  .hero-subtitle {
    font-size: 1.1rem; }
  .hero-section {
    background-attachment: scroll; } }

/* Remove old floating nav body adjustments */
/* Homepage structured layout */
body.homepage {
  margin: 0;
  padding: 0;
  overflow-x: hidden; }

/* Top Navigation Bar */
.top-nav {
  height: 75px;
  width: 100%;
  background-color: #31303C;
  /* Dark charcoal from new palette */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
  z-index: 1000; }

.top-nav-right {
  display: flex;
  gap: 2rem;
  align-items: center; }

.top-nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease; }

.top-nav-link:hover {
  opacity: 0.8;
  text-decoration: none;
  color: white; }

.top-nav-button {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease; }

.top-nav-button:hover {
  background: white;
  color: #31303C; }

/* Sub Menu Bar */
.sub-nav {
  height: 75px;
  width: 100%;
  background-color: #6371A2;
  /* Muted blue from new palette */
  display: flex;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  z-index: 999; }

.brand-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'David Libre', serif; }

.brand-logo:hover {
  color: white;
  text-decoration: none; }

.sub-nav-menu {
  display: flex;
  list-style: none;
  margin: 0 0 0 3rem;
  padding: 0;
  gap: 2.5rem; }

.sub-nav-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
  font-family: 'David Libre', serif; }

.sub-nav-link:hover {
  opacity: 0.8;
  text-decoration: none;
  color: white; }

/* Homepage Background */
body.homepage {
  background-image: url(/assets/main-image-c763b0d5fb4f0ea19a54b3c63ac0e7a0c6ce3a84d0156cf50b2c8b28c3ed4ba3.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; }

/* Hero Text Section */
.hero-text-section {
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 150px);
  /* Full viewport minus navigation bars */ }

.hero-text-content {
  max-width: 800px;
  text-align: center;
  padding: 3rem; }

.hero-text-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  font-family: 'David Libre', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }

.hero-text-content p {
  font-size: 1.25rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-family: 'Fira Sans', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); }

.hero-cta {
  margin-top: 2rem;
  background-color: #3b82f6; }

.hero-button {
  background-color: #3b82f6;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Fira Sans', sans-serif;
  transition: all 0.3s ease;
  display: inline-block; }

.hero-button:hover {
  background-color: #2563eb; }

/* Main Header Section */
.main-header {
  height: 300px;
  width: 100%;
  background-color: #CDB9B3;
  /* Warm beige/taupe from new palette */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative; }

.main-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #31303C;
  /* Dark charcoal for better contrast */
  margin-bottom: 1rem;
  font-family: 'David Libre', serif; }

.main-header p {
  font-size: 1.125rem;
  color: #31303C;
  /* Dark charcoal for readability */
  max-width: 800px;
  line-height: 1.6;
  opacity: 0.9;
  font-family: 'Fira Sans', sans-serif; }

/* Responsive Design for New Layout */
@media (max-width: 768px) {
  .top-nav {
    padding: 0 1rem; }
  .top-nav-right {
    gap: 1rem; }
  .sub-nav {
    padding: 0 1rem;
    flex-direction: column;
    height: auto;
    min-height: 75px;
    justify-content: center; }
  .sub-nav-menu {
    margin: 0.5rem 0 0 0;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center; }
  .main-header {
    height: auto;
    min-height: 250px;
    padding: 2rem 1rem; }
  .main-header h1 {
    font-size: 2.25rem; }
  .main-header p {
    font-size: 1rem; } }

/* Ensure main content doesn't overlap with floating nav */
.main-content {
  margin-top: 0; }

/* Remove old content padding adjustments */
.min-h-screen {
  min-height: 0vh; }

/* Pages Layout Styles - Updated for structured navigation */
.pages-layout {
  /* Responsive Design */ }
  .pages-layout .page-title-band {
    background: #CDB9B3;
    /* Warm beige/taupe from new palette */
    padding: 2rem 0;
    text-align: left;
    margin-bottom: 0; }
  .pages-layout .page-title-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem; }
  .pages-layout .page-title {
    color: #31303C;
    /* Dark charcoal for readability */
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'David Libre', serif; }
  .pages-layout .page-container {
    max-width: 100%;
    margin: 0;
    padding: 0; }
  .pages-layout .page-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start; }
  .pages-layout .page-main-content {
    padding: 0;
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Fira Sans', sans-serif; }
  .pages-layout .page-main-content-full {
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Fira Sans', sans-serif;
    width: 100%;
    max-width: 100%; }
  .pages-layout .page-main-content h1,
  .pages-layout .page-main-content h2,
  .pages-layout .page-main-content h3,
  .pages-layout .page-main-content h4,
  .pages-layout .page-main-content h5,
  .pages-layout .page-main-content h6 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #31303C;
    /* Dark charcoal from new palette */
    font-family: 'David Libre', serif; }
  .pages-layout .page-main-content h2 {
    font-size: 2.25rem; }
  .pages-layout .page-main-content h3 {
    font-size: 1.875rem; }
  .pages-layout .page-main-content h4 {
    font-size: 1.5rem; }
  .pages-layout .page-main-content p {
    margin-bottom: 1rem;
    color: #998580;
    /* Medium brown-gray from new palette */ }
  .pages-layout .page-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem; }
  .pages-layout .sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #31303C;
    /* Dark charcoal from new palette */
    font-family: 'David Libre', serif; }
  .pages-layout .sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0; }
  .pages-layout .sidebar-nav li {
    margin-bottom: 0.5rem; }
  .pages-layout .sidebar-link {
    display: block;
    padding: 0.5rem 0;
    color: #6371A2;
    /* Muted blue from new palette */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease; }
  .pages-layout .sidebar-link:hover {
    color: #31303C;
    /* Dark charcoal on hover */
    text-decoration: underline; }
  .pages-layout .sidebar-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb; }
  .pages-layout .sidebar-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #31303C;
    /* Dark charcoal from new palette */
    font-family: 'David Libre', serif; }
  .pages-layout .sidebar-text {
    font-size: 0.875rem;
    color: #998580;
    /* Medium brown-gray from new palette */
    line-height: 1.5;
    font-family: 'Fira Sans', sans-serif; }
  @media (max-width: 768px) {
    .pages-layout .page-content-wrapper {
      grid-template-columns: 1fr;
      gap: 1rem; }
    .pages-layout .page-sidebar {
      position: static;
      order: 2; }
    .pages-layout .page-main-content {
      order: 1;
      padding: 1.5rem; }
    .pages-layout .page-container {
      padding: 1rem; }
    .pages-layout .page-header {
      height: 120px; }
    .pages-layout .floating-nav {
      top: 8px;
      left: 2.5%;
      right: 2.5%;
      margin: 0;
      padding: 8px 16px; }
    .pages-layout .page-main-content h1 {
      font-size: 2rem; }
    .pages-layout .page-main-content h2 {
      font-size: 1.75rem; }
    .pages-layout .page-main-content h3 {
      font-size: 1.5rem; }
    .pages-layout .page-title {
      font-size: 1.3rem; }
    .pages-layout .page-title-band {
      padding: 1.5rem 0;
      text-align: left; } }
/* Dashboard Styles */
.dashboard-welcome {
  margin-bottom: 2rem; }

.dashboard-welcome h1 {
  font-size: 2.5rem;
  color: #31303C;
  /* Dark charcoal from new palette */
  margin-bottom: 0.5rem; }

.dashboard-welcome p {
  font-size: 1.125rem;
  color: #998580;
  /* Medium brown-gray from new palette */ }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem; }

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center; }

.stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #6371A2;
  /* Muted blue from new palette */
  margin-bottom: 0.5rem;
  font-family: 'David Libre', serif; }

.stat-card p {
  font-size: 0.875rem;
  color: #998580;
  /* Medium brown-gray from new palette */
  margin: 0;
  font-family: 'Fira Sans', sans-serif; }

.dashboard-section {
  margin-bottom: 2rem; }

.dashboard-section h2 {
  font-size: 1.875rem;
  color: #31303C;
  /* Dark charcoal from new palette */
  margin-bottom: 1rem;
  font-family: 'David Libre', serif; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem; }

.action-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none; }

.action-card h3 {
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-family: 'David Libre', serif; }

.action-card p {
  color: #6b7280;
  margin: 0;
  font-family: 'Fira Sans', sans-serif; }

.activity-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem; }

.activity-section h3 {
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 1rem;
  font-family: 'David Libre', serif; }

.event-list, .goal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0; }

.event-list li, .goal-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6; }

.event-list li:last-child, .goal-list li:last-child {
  border-bottom: none; }

.event-list a, .goal-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #374151;
  font-family: 'Fira Sans', sans-serif; }

.event-list a:hover, .goal-list a:hover {
  color: #3b82f6;
  text-decoration: none; }

.event-date, .goal-status {
  font-size: 0.875rem;
  color: #6b7280; }

.view-all-link {
  display: inline-block;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Fira Sans', sans-serif; }

.view-all-link:hover {
  color: #2563eb;
  text-decoration: underline; }

/* Responsive Dashboard */
@media (max-width: 768px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr); }
  .quick-actions {
    grid-template-columns: 1fr; }
  .dashboard-welcome h1 {
    font-size: 2rem; } }
.notification {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  /* gray-200 */
  transition: background-color 0.2s ease; }
  .notification.unread {
    background-color: rgba(37, 99, 235, 0.1);
    /* blue-600 with 10% opacity */
    font-weight: 500; }
  .notification:hover {
    background-color: #f3f4f6;
    /* gray-100 */ }
  .notification .notification-content {
    flex-grow: 1;
    margin-right: 1rem; }
  .notification .notification-meta {
    font-size: 0.8rem;
    color: #4b5563;
    /* gray-600 */
    margin-top: 0.5rem; }
    .notification .notification-meta .badge {
      margin-left: 0.5rem;
      font-size: 0.7rem; }
  .notification .notification-actions {
    flex-shrink: 0; }

.navbar .notification-badge {
  position: relative; }
  .navbar .notification-badge .badge-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.6rem;
    padding: 0.25rem 0.4rem; }
.reminder-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
  .reminder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); }

.reminder-actions {
  opacity: 0;
  transition: opacity 0.2s ease-in-out; }

.list-group-item:hover .reminder-actions {
  opacity: 1; }

.flatpickr-input[readonly] {
  background-color: white;
  cursor: pointer; }

.timeago {
  white-space: nowrap; }

.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  font-size: 0.75em; }

@media (max-width: 768px) {
  .reminder-actions {
    opacity: 1; } }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Design System Variables */
:root {
  --color-brand-500: #9f88fd;
  --color-brand-200: #E0DCFF;
  --color-brand-300: #c4b5fd;
  --color-dark-900: #242424;
  --color-light-200: #f9f6f4;
  --color-white: #ffffff;
  --nav-height: 4rem;
  --site-margin: clamp(1rem, 2.5vw, 2.5rem);
}

/* Override DaisyUI theme background */
html,
body {
  background-color: var(--color-light-200) !important;
}

/* Navigation Styles */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--site-margin);
  background-color: var(--color-light-200);
  height: var(--nav-height);
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-nav-center {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.top-nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  position: relative;
  background-color: var(--color-white);
  color: var(--color-dark-900);
  padding: 0.75rem 1.5rem;
  border-radius: 100vw;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: 'Switzer', Arial, sans-serif;
}

.nav-btn:hover {
  background-color: var(--color-brand-300);
}

.nav-btn.active {
  background-color: var(--color-brand-200);
  color: var(--color-dark-900);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-link:hover {
  text-decoration: none;
}

.brand-logo-link:hover .brand-logo {
  color: var(--color-dark-900);
}

.brand-logo-image {
  height: 2.5rem;
  width: auto;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-900);
  text-decoration: none;
  font-family: Georgia, 'Times New Roman', serif;
}

.sub-nav {
  display: none;
}

/* Dashboard Layout */
.dashboard-container {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 2rem;
  padding: 0;
  background-color: var(--color-light-200);
  min-height: calc(100vh - var(--nav-height));
  max-width: 100%;
  width: 100%;
}

/* Profile Card - Left Sidebar */
.dashboard-sidebar {
  position: sticky;
  top: var(--site-margin);
  height: fit-content;
  padding-left: var(--site-margin);
  margin-top: var(--site-margin);
  padding-bottom: var(--site-margin);
}

.profile-card {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-image-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.profile-image,
.profile-image-placeholder {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.profile-image-placeholder {
  background-color: var(--color-brand-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark-900);
}

.profile-username {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark-900);
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}

.profile-name {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.profile-location {
  font-size: 0.875rem;
  color: #999;
  margin: 0.5rem 0 1.5rem 0;
  font-weight: 400;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-profile-action {
  flex: 1;
  padding: 0.625rem 1rem;
  background-color: var(--color-dark-900);
  color: var(--color-white);
  text-align: center;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-profile-action:hover {
  background-color: #1a1a1a;
  color: var(--color-white);
}

.btn-profile-link {
  flex: 1;
  padding: 0.625rem 1rem;
  background-color: transparent;
  color: var(--color-dark-900);
  text-align: center;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-profile-link:hover {
  background-color: #f5f5f5;
}

.profile-stats-section {
  margin-top: 1.5rem;
}

.profile-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 1.5rem 0;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.profile-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
}

.profile-stat-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
  text-transform: capitalize;
}

.profile-stat-value {
  font-size: 1.5rem;
  color: var(--color-dark-900);
  font-weight: 700;
}

/* Dashboard Main Content */
.dashboard-main {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-right: var(--site-margin);
  margin-top: var(--site-margin);
  margin-bottom: var(--site-margin);
}

.calendar-wrapper {
  margin: -2rem;
  padding: 2rem;
}

/* Flash Messages */
.flash-message {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.3s ease-out;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.flash-success {
  background-color: #10b981;
  color: white;
}

.flash-error {
  background-color: #ef4444;
  color: white;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.flash-message.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-1rem);
  }
}

/* Ensure the body takes full viewport height */
html, body {
  height: 100%;
}

/* Override daisyUI dark theme for checkboxes */
input[type="checkbox"] {
  background-color: white !important;
  border: 1px solid #d1d5db !important;
  --chkbg: white !important;
  --chkfg: #3b82f6 !important;
}

input[type="checkbox"]:checked {
  background-color: #3b82f6 !important;
  border-color: #3b82f6 !important;
}

/* Parish contact info styling */
.parish-contact-info p {
  font-size: 1rem !important;
}

/* Check-in stats styling */
.checkin-stats-title {
  font-size: 1.2rem !important;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #CDB9B3 !important;
  text-align: left !important;
}

/* Leaderboard title styling */
.leaderboard-title {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: #CDB9B3 !important;
}

/* Goals section title styling */
.goals-section-title {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: #CDB9B3 !important;
}

/* Goals list styling */
.goals-list {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.goal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  transition: background-color 0.2s;
  border-bottom: 1px solid #e5e7eb;
}

.goal-item:last-child {
  border-bottom: none;
}

.goal-item.goal-item-alt {
  background-color: #e5e7eb !important;
}

.goal-item:hover {
  background-color: #f3f4f6;
  cursor: pointer;
}

.goal-item.goal-item-alt:hover {
  background-color: #d1d5db !important;
}

.goal-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
  padding: 1rem 1.5rem;
}

.goal-item-link:hover {
  text-decoration: none;
}

.goal-content {
  flex: 1;
}

.goal-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #31303C;
}

.goal-item:hover .goal-title {
  color: #3b82f6;
}

.goal-meta {
  font-size: 0.875rem;
  color: #6b7280;
}

.goal-actions {
  flex-shrink: 0;
  padding: 1rem 1.5rem 1rem 1rem;
  position: relative;
  z-index: 1;
}

.checkin-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkin-stat-labels,
.checkin-stat-values {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.checkin-stat-labels small {
  flex: 1;
  text-align: center;
}

.checkin-stat-values {
  margin-top: 0.5rem;
}

.stat-number {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #CDB9B3;
}

/* Form styling */
.form-label {
  font-size: 1.2rem !important;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background-color: white !important;
  color: #000000 !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #d1d5db !important;
  margin-bottom: 1.5rem !important;
}

.form-control:focus,
.form-select:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Dropdown select styling */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Form buttons */
.btn-form-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.btn-form-primary:hover {
  background-color: #2563eb;
  color: white;
}

.btn-form-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: #6b7280;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.btn-form-cancel:hover {
  background-color: #4b5563;
  color: white;
}

.btn-form-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.btn-form-danger:hover {
  background-color: #dc2626;
  color: white;
}

.btn-form-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: #CDB9B3;
  color: #31303C;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.btn-form-secondary:hover {
  background-color: #b8a49d;
  color: #31303C;
}

/* Goal show page card */
.goal-show-card {
  background-color: white;
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.goal-show-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #31303C;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.goal-show-content {
  margin-bottom: 2.5rem;
  color: #31303C;
  font-size: 1.125rem;
  line-height: 1.8;
}

.goal-show-field {
  margin-bottom: 1.5rem;
}

.goal-show-field strong {
  color: #000000;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.goal-show-field-value {
  color: #31303C;
  font-weight: 400;
}

.goal-show-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
