
/* ───────────────────────────────────────────── */
/* 1) Reset & Base                              */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  height: auto; /* NOT 100%, allow it to grow */
  font-family: Calibri, sans-serif;
  background-color: #fff;
  color: #000;
}



/* ───────────────────────────────────────────── */
/* 2) Header stays at top, fixed 50px high     */
header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #eaeaea;
  height: 50px;
  padding: 0 20px;
}

/* ───────────────────────────────────────────── */
/* 3) Main Layout: sidebar + content           */
.main-container {
  display: flex;
  flex: 1 1 auto;
  /* min-height lets it start at viewport height but grow with content: */
  min-height: calc(100vh - 50px);
  /* remove the old fixed height: */
  /* height: calc(100vh - 50px); */
}


.sidebar {
  flex: 0 0 260px;
  background: #0056b3;
  color: #fff;
  padding: 1em;
  overflow-y: auto;
}
.sidebar a {
  display: block;
  color: #A5B9BC;
  text-decoration: none;
  margin-bottom: .75em;
}
.content-frame {
  max-width: 1000px;         /* Limit content width */
  margin: 0 auto;            /* Center the content */
  padding: 2rem;             /* Maintain spacing */
  background-color: #b3d9ff; /* Keep your current background */
  overflow-y: auto;          /* Allow scrolling if content is tall */
  flex: 1;                   /* Let it fill available vertical space */
}

/* ───────────────────────────────────────────── */
/* 4) Cards / Boxes                            */
.dashboard-container,
.card,
.disk-container {
  background: #fff;
  border: 1px solid #04617b;
  border-radius: 6px;
  padding: 1em;
  margin-bottom: 1em;
}

/* ───────────────────────────────────────────── */
/* 5) Typography                               */
h1, h2, h3, h4 {
  margin-bottom: .5em;
}
h1, h2 {
  text-align: center;
}
p {
  margin-bottom: 1em;
}

/* ───────────────────────────────────────────── */
/* 6) Buttons                                  */
.button,
button,
a.button {
  display: inline-block;
  padding: .5em 1.25em;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background: #007BFF;
  border: 2px solid #0056b3;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.button:hover,
button:hover,
a.button:hover {
  background: #0056b3;
  border-color: #003a75;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.button:active,
button:active,
a.button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ───────────────────────────────────────────── */
/* 7) Forms & Inputs                           */
label {
  display: block;
  font-weight: bold;
  margin-bottom: .25rem;
}

input[type="text"],
input[type="date"],
select,
textarea {
  padding: .5em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;        /* fill available space */
  max-width: 300px;   /* but never wider than 300px */
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-left,
.form-right {
  flex: 1;
  min-width: 250px;
}

.form-group {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-right: 1em;
}

@media (max-width: 768px) {
  .form-group {
    flex: 1 1 100%;
  }
}

/* ───────────────────────────────────────────── */
/* 8) Toggle-Radio Buttons                     */
.toggle-radio-group {
  display: flex;
  gap: 1rem;
  margin: .5em 0 1em;
}
.toggle-radio-group input[type="radio"] {
  display: none;
}
.toggle-radio-group label {
  padding: .5em 1em;
  border: 2px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  color: #333;
  transition: all .2s ease-in-out;
}
.toggle-radio-group input[type="radio"]:checked + label {
  background: #007BFF;
  border-color: #007BFF;
  color: #fff;
}

.select2-container {
  width: 100% !important;
}

/* Sticky Button Bar (already in your CSS, kept for reference) */
#sticky-button-bar {
  position: fixed;
  bottom: 0;
  left: 260px;
  right: 0;
  background-color: #f8f8f8;
  padding: 12px 24px;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
#sticky-button-bar .button {
  min-width: 160px;
  max-width: 300px;
  font-size: 1rem;
  padding: 10px 20px;
}

body {
  padding-bottom: 140px; /* space for the sticky bar */
}

/* Floating suggestions button */

.feedback-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 50px;
}

.feedback-floating-btn .btn {
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
    border: none;
}

.feedback-floating-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
    transition: all 0.3s ease;
}

.screenshot-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#screenshotPreview {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}



