/*
 * 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/SCSS
 * 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.
 *


 */

/* HealthierLife Brand Colors */
:root {
  --healthier-primary: #0d9488; /* teal-600 */
  --healthier-primary-dark: #0f766e; /* teal-700 */
  --healthier-primary-light: #ccfbf1; /* teal-100 */
  --healthier-accent: #14b8a6; /* teal-500 */
  --healthier-text: #134e4a; /* teal-800 */
  --healthier-background: #f0fdfa; /* teal-50 */
}

/* Custom focus styles for branding consistency */
.focus-brand:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--healthier-primary);
  border-color: var(--healthier-primary);
}

/* Smooth transitions for interactive elements */
.transition-brand {
  transition: all 0.2s ease-in-out;
}

/* Custom button styles */
.btn-brand {
  background-color: var(--healthier-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
}

.btn-brand:hover {
  background-color: var(--healthier-primary-dark);
}

.btn-brand:focus {
  outline: none;
  ring: 2px;
  ring-color: var(--healthier-primary);
}

/* Custom link styles */
.link-brand {
  color: var(--healthier-primary);
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.link-brand:hover {
  color: var(--healthier-primary-dark);
}

/* Logo animation for subtle branding touch */
.logo-brand {
  transition: transform 0.2s ease-in-out;
}

.logo-brand:hover {
  transform: scale(1.05);
}

/* Markdown Content Styles */
.markdown-content {
  line-height: 1.6;
  color: #374151;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: #111827;
}

.markdown-content h1 {
  font-size: 1.875rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.markdown-content h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.25rem;
}

.markdown-content h3 {
  font-size: 1.25rem;
}

.markdown-content h4 {
  font-size: 1.125rem;
}

.markdown-content p {
  margin-bottom: 1rem;
}

.markdown-content ul,
.markdown-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.markdown-content li {
  margin-bottom: 0.25rem;
}

.markdown-content blockquote {
  border-left: 4px solid var(--healthier-primary);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #6b7280;
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.375rem;
}

.markdown-content code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875em;
}

.markdown-content pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
}

.markdown-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.markdown-content th,
.markdown-content td {
  border: 1px solid #d1d5db;
  padding: 0.5rem;
  text-align: left;
}

.markdown-content th {
  background-color: #f9fafb;
  font-weight: 600;
}

.markdown-content a {
  color: var(--healthier-primary);
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.markdown-content a:hover {
  color: var(--healthier-primary-dark);
}

.markdown-content strong {
  font-weight: 600;
  color: #111827;
}

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

.markdown-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}
