﻿:root {
    /* Colors */
    --str-primary: #4884d9;
    --str-bg: #f8fafc;
    --str-ctn-bg: #fcfcfc;
    --str-text-main: #3c3f40;
    --str-text-muted: #636e72;
    --str-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    --fs-h1: 3rem;
    --fs-h2: 2.5rem;
    --fs-h3: 2rem;
    --fs-h4: 1.5rem;
    --fs-h5: 1.25rem;
    --fs-p: 1rem;
    --fs-small: 0.8rem;
}

* {
    margin: 0;
}

html, body {
    background-color: var(--str-bg);
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Figtree", sans-serif;
    font-size: var(--fs-p);
    color: var(--str-text-main);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

/* Header Styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--str-text-main);
    font-weight: 700; 
    line-height: 1.2;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: var(--fs-h1);
}


h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
}

h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
}

h5 {
    font-size: var(--fs-h5);
    font-weight: 600;
}

/* Body Content */
p, li, blockquote {
    font-weight: 400; 
}

/* Muted / Metadata Text */
.text-muted {
    color: var(--str-text-muted);
    font-size: var(--fs-small);
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.fractioninput {
    width: 5rem;
}

/* Sticky footer styles
-------------------------------------------------- */
.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
.footer {
    margin-top: auto;
    padding: 1rem;
}