.login-box, .dashboard {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
  text-align: center;
  width: 300px;
}
.login-box {
  margin: 120px auto 0; /* push down about 120px from top */
}
input[type="email"], input[type="text"] {
  width: 100%;
  max-width: 280px; /* 20px padding x 2 = 40px, plus some buffer */
  box-sizing: border-box;
  padding: 5px;
  margin: 5px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.main-container {
  display: flex;
  gap: 20px;
  margin: 0 auto;
  padding: 14px;
  align-items: flex-start;
}

.right-side-panels {
  flex: 0 0 300px;
  margin-left: -20px;
}

button {
  width: 100%;
  padding: 10px;
  background: #0072bb;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background: #005b96;
}
.error {
  color: red;
  font-size: 0.9em;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f6fa;
  margin: 0;
  padding-top: 0px;
}

.perfeval-page {
  padding-top: 80px; /* or whatever height clears your header */
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0072bb;
    padding: 10px 20px;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    height: 40px;
    display: block;
}

.user-initials {
    background-color: #fff;
    color: #0072bb;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
}
.dashboard {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
  text-align: center;
  flex: 0 0 280px; /* ← narrower, left column */
  margin-top: 80px; /* space under top bar */
}

.clock-panel-right {
  background-color: #f7f7f7;
  border-left: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
  min-width: 250px;
  margin-top: 80px;
  margin-left: 20px;
  flex: 1;
}

/* only the first one gets top spacing */
.right-side-panels .clock-panel-right:first-child {
  margin-top: 80px;
}

/* all others get smaller gaps */
.right-side-panels .clock-panel-right:not(:first-child) {
  margin-top: 25px;
}

.user-menu {
    position: relative;
    cursor: pointer;
    margin-left: auto;
    margin-right: 50px;
}
.user-initials {
    background-color: #fff;
    color: #0072bb;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.user-initials:hover {
    background-color: #e6e6e6;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 999;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.dropdown-menu a:hover {
    background-color: #f2f2f2;
}
.top-left {
    display: flex;
    align-items: center;
}
.top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 200px; /* or whatever fits */
    margin-left: auto;
}
.setup-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 1000px;
  margin: 80px auto 40px;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
}

/* Inline select + button row */
select {
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Use default button styles, just slightly adjust padding if needed */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    text-align: center;
}
.modal-content input[type="text"] {
  width: 100%;
  max-width: 260px; /* 20px padding x 2 = 40px, plus some buffer */
  box-sizing: border-box;
}

.close-btn {
    margin-top: 10px;
    background-color: #ccc;
    color: #000;
}
.collapsible-header {
    cursor: pointer;
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 10px;
    user-select: none;
}

.collapsible-content.collapsed {
    display: none;
}
select.role-select {
  width: 200px;
  height: 90px;
  border-radius: 4px;
  padding: 4px;
}
.role-badge {
    display: inline-block;
    background: #eee;
    border-radius: 12px;
    padding: 4px 8px;
    margin: 2px;
    font-size: 0.85em;
    color: #333;
    position: relative;
}

.remove-role {
    margin-left: 5px;
    color: #ed0b12;
    cursor: pointer;
    font-weight: bold;
}

.remove-role:hover {
    color: #a80000;
}
.header-with-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.header-with-button h2 {
  margin: 0;
}

.header-with-button .assign-btn {
  width: auto !important; /* override button { width: 100%; } */
  padding: 6px 12px;
}
.assign-btn {
  padding: 6px 10px;
  background: #0072bb;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.assign-btn:hover {
  background: #005b96;
}

.user-status-entry {
  margin-bottom: 6px;
  font-weight: bold;
}

.user-status-entry .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
}

.status-in { background-color: green; }
.status-lunch { background-color: orange; }
.status-out { background-color: red; }
.status-in-field { background-color: #0072bb; }

.total-hours {
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.1em;
  color: #0072bb;
}

.weekly-hours {
  margin-top: 20px;
  text-align: left;
}

.weekly-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.weekly-table th, .weekly-table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  text-align: left;
}

.weekly-table .total-row td {
  border-top: 2px solid #0072bb;
  background: #f5f5f5;
  font-weight: bold;
}

