/* ===== BASE ===== */
html, body {
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
}

/* Main survey container */
#outerframeContainer {
  max-width: 900px;
  margin: 40px auto;
  padding: 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  flex: 1;
}

/* Headings */
h1, h2, h3 {
  font-weight: 600;
  color: #0f172a;
}

/* Question text */
.ls-question-text {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Inputs */
.form-control {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #e2e8f0;
}

.form-control:focus {
  border-color: #f97316;
  box-shadow: none;
}

/* Primary buttons */
.btn-primary,
.btn-success,
.btn-submit,
button[type="submit"] {
  background-color: #A31C2B !important;
  border-color: #A31C2B !important;
  color: #ffffff !important;
}

/* Hover */
.btn-primary:hover,
.btn-success:hover,
.btn-submit:hover,
button[type="submit"]:hover {
  background-color: #A31C2B !important;
  border-color: #A31C2B !important;
}

/* Secondary / accent */
.btn-secondary,
.btn-danger {
  background-color: #A31C2B !important;
  border-color: #A31C2B !important;
  color: #ffffff !important;
}

.btn-secondary:hover,
.btn-danger:hover {
  background-color: #39557e !important;
  border-color: #39557e !important;
}

/* Progress bar */
.progress-bar {
  background-color: #A31C2B;
}

/* ===== TOP BAR ===== */
.dayseven-topbar {
  background-color: #A31C2B;
  color: #ffffff;
  font-size: 14px;
  width: 100%;
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-right {
  font-weight: 500;
  white-space: nowrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Links (force override LimeSurvey styles) */
.dayseven-topbar a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500;
}

.dayseven-topbar a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* ===== ICONS ===== */
.icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* ===== FOOTER ===== */
.dayseven-footer {
  background-color: #39557e;
  color: #ffffff;
  width: 100%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-hours {
  line-height: 1.5;
}

.footer-hours .divider {
  margin: 0 10px;
  opacity: 0.7;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Social icons */
.dayseven-footer a {
  color: #ffffff !important;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  padding: 8px;

  transition: all 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .topbar-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-right {
    justify-content: center;
  }
}

/* Header layout */
.navbar,
.ls-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb;
}

/* Container */
.navbar .container-fluid,
.ls-header .container-fluid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
}

/* Logo */
.dayseven-logo-wrapper {
  display: flex;
  align-items: center;
}

.dayseven-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.topbar-right .divider {
  margin: 0 8px;
  opacity: 0.7;
}

/* ===== FOOTER ===== */
.dayseven-footer {
  background-color: #39557e;
  color: #ffffff;
  width: 100%;
}

/* Layout */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Left block */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Hours */
.footer-hours {
  font-size: 14px;
  opacity: 0.95;
}

/* Copyright */
.copyright {
  font-size: 13px;
  opacity: 0.7;
}

/* Divider */
.footer-hours .divider {
  margin: 0 10px;
  opacity: 0.6;
}

/* Right (icons) */
.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Icons */
.icon {
  width: 20px;
  height: 20px;
}

/* Social buttons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff;

  transition: all 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}
