/* Define our custom brand colors using CSS variables */
:root {
  --primary-color: #8DA9C4;   /* Blue for header and accents */
  --secondary-color: #50e3c2; /* Secondary, lighter blue for hover effects */
  --accent-color: #f5a623;    /* Accent color (if needed) */
}

/* Input Section Style: applies to wrappers containing inputs */
/* Input Section Style: applies to wrappers containing inputs */
.input-section {
  background-color: #f9f9f9;
  padding: 15px;  /* Increased padding */
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;  /* Increased margin */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);  /* Subtle shadow */
}

/* Base body style */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f0f4f8;
  color: #333;
  padding-top: 70px;
  /* padding-bottom: 70px; */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
/* Override Bootstrap's navbar or header defaults */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #8DA9C4; /* Primary color for header */
  z-index: 1000;     /* Ensure the header stays above all other content */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 2rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  height: 40px;
  vertical-align: middle;
}

/* Stylish Logo Text */
.logo {
  font-size: 1.5rem; /* Reduced from 1.75rem */
  font-weight: 700;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.5px; /* Adjusted for a tighter look */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation styling */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav li a {
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;  /* removes the underline */
  transition: background-color 0.3s ease;
}

nav li a:hover,
nav li.active a {
  background-color: #50e3c2; /* Secondary color on hover and when active */
}


/* CONTAINER */
.container {
  margin-top: 1rem;
  flex: 1;
}

/* SECTION CONTAINERS */
/* These card-like containers override Bootstrap’s cards if needed */
.section-container {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

/* Section Title Style - blue accent line on left */
.section-container h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 5px solid var(--primary-color);
  color: #1a1a1a;
}

/* FORM CONTROLS */
/* Use Bootstrap's .form-control but add our focus effect and consistent margins */
.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

/* BUTTONS */
/* Override Bootstrap's .btn if needed to enforce our style */
.btn {
  background-color: var(--secondary-color);
  border: none;
  border-radius: 0.25rem;
  color: #fff;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
}

/* TABLES */
/* Use a clean table style that aligns with our design */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  color: #212529;
}

table th, table td {
  padding: 0.75rem;
  vertical-align: top;
  border: 1px solid #dee2e6;
}

table th {
  background-color: #e9f0f7;
  font-weight: 500;
}

/* FOOTER */
/* Ensure footer remains consistent with our color scheme */
footer {
  background: #333;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
  /* position: fixed; */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

/* UTILITY CLASSES (if needed) */
.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* Responsive tweaks if needed */
@media (max-width: 600px) {
  nav ul li {
    display: block;
    margin-bottom: 10px;
  }
}

/* Disabled Section Overlay */
.disable {
  opacity: 0.5;
  pointer-events: none;
}
.disable::after {
  content: "Disabled";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--accent-color);
  background: rgba(255,255,255,0.8);
  padding: 10px 20px;
  border-radius: 8px;
}
/* Flexbox Details */
.details, .qa-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hover-shadow:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}