.icon-btn {
  font-size: 20px;
  margin: 0 6px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.icon-btn:hover {
  transform: scale(1.2);
}

.icon-btn.approve { color: #28a745; }   /* green */
.icon-btn.reject { color: #dc3545; }    /* red */
.icon-btn.adjust { color: #007bff; }    /* blue */

/* ==============================
   PAYROLL MANAGEMENT STYLES
   ============================== */
.container {
  max-width: 1100px;
  margin: 80px auto 40px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.period-select {
  min-width: 320px;
  padding: 6px 8px;
}

.payroll-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.payroll-table th,
.payroll-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
  font-size: 14px;
}

.payroll-table th {
  background: #f6f7fb;
}

.totals-row {
  font-weight: 600;
  background: #f0f6ff;
}

.muted {
  color: #666;
}

.right {
  text-align: right;
}

.small {
  font-size: 12px;
  color: #666;
}

/* Icon buttons (Adjust, Approve, Reject) */
.icon-btn {
  font-size: 18px;
  margin: 0 6px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.icon-btn:hover {
  transform: scale(1.2);
}

.icon-btn.adjust {
  color: #0d6efd;
}

.icon-btn.approve {
  color: #198754;
}

.icon-btn.reject {
  color: #dc3545;
}

/* Export button */
.export-btn {
  margin-top: 12px;
  padding: 8px 16px;
  background: #0072bb;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.export-btn:hover {
  background: #005b96;
}

/* ==============================
   PAYROLL MODAL STYLES
   ============================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 720px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.modal-content h3 {
  margin-top: 0;
}

.modal-content table {
  width: 100%;
  border-collapse: collapse;
}

.modal-content th, 
.modal-content td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  font-size: 14px;
}

/* ========== Event Modal Buttons ========== */
.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.modal-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-btn:hover {
  transform: translateY(-1px);
}

/* Specific button styles */
.save-btn {
  background: #0072bb;
  color: #fff;
}

.save-btn:hover {
  background: #005b96;
}

.cancel-btn {
  background: #ccc;
  color: #000;
}

.cancel-btn:hover {
  background: #b3b3b3;
}

.delete-btn {
  background: #dc3545;
  color: #fff;
}

.delete-btn:hover {
  background: #a71d2a;
}

.modal-actions .assign-btn {
  width: auto;
}

.payroll-table tr:hover {
  background-color: #f9fbff;
}

.payroll-table td:first-child {
  font-weight: 600;
}

.bar h2 {
  margin: 0;
  font-size: 1.6em;
}

/* ==============================
   PUNCH EDIT MODAL TABLE
   ============================== */

.punch-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.punch-table th,
.punch-table td {
  padding: 8px 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  text-align: left;
}

.punch-table th {
  background: #f6f7fb;
  font-weight: 600;
}

.punch-table tr:nth-child(even) {
  background: #fafafa;
}

.punch-table tr:hover {
  background: #f2f9ff;
}

.punch-action {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #0072bb;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.punch-action:hover {
  background: #005b96;
}

.punch-action.delete {
  background: #dc3545;
}

.punch-action.delete:hover {
  background: #a71d2a;
}

.punch-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.punch-modal-header h3 {
  margin: 0;
  font-size: 20px;
}

.punch-modal-header .small {
  font-size: 13px;
  color: #666;
}

.punch-modal-body {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.add-punch-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.add-punch-row input[type="datetime-local"],
.add-punch-row select {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.link {
  text-decoration: none;
  color: #0072bb; /* Tigerhawk Blue */
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

.delete-icon {
  color: #cc0000;
  cursor: pointer;
  font-size: 16px;
  margin-left: 10px;
  margin-top: 2px;
  transition: color 0.2s ease;
}

.delete-icon:hover {
  color: #ff0000;
}
.mileage-entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding: 6px 0;
}

.mileage-entry .entry-details {
  flex: 1;
}

/* Container for PTO Approvals Page */
.pto-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 80px auto 40px;
  padding: 20px;
  max-width: 1200px;
}

/* PTO Request List */
.pto-request-list {
  flex: 0 0 380px;
  background: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  overflow-y: auto;
  max-height: 80vh;
}

/* Each Request Entry */
.pto-request-entry {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.4;
}

.pto-request-entry strong {
  display: block;
  font-size: 15px;
  color: #0072bb;
  margin-bottom: 2px;
}

.pto-request-entry small {
  color: #666;
}

/* Buttons for approve/deny/preview */
.pto-request-entry .icon-btn {
  margin-right: 6px;
  font-size: 18px;
  cursor: pointer;
}

/* PTO Calendar Section */
.pto-calendar-box {
  flex: 1;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  min-height: 500px;
}

.pto-calendar-box h3 {
  margin-top: 0;
  color: #0072bb;
}
.fc-event.preview-pto {
  background-color: #f0ad4e !important;  /* orange highlight */
  border: none;
}

.context-menu .menu-item {
  padding: 8px 12px;
  cursor: pointer;
}
.context-menu .menu-item:hover {
  background-color: #f5f5f5;
}

button.calendar-add-btn {
  padding: 6px 6px;
  font-size: 12px;
  background-color: #0072bb;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  float: right;
  width: 100px;
}

button.calendar-add-btn:hover {
  background-color: #005fa1;
}
button:disabled {
  background: #ccc;
  cursor: not-allowed;
  color: #666;
}
#ptoCalendarBox .calendar-add-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 12px;
  font-size: 14px;
  background-color: #0072bb;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;
}

#ptoCalendarBox {
  flex: 1;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative; /* so the button can float inside */
  margin-top: 80px;
  min-height: 500px; /* optional: ensures it looks like a container */
}

/* ===========================
   Employee Handbook / Policies
   =========================== */
.policy-container {
  display: flex;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
}

.policy-list {
  flex: 0 0 300px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 6px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
#policyList {
  flex: 1;
  overflow-y: auto;
}

.policy-item {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.policy-item:hover {
  background: #eee;
}

.policy-item.active {
  background: #0072bb;
  color: white;
}

.policy-content {
  flex: 1;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 20px;
  overflow-y: auto;
  max-height: 80vh;
}

.policy-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  text-align: right;
  border-bottom: 1px solid #ccc;
}

/* Policy Buttons */
.btn {
  padding: 6px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #0072bb;
  color: white;
}

.btn-danger {
  background: #ed0b12;
  color: white;
}

.policy-item {
  transition: background 0.2s ease;
}

#policyAlertBanner {
  position: relative;
  background: #ed0b12; /* Tigerhawk red */
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 10px 15px;
  cursor: pointer;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1000;
}
#policyAlertBanner.show {
  transform: translateY(0);
  opacity: 1;
}
#policyAlertBanner {
  display:none;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
}
#policyAlertBanner.show {
  display:block;
  transform: translateY(0);
}

