﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.question-card {
    cursor: pointer;
}

.question-card.minimized .card-body-minimized {
    display: block;
}

.question-card.minimized .card-body-full {
    display: none;
}

.card-body-minimized {
    padding: 10px;
}

.minimized-text {
    margin: 0;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

.question-card { margin-bottom: 1rem; transition: opacity 0.3s ease, border 0.7s ease; }
.answer-row { display: flex; align-items: center; margin-bottom: 0.5rem; }
.answer-row input, .answer-row select { max-width: 200px; }
.sidebar { max-width: 300px; border-left: 1px solid #dee2e6; }
#flowchart { height: 400px; border: 1px solid #dee2e6; }
.toast-container { position: fixed; bottom: 20px; right: 20px; }
.question-text:disabled, .answer-text:disabled { background: none; border: none; }
.question-text:focus, .answer-text:focus { background: #fff; border: 1px solid #ced4da; }
.end-options { display: none; }
.end-options.active { display: block; }
.video-path { font-size: 0.9rem; color: #6c757d; }
.answers-section { display: block; }
.answers-section.hidden { display: none !important; }

.modal-flowchart-container { width: 100%; height: 80vh; }
@media (max-width: 767px) {
    #flowchart { height: 300px; }
    .modal-flowchart-container { height: 60vh; }
}
.question-card.highlight { border: 2px solid #007bff !important; }