/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

  @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root{
  --canada-red: #D80621;
  --canada-red-dark: #a60418;
  --canada-red-soft: rgba(216, 6, 33, 0.10);

  --background: #ffffff;
  --card-bg: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --border-soft: #e6e6e6;
}

body{
  background-color: var(--background);
  font-family: 'Quicksand', sans-serif;
  color: var(--text-main);
  font-weight: 500;
}

/* Main content container (works well with vanilla) */
#outerframeContainer{
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Subtle “flag bar” at top of the card */
#outerframeContainer::before{
  content: "";
  display: block;
  height: 6px;
  background-color: var(--canada-red);
  border-radius: 14px 14px 0 0;
  margin: -2.5rem -2.5rem 2rem -2.5rem;
}

/* Titles */
.ls-heading h1{
  color: var(--canada-red);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2, h3{
  font-weight: 700;
}

/* Question blocks */
.question-container{
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.question-container:last-child{
  border-bottom: none;
}

.question-title{
  font-weight: 700;
}

/* Inputs */
.form-control:focus{
  border-color: var(--canada-red);
  box-shadow: 0 0 0 0.2rem var(--canada-red-soft);
}

/* Buttons */
.btn-primary{
  background-color: var(--canada-red);
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--canada-red-dark);
}

/* Progress bar */
.progress-bar{
  background-color: var(--canada-red);
}

/* Modern browser native accent for radios/checkboxes */
input[type="radio"],
input[type="checkbox"]{
  accent-color: var(--canada-red);
}

.text-primary {
  color: #1a1a1a !important;
}

.ls-question-message {
  color: #1a1a1a !important;
}