#ptoAlertBanner {
  position: relative;
  background: #fff3cd;
  color: black;
  text-align: center;
  font-weight: bold;
  padding: 10px 15px;
  cursor: pointer;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1000;
}
#ptoAlertBanner.show {
  transform: translateY(0);
  opacity: 1;
}


/* ========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Tablets and small laptops */
@media (max-width: 992px) {
  .main-container,
  .pto-container,
  .policy-container {
    flex-direction: column;
    align-items: stretch;
  }

  .right-side-panels,
  .dashboard,
  .pto-request-list,
  .pto-calendar-box,
  .policy-list,
  .policy-content {
    flex: 1 1 100%;
    margin: 0;
    max-width: 100%;
  }

  .right-side-panels {
    margin-left: 0;
  }

  .setup-box, .container {
    width: 95%;
    margin: 100px auto 40px;
  }
}

/* Phones */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding: 0 10px;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
  }

  .top-right {
    margin-left: 0;
    max-width: none;
    width: 100%;
    justify-content: space-between;
  }

  .main-container,
  .pto-container,
  .policy-container {
    flex-direction: column;
    padding: 10px;
  }

  .dashboard,
  .clock-panel-right,
  .setup-box,
  .container,
  .pto-request-list,
  .pto-calendar-box,
  .policy-list,
  .policy-content {
    width: 100%;
    margin-top: 60px;
    padding: 12px;
  }

  .bar h2 {
    font-size: 1.2em;
  }

  /* Scrollable tables */
  table,
  .payroll-table,
  .weekly-table {
    font-size: 13px;
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Buttons full width on mobile */
  button,
  .btn,
  .modal-btn {
    width: 100% !important;
    margin-bottom: 10px;
  }

  /* Modals centered and narrower */
  .modal-content {
    width: 90%;
    max-width: 400px;
    padding: 16px;
  }

  /* Policy list collapses into accordion if desired */
  .policy-list {
    max-height: none;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  h1, h2, h3 {
    font-size: 1.1rem;
  }

  .user-initials {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }

  .top-bar {
    padding: 6px 10px;
  }
}
@media (max-width: 768px) {
  .calendar-container {
    display: none
      }
}

#startTimeGroup, #endTimeGroup, #quickTimeLinks {
  transition: opacity 0.2s ease;
}

/* ==============================
   PERFORMANCE EVALUATIONS STYLES
   ============================== */
.evals-container {
  display: flex;
  gap: 20px;
  margin: 80px auto 40px;
  padding: 20px;
  max-width: 1200px;
}

.eval-list {
  flex: 0 0 350px;
  background: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  overflow-y: auto;
  max-height: 80vh;
}

.eval-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.eval-item:hover {
  background: #f8f8f8;
}

.eval-detail {
  flex: 1;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  min-height: 400px;
}

.qrow {
  border-bottom: 1px dashed #ddd;
  padding: 8px 0;
}
.qrow:last-child {
  border-bottom: none;
}

.badge {
  display: inline-block;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  color: #333;
}

.goal-notes {
  margin-top: 6px;
  font-size: 13px;
}

.goal-notes .notes-box {
  background: #f9f9f9;
}

.goal-notes textarea {
  font-size: 13px;
  padding: 4px;
}

.goal-notes .assign-btn {
  padding: 4px 8px;
  font-size: 13px;
}

.toggle-buttons {
  display: flex;
  gap: 10px;
}

.toggle-buttons .assign-btn.active {
  background: #005b96;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

tr.milestone-achieved {
  background: #e6ffe6;
  color: #333;
}

/* ==============================
   BHAG HEADER WIDGET
   ============================== */
.bhag-widget {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 400px;
  pointer-events: auto;
}

.bhag-progress-wrapper {
  position: relative;
  width: 100%;
}

.bhag-label-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.2);
  font-weight: 800;
  font-size: 36px; /* was 24px */
  letter-spacing: 6px;
  z-index: 0;
  user-select: none;
  text-transform: uppercase;
  pointer-events: none;
}

.bhag-progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.bhag-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0072bb, #ed0b12);
  border-radius: 6px;
  transition: width 0.8s ease-in-out;
}

.bhag-info {
  font-size: 12px;
  color: #fff;
  margin-top: 4px;
  line-height: 1.2;
}

.bhag-info span {
  display: block;
}

.bhag-info .next-milestone {
  font-size: 11px;
  color: #ffe;
  opacity: 0.9;
}

/* Make goal text clean and slightly smaller */
.bhag-info .goal-text {
  font-size: 11.5px;
  color: #fff;
  opacity: 0.95;
  margin-top: 1px;
}

/* Optional: subtle hover to fade BHAG label */
.bhag-progress-wrapper:hover .bhag-label-bg {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

/* Subtle hover zoom effect */
.bhag-progress-bar:hover {
  transform: scale(1.03);
  transition: transform 0.2s ease;
  cursor: pointer;
}

/* Hide on small screens */
@media (max-width: 992px) {
  .bhag-widget {
    display: none;
  }
}

.tab-header {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

.tab-btn {
  background: #f5f6fa;
  border: 1px solid #ccc;
  border-bottom: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  font-weight: bold;
}

.tab-btn.active {
  background: white;
  color: #0072bb;
  border-bottom: 2px solid white;
}

.tab-content {
  display: none;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0 6px 6px 6px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tab-content.active {
  display: block;
}

/* --- Rating buttons --- */
.ratings {
    display: flex;
    gap: 10px;
    margin: 6px 0;
}

.rating {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border: 2px solid #0072bb;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s all ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #0072bb;
}

.rating input[type="radio"]:checked {
    background: #0072bb;
    color: #fff;
}

.rating input[type="radio"]::after {
    content: attr(value);
    position: absolute;
    font-size: 14px;
    pointer-events: none;
    font-weight: bold;
}

/* --- Comment box --- */
.qcomment {
    width: 100%;
    min-height: 90px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

.editblock {
    margin-top: 8px;
}

.alertBanner {
  position: fixed;        /* FLOATS above everything */
  top: 0;
  left: 0;
  right: 0;

  background: #fff3cd;    /* or your Tigerhawk orange */
  color: black;
  text-align: center;
  font-weight: bold;
  padding: 10px 15px;
  cursor: pointer;

  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;

  z-index: 1000;         /* guarantees it sits OVER your header */
}
.alertBanner.show {
  transform: translateY(0);
  opacity: 1;
}