@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kaisei+HarunoUmi&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kaisei+HarunoUmi&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kaisei+HarunoUmi&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@100..900&display=swap);
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: 9999;
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, 9999);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: -webkit-fit-content;
  width: fit-content;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  width: 320px;
  width: var(--toastify-toast-width);
  min-height: 64px;
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 14px;
  padding: var(--toastify-toast-padding);
  border-radius: 6px;
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: var(--toastify-toast-shadow);
  max-height: 800px;
  max-height: var(--toastify-toast-max-height);
  font-family: sans-serif;
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: auto;
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: 320px;
  width: var(--toastify-toast-width);
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  -webkit-margin-end: 10px;
          margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: #121212;
  background: var(--toastify-color-dark);
  color: #fff;
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: #fff;
  color: var(--toastify-text-color-info);
  background: #3498db;
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: #fff;
  color: var(--toastify-text-color-success);
  background: #07bc0c;
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: #fff;
  color: var(--toastify-text-color-warning);
  background: #f1c40f;
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: #fff;
  color: var(--toastify-text-color-error);
  background: hsl(6, 78%, 57%);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: #bb86fc;
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: #3498db;
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: #07bc0c;
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: #f1c40f;
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: hsl(6, 78%, 57%);
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: rgba(255, 255, 255, 0.7);
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: auto;
  right: initial;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: auto;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: 0;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: 6px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: 6px;
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: 0.2;
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: #e0e0e0;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: #616161;
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding-left: 0 !important;
  background-color: #f5f5f5;
}

.login-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
  gap: 40px;
  width: 90vw;
  max-width: 1200px;
  height: 80vh;
  padding-left: 0 !important;
}

.login-imageContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1;
  height: 100%;
  width: 50%;
  max-width: 600px;
  margin-bottom: 20px;
  padding-left: 0 !important;
  overflow: hidden;
}

.login-yellowOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.login-yellow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.login-image {
  width: 100%;
  flex: 1 1;
  height: 50%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1;
  width: 50%;
  max-width: 500px;
  background-color: #fff;
  padding: 40px;
  margin-right: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input {
  width: 90%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom-button.login-button {
  width: 90%;
  padding: 12px;
  background-color: #BE0019;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: 10px auto;
  font-size: 16px;
  font-weight: 500;
}

.error {
  color: #BE0019;
  width: 90%;
  align-self: center;
  text-align: left;
  margin-bottom: 10px;
}

.login-form > .MuiTextField-root {
  align-self: center;
}


.heading {
  text-align: center;
  color: #BE0019;
}

.spacing {
  margin-top: 20px;
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.login-form .global-header {
  text-align: center;
}

.logoImage {
  display: block;
  margin: 0 auto;
  max-width: 100px;
}

.loginText {
  text-align: center;
  margin: 10px 0;
}

.forgotPasswordLink,
.createAccountLink {
  color: blue;
  text-decoration: none;
}

.forgotPasswordLink:hover,
.createAccountLink:hover {
  text-decoration: underline;
}

/* Responsive design for smaller screens */
@media (max-width: 750px) {
  .login-content {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .login-form {
    width: 95%;
    max-width: none;
    margin-right: 0;
    padding: 20px;
  }

  .login-imageContainer {
    display: none;
  }

  .login-button {
    width: 90%;
  }
}
.custom-button {
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 20px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .custom-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 62, 131, 0.3);
  }
  
  /* Blue variant */
  .custom-button.blue {
    background-color: #003E83;
    color: white;
  }
  
  .custom-button.blue:hover {
    background-color: #002d5f;
  }
  
  .custom-button.blue:active {
    background-color: #001f42;
  }
  
  /* Red variant */
  .custom-button.red {
    background-color: #BE0019;
    color: white;
  }
  
  .custom-button.red:hover {
    background-color: #8f0013;
  }
  
  .custom-button.red:active {
    background-color: #75000f;
  }
  
  /* Disabled state */
  .custom-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
.forgot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding-left: 0 !important;
  background-color: #f5f5f5;
}

.forgot-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Roboto, sans-serif;
  gap: 40px;
  width: 90vw;
  max-width: 1200px;
  height: 80vh;
  padding-left: 0 !important;
}

.forgot-imageContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1;
  height: 100%;
  width: 50%;
  max-width: 600px;
  margin-bottom: 20px;
  padding-left: 0 !important;
  overflow: hidden;
}

.forgot-yellowOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.forgot-yellow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.forgot-image {
  width: 100%;
  flex: 1 1;
  height: 50%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.forgot-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1;
  width: 50%;
  max-width: 500px;
  background-color: #fff;
  padding: 40px;
  margin-right: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.forgot-button {
  width: 90%;
  padding: 12px;
  background-color: #be0019;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: 10px auto;
  font-size: 16px;
  font-weight: 500;
}

.forgot-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.forgot-error {
  color: #be0019;
  width: 90%;
  align-self: center;
  text-align: left;
  margin-bottom: 10px;
}

.forgot-success {
  color: #008000;
  width: 90%;
  align-self: center;
  text-align: left;
  margin-bottom: 10px;
  font-weight: 500;
}

.forgot-description {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}

.forgot-heading {
  text-align: center;
  color: #be0019;
}

.forgot-logo {
  text-align: center;
  margin-bottom: 1rem;
}

.forgot-logoImage {
  max-width: 100px;
}

.forgot-loginText {
  text-align: center;
  margin: 10px 0;
}

.forgot-backToLoginLink {
  color: blue;
  text-decoration: none;
}

.forgot-backToLoginLink:hover {
  text-decoration: underline;
}

.forgot-form > .MuiTextField-root {
  align-self: center;
}

@media (max-width: 750px) {
  .forgot-content {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .forgot-form {
    width: 95%;
    max-width: none;
    margin-right: 0;
    padding: 20px;
  }

  .forgot-imageContainer {
    display: none;
  }

  .forgot-button {
    width: 90%;
  }
}

.global-header {
  text-align: center;
  color: #be0019;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    padding-left: 0 !important;
}

.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    max-width: 500px;
    padding-left: 0 !important;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.button {
    width: 90%;
    padding: 12px;
    background-color: #BE0019;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.error {
    color: #BE0019;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    background-color: #ffe6e6;
    border-radius: 4px;
    border: 1px solid #ffcccc;
}

.success {
    color: #008000;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    padding: 10px;
    background-color: #e6ffe6;
    border-radius: 4px;
    border: 1px solid #ccffcc;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.4;
}

.heading {
    text-align: center;
    color: #BE0019;
    margin-bottom: 15px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logoImage {
    max-width: 100px;
}

.loginText {
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
}

.backToLoginLink {
    color: blue;
    text-decoration: none;
    display: inline-block;
    margin: 5px 0;
}

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

.eah-pwd-reqs {
    width: 90%;
    margin-bottom: 16px;
    color: #545454;
    font-size: 0.875rem;
}

.eah-pwd-reqs p {
    margin-bottom: 8px;
    font-weight: 500;
}

.eah-pwd-reqs label {
    display: block;
    margin-bottom: 8px;
}

.eah-pwd-reqs input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #003E83;
    transform: scale(1.25);
    vertical-align: middle;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .form {
        padding: 20px;
    }

    .button {
        width: 100%;
    }
}


.App {
  display: flex;
}

/* * ,  *::before, *::after {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    box-sizing: border-box;
} */

.createAccApplicant-imagesContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.createAccApplicant-stackedImages {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1;        
  gap: 0;
  min-height: 0; 
}

.createAccApplicant-researchImage {
  width: 100%;
  flex: 1 1;        
  min-height: 0;
  object-fit: cover;
  display: block;
}

.createAccApplicant-yellowOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.createAccApplicant-overlayImage {
  position: absolute;  
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;    
  display: block;
}

.logo2 {
  display: block;
  margin: 0 auto;
  max-width: 100px;
}

.header2 {
  margin-left: 10px;
  margin-top: 10px;
  font-size: 1.5em;
  color: var(--color-red);
  margin-bottom: 10px;
}

.name-container {
  display: flex;
  box-sizing: border-box;
  gap: 1rem;
}

/* Make First Name / Last Name columns share width evenly. Without flex: 1,
   each column collapses to its input's intrinsic width. */
.name-container > div {
  flex: 1 1;
  min-width: 0;
}

.form-container2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-self: flex-start;
}

.form-container2 label {
  display: table-row;
  margin-left: 8px;
  margin-bottom: 5px;
  margin-top: 10px;
}

/* box-sizing here keeps width: 100% inputs (including the Institution <select>)
   from overflowing the form container once padding/border are added. */
.form-container2 .input {
  width: 100%;
  box-sizing: border-box;
}

/* No fixed height — let the select size to its padding + text so the selected
   option isn't vertically clipped. */
.form-container2 select {
  padding-left: 10px;
  border-radius: 10px;
  border-width: 1px;
}

/* The shared .login-content / .login-form layout assumes form-on-right with the
   image filling the left side. The create-account pages put the form on the left,
   so the asymmetric padding-left:0 + margin-right makes the right side look tighter
   than the left. Re-symmetrize within the createAcc scope only. */
.createAcc-page .login-content {
  padding-left: 20px !important;
}

.createAcc-page .login-form {
  margin-right: 0;
}

/* The create-account form has many more fields than Login, so it can be taller
   than the viewport. Rather than lock the card to the viewport and give it an
   inner scrollbar, let the page grow and use the normal document scroll only
   when needed. The card keeps the SAME width metrics as the Login page. */
.createAcc-page {
  width: 100%;
  height: auto;
  min-height: 100vh;
  box-sizing: border-box;
}

.createAcc-page .login-content {
  width: 100%;
  max-width: 1200px;
  height: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  min-width: 0;
}

/* No box-sizing override here: like the Login card, max-width:500px caps the
   CONTENT box, so padding adds to it and the card renders at the same width. */
.createAcc-page .login-form {
  height: auto;
  min-width: 0;
}

/* Image strip matches the card's height instead of stretching to the full
   viewport, so it never extends past the form. */
.createAcc-page .login-imageContainer {
  align-self: stretch;
  height: auto;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* All form fields stay inside the card width — the long Institution select
   placeholder used to be the typical horizontal-overflow culprit. */
.createAcc-page .form-container2 .input,
.createAcc-page .form-container2 select {
  max-width: 100%;
  box-sizing: border-box;
}

.pwd-reqs {
  width: 100%;
  margin-top: 10px;
  color: #545454;
}

.pwd-reqs p {
  margin-bottom: 10px;
  font-size: smaller;
}

.pwd-reqs label.checkbox {
  display: block;
  margin-bottom: 10px;
}

.validation {
  color: var(--color-red);
  margin-top: 5px;
  font-size: 0.75em;
}

.checkbox {
  margin-top: 10px;
  font-size: smaller;
}

.pwd-reqs input[type="checkbox"]:not(:checked):not(:disabled):before {
  content: "−";
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #545454;
  border-radius: 2px;
}

.pwd-reqs .checkbox input[type="checkbox"] {
  margin-left: 10px;
  vertical-align: middle;
  margin-right: 10px;
  accent-color: var(--color-blue);
  transform: scale(1.75);
  font-size: smaller;
}

.confirm-pwd-container,
.confirm-pwd-container-exclaim {
  box-sizing: border-box;
  display: flex;
  border-radius: 10px;
  height: 2em;
  align-items: center;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin: 0;
}

.confirm-pwd-container {
  border: solid black;
  border-width: 1px;
}

.confirm-pwd-container-exclaim {
  border: solid var(--color-red);
  border-width: 1px;
}

.confirm-pwd-container .input,
.confirm-pwd-container-exclaim .input {
  border: none;
  outline: none;
  height: 100%;
  padding-left: 15px;
  box-sizing: border-box;
  width: calc(100% - 34px);
}

.confirm-pwd-container #exclaim,
.confirm-pwd-container-exclaim #exclaim {
  margin-right: 10px;
  color: var(--color-red);
  border: solid var(--color-red) 2px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bolder;
}

.acc-req2 {
  margin-top: 20px;
  text-align: center;
}

#link-to {
  color: var(--color-blue);
}

.signup-btn2 {
  display: block;
  width: 90%;
  padding: 12px;
  background-color: #BE0019;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: 10px auto;
  font-size: 16px;
  font-weight: 500;
}

.disable-submit {
  display: block;
  width: 90%;
  padding: 12px;
  background-color: #5b5b5b;
  color: #949494;
  border: none;
  border-radius: 20px;
  cursor: not-allowed;
  margin: 10px auto;
  font-size: 16px;
  font-weight: 500;
}

select.input {
  width: 100%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
}

select.input:focus {
  outline: none;
  border-color: #be0019;
}

/* Scoped to .createAcc-page so this taller, top-aligned form layout does not
   leak onto the shared Login and Create-Account-menu pages (all page CSS is
   bundled into one global stylesheet). Horizontal padding (40px) matches the
   Login card so the two cards render at the same width. */
.createAcc-page .login-form {
  justify-content: flex-start;
  align-items: center;
  padding: 20px 40px;
}

@media (max-width: 750px) {
  .createAcc-page .login-imageContainer {
    display: none;
  }

  .createAcc-page .login-form {
    width: 95%;
    max-width: none;
    margin-right: 0;
    padding: 20px;
  }
}

.createAccApplicant-stackedImages {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1;
  gap: 0;
  min-height: 0;
}

.createAccApplicant-researchImage {
  width: 100%;
  flex: 1 1;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.createAccApplicant-yellowOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.createAccApplicant-overlayImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.logo2 {
  display: block;
  margin: 0 auto;
  max-width: 100px;
}

.header-container2 {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.name-container {
  display: flex;
  box-sizing: border-box;
  gap: 1rem;
}

.form-container2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-self: flex-start;
}

.form-container2 label {
  display: table-row;
  margin-left: 8px;
  margin-bottom: 5px;
  margin-top: 10px;
}

.form-container2 .input {
  width: 100%;
}

.pwd-reqs {
  width: 100%;
  margin-top: 10px;
  color: #545454;
}

.pwd-reqs p {
  margin-bottom: 10px;
  font-size: smaller;
}

.pwd-reqs label.checkbox {
  display: block;
  margin-bottom: 10px;
}

.validation {
  color: var(--color-red);
  margin-top: 5px;
  font-size: 0.75em;
}

.checkbox {
  margin-top: 10px;
  font-size: smaller;
}

.pwd-reqs .checkbox input[type="checkbox"] {
  margin-left: 10px;
  vertical-align: middle;
  margin-right: 10px;
  accent-color: var(--color-blue);
  transform: scale(1.75);
  font-size: smaller;
}

.acc-req2 {
  margin-top: 20px;
  text-align: center;
}

#link-to {
  color: var(--color-blue);
}

.signup-btn2 {
  display: block;
  width: 90%;
  padding: 12px;
  background-color: #BE0019;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: 10px auto;
  font-size: 16px;
  font-weight: 500;
}

.disable-submit {
  display: block;
  width: 90%;
  padding: 12px;
  background-color: #5b5b5b;
  color: #949494;
  border: none;
  border-radius: 20px;
  cursor: not-allowed;
  margin: 10px auto;
  font-size: 16px;
  font-weight: 500;
}

select.input {
  width: 100%;
  padding: 10px;
  margin: 10px 0 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
}

select.input:focus {
  outline: none;
  border-color: #be0019;
}

/* Scoped to .createAcc-page so this taller, top-aligned form layout does not
   leak onto the shared Login and Create-Account-menu pages (all page CSS is
   bundled into one global stylesheet). The rest of the create-account layout
   (viewport/height/width metrics) comes from the shared block in
   CreateAccApplicant.css; keep this in sync with it. */
.createAcc-page .login-form {
  justify-content: flex-start;
  align-items: center;
  padding: 20px 40px;
}

@media (max-width: 750px) {
  .createAcc-page .login-imageContainer {
    display: none;
  }

  .createAcc-page .login-form {
    width: 95%;
    max-width: none;
    margin-right: 0;
    padding: 20px;
  }
}
/* Section chrome (yellow shelf, white cards, headers, dividers, expand button)
   lives in DashboardLayout.css via the shared .dashboard-* classes.
   This file only styles applicant-specific content. */

.ApplicantDashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ApplicantDashboard-application-box {
    padding: 16px;
    border: 5px solid var(--ccf-red);
    border-radius: var(--ccf-radius);
    background-color: var(--ccf-surface);
}

.ApplicantDashboard-application-box h3 {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ApplicantDashboard-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.ApplicantDashboard-buttons > * {
    flex: 1 1;
    min-width: 140px;
}

.ApplicantDashboard ul {
    padding-left: 20px;
}

.ApplicantDashboard .completed-applications,
.ApplicantDashboard .in-progress-applications {
    margin-bottom: 20px;
}

.ApplicantDashboard-single-application-box {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    background-color: #003E83;
    margin-bottom: 16px;
    min-height: 64px;
}

.ApplicantDashboard-single-application-box p {
  color: white;
  margin: 0;
}

.ApplicantDashboard .application-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ApplicantDashboard .application-icon {
    background-color: #F0C567;
    padding: 6px;
    border-radius: 4px;
    font-size: 22px;
    flex-shrink: 0;
}

.ApplicantDashboard-application-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ApplicantDashboard-application-status {
    display: flex;
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 140px;
    justify-content: center;
    text-align: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.ApplicantDashboard-application-status:hover {
    background-color: rgba(217, 217, 217, 0.7);
}

/* Sits on the navy application row, so it is outlined in white rather than
   using the blue primary button treatment used elsewhere. */
.ApplicantDashboard-results-btn {
    margin-left: auto;
    padding: 8px 16px;
    background-color: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 8px;
    font-family: var(--ccf-font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ApplicantDashboard-results-btn:hover {
    background-color: #fff;
    color: #003E83;
}

.ApplicantDashboard .application-status-icon {
    margin-left: 10px;
    color: white;
}

/* Post-Grant Reports Section Styles */
.post-grant-reports-section {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-grant-reports-header h2 {
  color: #856404;
  margin: 0 0 10px 0;
  font-size: 20px;
}

.post-grant-reports-header p {
  color: #856404;
  margin: 0 0 15px 0;
  font-size: 14px;
}

.post-grant-reports-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-grant-report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  transition: all 0.3s ease;
}

.post-grant-report-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.report-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-icon {
  color: #ff9800;
  font-size: 16px;
}

.report-title {
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

/* Submitted Reports Section Styles */
.submitted-reports-section {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submitted-reports-header h2 {
  color: #155724;
  margin: 0 0 15px 0;
  font-size: 20px;
}

.submitted-reports-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.submitted-report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  padding: 15px;
}

.submitted-badge {
  background: #28a745;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Post-Grant Report Button Styles */
.post-grant-report-btn {
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 500;
}

.post-grant-report-btn:hover {
  background: #f57c00;
}

.post-grant-report-btn:active {
  transform: translateY(1px);
}

/* Deadline Information Styles */
.deadline-info {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 12px;
  margin: 10px 0;
}

.deadline-info p {
  margin: 5px 0;
  color: #856404;
  font-size: 14px;
}

.overdue-notice {
  color: #d32f2f !important;
  font-weight: bold;
  margin-top: 8px !important;
}

/* Back Button Styles */
.back-button {
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
  margin-left: 15px;
}

.back-button:hover {
  background: #5a6268;
}

/* Application Info Section Styles */
.application-info-section {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.application-info-section h2 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.application-info-section p {
  color: #666;
  margin: 5px 0;
  font-size: 14px;
}

/* Submitted Post-Grant Report Button */
.post-grant-report-btn.submitted {
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.post-grant-report-btn.submitted:hover {
  background: #218838;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Submission Details Popup Styles */
.submitted-report-details {
  position: relative;
  display: inline-block;
}

.report-details-popup {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  z-index: 1000;
  margin-top: 5px;
  display: none;
}

.submitted-report-details:hover .report-details-popup {
  display: block;
}

.report-details-popup h4 {
  color: #333;
  margin: 0 0 10px 0;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.report-details-popup p {
  margin: 5px 0;
  font-size: 13px;
  color: #666;
}

.report-details-popup strong {
  color: #333;
  font-weight: 600;
}

.status-submitted {
  color: #28a745;
  font-weight: 600;
}

.pdf-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

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

@media (max-width: 900px) {
    .ApplicantDashboard-buttons {
        flex-direction: column;
    }

    .ApplicantDashboard-buttons > * {
        width: 100% !important;
    }

    .ApplicantDashboard-single-application-box,
    .post-grant-report-item,
    .submitted-report-item {
        flex-direction: column;
        align-items: stretch;
    }

    .ApplicantDashboard-application-status {
        min-width: 0;
        width: 100%;
    }

    .ApplicantDashboard-application-actions {
        width: 100%;
    }

    .ApplicantDashboard-application-actions .ApplicantDashboard-application-status {
        flex: 1 1;
        width: auto;
    }
}

/* Ended-cycle drafts (plan 005) */
.draft-ended-cycle-tag {
  color: #d32f2f;
  font-weight: bold;
  font-size: 12px;
  margin-left: 8px;
}

.draft-delete-btn {
  background: #d32f2f;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.draft-delete-btn:hover {
  background: #b71c1c;
}

.faq-container {
    background: #f8f8f8;
    padding: 20px;
    font-family: Arial, sans-serif;
    width: 100%;
    /* Full width */
    box-sizing: border-box;
    /* Include padding in width calculation */
    margin: 0 auto;
    /* Center the container on the page */
}

.faq-item {
    border: 2px solid #b71c1c;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    /* Full width */
    box-sizing: border-box;
    /* Include padding in width calculation */
    display: flex;
    flex-direction: column;
    /* Stack question and answer vertically */
    align-items: flex-start;
    /* Align content to the left */
}

.faq-question {
    font-weight: bold;
    font-size: 18px;
    color: #b71c1c;
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
}

.faq-answer {
    margin-top: 0;
    font-size: 16px;
    color: #333;
    text-align: left;
    width: 100%;
    border: none;
    border-top: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.faq-question-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0px 10px;
    gap: 12px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-width: 0;
}

.faq-question-content {
    display: flex;
    align-items: center;
    flex: 1 1;
    min-width: 0;
    gap: 12px;
}

.faq-question-text {
    flex: 1 1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.expand-icon {
    display: flex;
    align-items: center;
    color: #b71c1c;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.expand-icon:hover {
    background-color: rgba(183, 28, 28, 0.08);
}

.faq-buttons-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.markdown-preview-light {
    border-radius: 4px;
    padding: 12px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

.markdown-preview-light .markdown-previewer {
    border: none;
    padding: 10px;
}

/* Optional: Adjust padding for larger screens */
@media (min-width: 768px) {
    .faq-container {
        padding: 30px;
    }
}

.faq-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px 0;
}

.faq-empty-state p {
    margin: 0;
    font-size: 16px;
}
/* .markdown-previewer {
    border: 1px solid #ccc;
    border-radius: 2px;
} */

.contact-box {
    border: 3px solid #BE0019;
    padding: 30px;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
}

.contact-method {
    flex: 1 1;
    margin-right: 50px;
}

.contact-method:last-child {
    margin-right: 0;
}

.contact-method-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
    margin-right: 7px;
    color: #000000;
    font-size: 1.2rem;
}

.contact-method-title {
    font-size: 1.1rem;
    color: #000000;
    margin: 0;
}

.contact-text {
    margin-bottom: 4px;
    color: #333;
    display: flex;
    align-items: center;
}

.contact-link {
    color: #000000;
    text-decoration: underline;
    margin-right: 10px;
}

.contact-link:hover {
    text-decoration: none;
}

.contact-hours {
    font-size: 0.85rem;
    color: #666;
    margin-left: 7px;
    display: inline-block;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #BE0019;
    color: white;
    gap: 16px;
    padding: 18px 20px;
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    border-radius: 12px;
    min-height: 88px;
    border: 6px double white;
    box-sizing: border-box;
}

.textContainer {
    display: flex;
    flex: 1 1;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.closeButton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
}

.closeButton svg {
    font-size: 22px;
}

@media (max-width: 768px) {
    .banner {
        padding: 16px;
        min-height: 76px;
    }
}

.dashboard-page {
  margin-left: var(--ccf-sidebar-width);
  min-height: 100vh;
  padding: var(--ccf-page-padding);
  background-color: var(--ccf-page-bg);
  transition: margin-left 0.3s ease;
}

.sidebar.collapsed + .dashboard-page {
  margin-left: var(--ccf-sidebar-collapsed-width);
}

.dashboard-page-stack {
  display: flex;
  flex-direction: column;
  gap: var(--ccf-stack-gap);
  
  min-width: 0;
}

@media (max-width: 768px) {
  .dashboard-page {
    padding: var(--ccf-page-padding-mobile);
  }

  .dashboard-page-stack {
    gap: var(--ccf-stack-gap-mobile);
  }
}

/* Shared section chrome — used by every role's dashboard so headers, padding,
   icon sizing, and divider styling stay consistent when tabbing across pages. */

.dashboard-sections-content {
  background-color: var(--ccf-yellow);
  padding: 24px;
  border-radius: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-section {
  padding: 20px;
  background-color: var(--ccf-surface);
  border-radius: var(--ccf-radius);
  box-shadow: var(--ccf-shadow-sm);
}

.dashboard-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.dashboard-section-header-content {
  display: flex;
  align-items: center;
}

.dashboard-section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.dashboard-section-icon {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  object-fit: contain;
}

.dashboard-section-divider {
  border: 1.5px solid var(--ccf-red);
  border-radius: 2px;
  display: block;
  width: 50%;
  margin: 20px auto;
}

.expand-collapse-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #6e7f91;
}

.expand-collapse-btn:hover {
  color: #6e7f91;
}

@media (max-width: 900px) {
  .dashboard-sections-content {
    padding: 20px;
  }
}

/* Shared toolbar for search + filters + actions sitting above a table.
   Row 1: search input (with absolutely-positioned icon — input padding-left
   keeps the icon from overlapping the placeholder).
   Row 2: filter selects on the left, action buttons on the right.
   Used by AdminWhitelistReviewers, AdminPostGrantReports, AdminDashboardViewAll. */

.ccf-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ccf-toolbar-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ccf-toolbar-search {
  position: relative;
  flex: 1 1;
  min-width: 240px;
}

.ccf-toolbar-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-size: 14px;
}

.ccf-toolbar-search input {
  width: 100%;
  padding: 10px 12px 10px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background-color: var(--ccf-surface);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ccf-toolbar-search input:focus {
  outline: none;
  border-color: var(--ccf-red);
  box-shadow: 0 0 0 3px rgba(190, 0, 25, 0.12);
}

.ccf-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1 1;
  align-items: center;
}

.ccf-toolbar-filters select {
  padding: 9px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: var(--ccf-surface);
  font-size: 14px;
  cursor: pointer;
  min-width: 160px;
  box-sizing: border-box;
}

.ccf-toolbar-filters select:focus {
  outline: none;
  border-color: var(--ccf-red);
  box-shadow: 0 0 0 3px rgba(190, 0, 25, 0.12);
}

.ccf-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Shared table chrome — modeled on the Award Recommendations table so every
   table across the app renders the same way (white card, gray header, soft
   row separators, horizontal scroll with branded scrollbar). */

.ccf-table-container {
  background-color: var(--ccf-surface);
  border-radius: var(--ccf-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.ccf-table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-top: 8px;
}

.ccf-table-scroll::-webkit-scrollbar {
  height: 8px;
}

.ccf-table-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.ccf-table-scroll::-webkit-scrollbar-thumb {
  background: var(--ccf-red);
  border-radius: 4px;
}

.ccf-table-scroll::-webkit-scrollbar-thumb:hover {
  background: #9c0015;
}

.ccf-table {
  width: -webkit-max-content;
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

.ccf-table th,
.ccf-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
  vertical-align: middle;
}

.ccf-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: var(--ccf-text);
}

.ccf-table th:first-child,
.ccf-table td:first-child {
  padding-left: 20px;
}

.ccf-table th:last-child,
.ccf-table td:last-child {
  padding-right: 20px;
}

/* Alternating row tint + hover, matching the Award Recommendations table.
   Applied to td (not tr) so it wins over any tr-level background tokens. */
.ccf-table tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

.ccf-table tbody tr:nth-child(even) td {
  background-color: #fff8e1;
}

.ccf-table tbody tr:hover td {
  background-color: #fff3c4;
}

.sidebar {
  width: var(--ccf-sidebar-width);
  height: 100vh;
  background-color: var(--ccf-navy);
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 20px;
  transition: width 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar.collapsed {
  width: var(--ccf-sidebar-collapsed-width);
}

.sidebar-header {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0 15px;
}

.toggle-btn {
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.sidebar-item {
  padding: 10px 15px;
  margin: 10px;
  background-color: var(--ccf-surface);
  border-radius: var(--ccf-radius);
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--ccf-navy);
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.sidebar-item:hover {
  background-color: #e6e6e6;
}

.sidebar-item.active {
  background-color: #f8fafc;
  font-weight: bold;
}

.sidebar.collapsed .sidebar-menu .sidebar-item {
  text-align: center;
  padding: 10px;
}

.sidebar.collapsed .sidebar-item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar.collapsed .sidebar-item:hover {
  background-color: #e6e6e6;
}

.sidebar.collapsed + .dashboard-container {
  margin-left: var(--ccf-sidebar-collapsed-width);
}

.dashboard-container {
  margin-left: var(--ccf-sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

.dashboard-container.collapsed {
  margin-left: var(--ccf-sidebar-collapsed-width);
}

/* Transition Effect */
.sidebar, .dashboard-container {
  transition: all 0.3s ease;
}

.ccf-dashboard-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  min-height: 88px;
}

.ccf-dashboard-banner-logo {
  width: 84px;
  height: auto;
  flex-shrink: 0;
}

.ccf-dashboard-banner-title {
  margin: 0;
  color: var(--ccf-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.25rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
}

@media (max-width: 768px) {
  .ccf-dashboard-banner {
    gap: 14px;
    min-height: 72px;
  }

  .ccf-dashboard-banner-logo {
    width: 64px;
  }

  .ccf-dashboard-banner-title {
    font-size: clamp(1.9rem, 7vw, 2.35rem);
  }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modal-appear 0.3s ease-out;
  }

  .fullscreen {
    min-width: 90%;
  }
  
  @keyframes modal-appear {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eaeaea;
  }
  
  .modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  /* GrantAwards.css defines a global `.modal-header` with a CCF-red background,
     and CRA bundles every stylesheet together, so this header can render red.
     Inheriting the header's own text colour keeps the X readable on the red
     ground (white) and on a plain white one (ink) without guessing which wins. */
  .modal-close-button {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.15s ease;
  }
  
  /* A translucent grey reads as a subtle disc on either ground. */
  .modal-close-button:hover {
    background-color: rgba(128, 128, 128, 0.28);
  }
  
  .modal-close-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }
  
  .modal-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1 1;
  }
  
  /* For smaller screens */
  @media (max-width: 640px) {
    .modal-container {
      width: 95%;
      max-height: 95vh;
    }
  
    .modal-header {
      padding: 12px 16px;
    }
  
    .modal-content {
      padding: 16px;
    }
  }
  
.cover-page-modal-child {
  padding: 2rem;
  background-color: #fff;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.title {
  color: #BE0019;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

.subtitle {
  color: #475569;
  font-size: 1.25rem;
  margin: 0.75rem 0 0 0;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background-color: #003E83;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
  font-family: 'Inter', sans-serif;
}

.pdf-link:hover {
  background-color: #002d5f;
}

.pdf-link:active {
  background-color: #001f42;
}

.section-divider {
  height: 2px;
  background-color: #e2e8f0;
  margin: 3rem 0;
  border-radius: 1px;
}

/* Style the Review component content */
.review-section {
  margin-top: 2.5rem;
  padding: 0;
  width: 100%;
}

.review-section h3 {
  color: #003E83;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.review-section p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

/* Enhanced modal container styling */
.cover-page-modal-child {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.cover-page-modal-child::-webkit-scrollbar {
  width: 8px;
}

.cover-page-modal-child::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.cover-page-modal-child::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cover-page-modal-child::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Responsive design improvements */
@media (max-width: 1024px) {
  .cover-page-modal-child {
    padding: 1.5rem;
  }

  .header-row {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .title {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .cover-page-modal-child {
    padding: 1rem;
  }

  .header-row {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    gap: 1rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .pdf-link {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
}
.form-container {
    border: solid var(--color-red);
    border-width: 5px;
    width: min(1120px, 94%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    padding: 24px 32px 28px;
    border-radius: 10px;
    margin: 2% auto 1%;
    gap: 40px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.review-form-container {
    overflow-x: hidden;
    border: solid var(--color-red);
    border-width: 5px;
    width: min(1120px, 94%);
    display: flex;
    justify-content: center;
    padding: 24px 32px 28px;
    border-radius: 10px;
    margin: 2% auto 1%;
    gap: 40px;
    box-sizing: border-box;
}

.proposal-text {
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
    line-height: 1.5;
}

.upload-btn1 {
    background-color: var(--color-red);
    color: white;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 27px;
    border-radius: 20px;
    border: transparent;
    width: min(100%, 320px);
    height: 31px;
    font-size: 15px;
    text-align: left;
}

.text-label {
    margin-top: 20px;
    margin-bottom: 8px;
    line-height: 1.45;
}

.indent {
    margin-left: 40px;
}

.text-input {
    border-radius: 20px;
    padding: 14px 16px;
    width: 100%;
    max-width: 100%;
    background-color: #eeee;
    box-sizing: border-box;
}

.text-input2 {
    border-radius: 20px;
    padding: 14px 16px;
    width: 100%;
    max-width: 100%;
    height: 200px;
    background-color: #eeee;
    box-sizing: border-box;
}

.left-container {
    width: 100%;
    min-width: 0;
}

.right-container {
    width: 100%;
    min-width: 0;
}

.radio-opts {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 16px;
}

.radio-opt .radio-label {
    margin-left: 10px;
}

.cont-current-funds {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sub-radio-opts {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 45%;
    justify-content: space-around;
}

.sub-radio-opt label {
    margin-left: 10px;
}

.single-col-form-container {
    border: solid var(--color-red);
    border-width: 5px;
    width: min(1120px, 94%);
    overflow-x: hidden;
    padding: 40px 32px 30px;
    border-radius: 10px;
    margin: 2% auto 1%;
    box-sizing: border-box;
}

.list {
    list-style: decimal inside none;
    margin-left: 5px;
}

.list .single-list {
    display: flex;
}

.note {
    margin-left: 5px;
}

.list li {
    font-weight: bold;
    margin-bottom: 3px;
    margin-top: 3px;
}

.list .sublist {
    margin-left: 20px;
}

.upload-container {
    margin-top: 30px;
}

.upload-btn-container {
    display: flex;
    align-content: center;
    margin-top: 10px;
}

.upload-btn {
    background-color: var(--color-red);
    color: white;
    padding-left: 3%;
    padding-right: 10%;
    border-radius: 20px;
    border: transparent;
    font-size: smaller;
}

.del-icon:after {
    content: '×';
    font-size: 2rem;
    color: gray;
}

.del-icon-container {
    background-color: transparent;
    border: none;
    margin-left: 10px;
}

.error-message {
    color: var(--color-red);
    font-size: 0.8em;
    margin-top: 5px;
}

.text-input.invalid {
    border: 1px solid var(--color-red);
}

.full-width-section {
    width: 100%;
    margin-top: 24px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.signature-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
    margin-top: 8px;
}

.signature-field {
    flex: 1 1;
    min-width: 0;
}

.signature-row-bottom {
    margin-top: 0;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #eeee;
    border-radius: 20px;
    border: 2px solid grey;
}

.checkbox-row .text-label {
    margin: 0;
    font-size: 16px;
    color: #5b5b5b;
}

/* New styles for improved application details modal */
.detail-card {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.card-title {
    color: #003E83;
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #003E83;
    border-radius: 1px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 24px;
    gap: 24px;
    width: 100%;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label::before {
    content: '•';
    color: #BE0019;
    font-weight: bold;
    font-size: 1.2em;
}

.detail-value {
    font-size: 1.0625rem;
    color: #1f2937;
    line-height: 1.6;
    padding: 16px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-height: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    position: relative;
}

.detail-value:empty::before {
    content: "N/A";
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .detail-card {
        padding: 24px;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .detail-value {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* Enhanced modal styling */
.review-form-container {
    width: min(1120px, 94%);
    margin: 2% auto 1%;
    padding: 24px 32px 28px;
    max-width: none;
    overflow-x: hidden;
}

.proposal-text {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Loading state for detail values */
.detail-value.loading {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (min-width: 901px) {
    .left-container,
    .right-container {
        width: calc(50% - 20px);
    }
}

@media (max-width: 900px) {
    .form-container,
    .review-form-container,
    .single-col-form-container {
        padding: 18px 16px 22px;
        gap: 20px;
    }

    .signature-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.about-grant-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
.signature-block {
    width: 100%;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #e1e5e9;
}

.signature-block-heading {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.signature-block-help,
.signature-block-certification {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #5b5b5b;
    text-align: left;
}

.signature-block .checkbox-row {
    width: -webkit-fit-content;
    width: fit-content;
    min-width: min(320px, 100%);
}
}

/* Page frame, section chrome, and toolbar styling (.dashboard-sections-content,
   .dashboard-section, .ccf-toolbar, .ccf-toolbar-search, .ccf-toolbar-filters)
   come from RoleDashboardShell + DashboardLayout.css. Page-specific styles only
   below. */

.admin-database-page .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
}

.admin-database-page .header-content {
    display: flex;
    align-items: center;
}

.admin-database-page .header-content h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: #000;
}

.admin-database-page .applications-container h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.admin-database-page .applications-container {
    padding: 12px;
    border: 5px solid var(--ccf-red);
    border-radius: 8px;
    background-color: white;
    margin-bottom: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.admin-database-page .admin-database-year-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.admin-database-page .empty-state {
    padding: 24px;
    background-color: var(--ccf-surface);
    border-radius: var(--ccf-radius);
    text-align: center;
    color: var(--ccf-text-muted);
    font-size: 15px;
}

.admin-database-page .section-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    object-fit: contain;
}

.admin-database-page .year-section-icon {
    box-shadow: none;
    filter: none;
}

.admin-database-page .single-application-box {
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    box-sizing: border-box;
}

.admin-database-page .single-application-box:not(.expanded) {
    background-color: #003E83;
    color: white;
}

/* Expanded card: keep the blue summary on top (consistent with the collapsed
   state) and reveal a clean white details panel beneath, so the open card
   reads as "header + content" instead of a single washed-out blue block. */
.admin-database-page .single-application-box.expanded {
    background-color: #003E83;
    color: white;
    padding: 0;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.admin-database-page .single-application-box.expanded .application-summary-row {
    padding: 14px 18px;
    align-items: center;
    margin-bottom: 0;
}

.admin-database-page .single-application-box.expanded .application-title {
    color: white;
}

.admin-database-page .single-application-box.expanded .subtext {
    color: rgba(255, 255, 255, 0.85);
}

.admin-database-page .single-application-box.expanded .application-toggle-btn {
    color: white;
}

.admin-database-page .single-application-box.expanded .application-header {
    margin-top: 0;
}

.admin-database-page .application-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
/* Note: the expanded-state overrides for .application-summary-row live
   alongside the other .expanded rules above. */

.admin-database-page .application-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1 1;
    min-width: 0;
    margin-top: 0;
}

.admin-database-page .application-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-database-page .application-info .section-icon {
    margin: 0;
    flex-shrink: 0;
}

.admin-database-page .application-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.admin-database-page .application-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
}

.admin-database-page .single-application-box:not(.expanded) .application-toggle-btn {
    color: white;
}

.admin-database-page .single-application-box:not(.expanded) .application-title,
.admin-database-page .single-application-box:not(.expanded) .subtext {
    color: white;
}

.admin-database-page .application-title {
    font-weight: 600;
    margin: 0;
    font-size: 16px;
    color: #1E1E1E;
}

.admin-database-page .subtext {
    font-size: 14px;
    margin: 0;
    margin-top: 4px;
    color: #545454;
}

.admin-database-page .application-icon {
    margin-right: 10px;
    color: var(--ccf-blue);
    padding: 5px;
    border-radius: 4px;
}

/* Divider is no longer needed — the blue header / white details bg already
   reads as a clear separator. Kept declared (display: none) so any stray
   usage doesn't print an unwanted line. */
.admin-database-page .divider {
    display: none;
}

.admin-database-page .application-details {
    background-color: var(--ccf-surface);
    color: var(--ccf-text);
    padding: 20px 22px;
    border-radius: 0 0 8px 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.admin-database-page .admin-details-two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 18px 28px;
    gap: 18px 28px;
}

.admin-database-page .admin-details-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* Label sits on its own line in a small, muted label-style; value renders
   below in normal size — better scannability than label + value crammed
   inline with wrapping. */
.admin-database-page .admin-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
}

.admin-database-page .admin-detail-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ccf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.admin-database-page .admin-detail-value {
    color: var(--ccf-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Status pill inside the details grid. Color reflects the decision so it
   reads at a glance. */
.admin-database-page .admin-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    width: -webkit-fit-content;
    width: fit-content;
    background-color: #e5e7eb;
    color: #374151;
}

.admin-database-page .admin-status-accepted,
.admin-database-page .admin-status-approved {
    background-color: #dcfce7;
    color: #166534;
}

.admin-database-page .admin-status-rejected,
.admin-database-page .admin-status-denied {
    background-color: #fee2e2;
    color: #991b1b;
}

.admin-database-page .admin-status-pending,
.admin-database-page .admin-status- {
    background-color: #fef3c7;
    color: #92400e;
}

.admin-database-page .action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.admin-database-page .action-button {
    flex: 1 1 220px;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.admin-database-page .action-button:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.admin-database-page .action-button:active {
    transform: translateY(1px);
}

/* Primary action: opens the rich cover sheet modal. */
.admin-database-page .action-button.cover-sheet {
    background-color: var(--ccf-blue);
}

.admin-database-page .action-button.cover-sheet:hover {
    background-color: #002a5c;
}

/* Secondary action: opens the source PDF. Slightly different tone (outlined
   over white) so the two buttons read as distinct affordances. */
.admin-database-page .action-button.application-pdf {
    background-color: var(--ccf-surface);
    color: var(--ccf-blue);
    border: 1.5px solid var(--ccf-blue);
}

.admin-database-page .action-button.application-pdf:hover {
    background-color: rgba(0, 62, 131, 0.06);
}

.admin-database-page .button-icon-leading {
    font-size: 14px;
    flex-shrink: 0;
}

/* Exports every answer the applications hold, including questions added in
   the form builder after this page was written. */
.admin-export-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid #003E83;
    background-color: #fff;
    color: #003E83;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.admin-export-btn:hover {
    background-color: #003E83;
    color: #fff;
}

/* Single clean block — replaces the previous stack of three separate cards
   (status / funding / comments). All decision info reads top-to-bottom in
   one bordered card with key-value rows. */

.decision-box {
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--ccf-surface);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.decision-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.decision-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ccf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.decision-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.decision-pill--accepted {
    background-color: #dcfce7;
    color: #166534;
}

.decision-pill--rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

.decision-pill--pending {
    background-color: #fef3c7;
    color: #92400e;
}

.decision-divider {
    color: #d1d5db;
    font-size: 14px;
    margin: 0 2px;
}

.decision-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ccf-text);
    line-height: 1.2;
}

.decision-note {
    margin: 0;
    padding-left: 2px;
    font-size: 14px;
    color: #4b5563;
}

.decision-comments {
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.decision-comments p {
    margin: 0;
    padding: 8px 12px;
    background-color: #f9fafb;
    border-left: 3px solid var(--ccf-blue);
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.decision-results-button {
    align-self: flex-start;
    padding: 8px 18px;
    background-color: var(--ccf-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.decision-results-button:hover {
    background-color: #002a5c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.decision-results-button:active {
    transform: translateY(1px);
}

@media (max-width: 480px) {
    .decision-amount {
        font-size: 1.125rem;
    }

    .decision-box {
        padding: 14px 16px;
    }
}

.createAccMenu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 90vw;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 40px;
    font-family: 'Roboto', sans-serif;
}

.createAccMenu-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1;
    width: 50%;
    max-width: 500px;
    background-color: #fff;
    padding: 40px;
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.createAccMenu-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.createAccMenu-logoImage {
    max-width: 80px;
}

.createAccMenu-heading {
    color: #BE0019;
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.createAccMenu-form p {
    text-align: center;
    margin-bottom: 15px;
}

.createAccLink {
    width: 90%;
    text-decoration: none;
    display: block;
    justify-content: center;
    align-self: center;
}


.createAccMenu-form button {
    width: 100%;
    background-color: #BE0019;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 5px 0;
    font-size: 16px;
}

.backToLogin {
    color: #003E83;
    text-decoration: none;
    font-size: 14px;
    margin-top: 20px;
    display: block;
    align-self: center;
    text-align: center;
}

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

.imageContainer {
    position: relative;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        height: 400px;
        width: 50%;
        max-width: 600px;
    margin-bottom: 20px;
    padding-left: 0 !important;
        overflow: hidden;
  }

.createAcc-yellowOverlay {
    position: absolute;
        inset: 0;
    z-index: 1;
        pointer-events: none;
  }

.createAcc-yellow {
        position: absolute;
        inset: 0;
    width: 100%;
    height: 100%;
        object-fit: fill;
        display: block;
}

.createAcc-image {
    width: 100%;
        flex: 1 1;
        height: 50%;
        object-fit: cover;
        display: block;
    z-index: 0;
  }

@media (max-width: 750px) {
        .createAccMenu-container {
            min-height: auto;
            width: 100%;
            flex-direction: column;
            gap: 20px;
        }

        .createAccMenu-form {
            width: 95%;
            max-width: none;
            margin-right: 0;
            padding: 20px;
        }

        .imageContainer {
            display: none;
        }
    }

/* * , *::before, *::after {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-size: 1.15rem;
    box-sizing: border-box;
} */

.main-container-error {
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 5%;
    padding-bottom: 1%;
    display: flex;
    justify-content: center;

}



.big {
    color: #BE0019;
    font-size: 85px;
    text-align: center;
    font-weight: 700;
    margin-top: -30px;
}

.error-page-container {
    border: solid var(--color-red);
    border-width: 5px;
    width: 800px;
    height: 600px;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 75px;
    padding-right: 75px;
    border-radius: 10px;
    margin-top: 2%;
    margin-bottom: 1%;
    gap: 100px;
}



.logo-button {
    background-color: transparent;
    border: none;
}

.logo {
    max-width: 90px;
}


.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 3%;
    gap: 20px;
    width: 100%;
}

.page-not-found {
    color: #BE0019;
    font-size: 32px;
    text-align: center;
    margin-top: 2%;
    font-weight: 500;
    margin-top: -20px;
}

.error-message {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin-top: 2%;
    width: 350px;
    word-wrap: break-word;
}

.error-button {
    margin-top: 10%;
    width: 181px;
    height: 30px
}
.PostGrantReport-header {
    font-size: 2rem;
    color: #BE0019;
}

.PostGrantReport-sections-content {
    padding: 20px;
    border-radius: 8px;
}

.PostGrantReport-subsection {
    padding-bottom: 25px;
}

ul,
ol {
    padding-left: 50px;
}

li {
    font-size: 1.1rem;
    padding-bottom: 10px;
}

.header-title {
    font-size: 1.2rem;
    padding-bottom: 25px;
}

.attestation:after {
    content: "";
    display: "table";
    clear: "both";
}

.attestation-label {
    font-size: 1.2rem;
}

.upload-label:hover {
    background-color: #71000f;
}

#report-pdf {
    display: none;
}

.remove-upload {
    margin-left: 10px;
    border: none;
    color: #646464;
    background: none;
    max-width: -webkit-fit-content;
    max-width: fit-content;
}

.remove-upload:hover {
    color: #000000;
}

.overdue-warning {
    font-weight: bold;
    color: #d32f2f;
}

.loading-message {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.error-message {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #d32f2f;
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    margin: 20px;
}

/* (page frame and centering are provided by RoleDashboardShell / .dashboard-page now) */

.PostGrantReport-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.PostGrantReport-header {
    margin: 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

/* Application Info Section */
.application-info-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.application-info-section h2 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.application-info-section p {
    color: #666;
    margin: 5px 0;
    font-size: 14px;
}

/* Back Button */
.back-button {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.back-button:hover {
    background: #5a6268;
}

/* Enhanced Deadline Notice */
.deadline-notice {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #1976d2;
}

.deadline-notice.overdue {
    background: #ffebee;
    border-color: #f44336;
    color: #d32f2f;
}

.deadline-notice h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.deadline-notice p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.overdue-warning {
    font-weight: bold;
    color: #d32f2f;
    font-size: 18px;
}

/* Enhanced Form Styles */
.PostGrantReport-section-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.PostGrantReport-section-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.PostGrantReport-subsection {
    margin-bottom: 30px;
    width: 100%;
}

.PostGrantReport-subsection:last-child {
    margin-bottom: 0;
}

.header-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Enhanced Upload Section */
.report-upload:hover {
    border-color: #1976d2;
    background: #e3f2fd;
}

.report-upload form {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.report-upload input[type="file"] {
    display: none;
}

.upload-label {
    display: inline-block;
    padding: 15px 30px;
    background: #2196f3;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    min-width: 200px;
    text-align: center;
    margin: 0;
}

.upload-label:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.remove-upload {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.remove-upload:hover {
    background: #c82333;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Enhanced Form Inputs */
.attestation {
    margin-bottom: 20px;
    width: 100%;
}

.attestation-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.attestation-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.attestation-input:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* Enhanced Submit Section */
.PostGrantReport-submit {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
    width: 100%;
}

.cancel-button {
    width: auto;
    padding: 8px 18px;
    font-size: 14px;
}

.cancel-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.application-btn {
    padding: 12px 24px;
    background: #BE0019;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    min-width: 140px;
}

.application-btn:hover:not(:disabled) {
    background: #BE0019;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.application-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Container Layout */
.PostGrantReport-sections-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    .PostGrantReport-section-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .PostGrantReport-submit {
        flex-direction: column;
        gap: 10px;
    }

    .cancel-button,
    .application-btn {
        width: 100%;
        min-width: auto;
    }

    .upload-label {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* Submission Confirmation Styles */
.submission-confirmation {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirmation-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.confirmation-icon {
    color: #28a745;
    font-size: 32px;
}

.confirmation-header h2 {
    color: #28a745;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.submission-details {
    margin-bottom: 25px;
}

.submission-details h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 15px;
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.detail-item strong {
    color: #495057;
    font-size: 14px;
    font-weight: 600;
}

.detail-item span {
    color: #333;
    font-size: 16px;
    word-break: break-word;
}

.status-submitted {
    color: #28a745;
    font-weight: 600;
    text-transform: capitalize;
}

.submission-note {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 15px;
    color: #1976d2;
}

.submission-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Dashboard Submission Details Styles */
.submitted-report-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.report-details-popup {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    position: relative;
    margin-top: 10px;
}

.report-details-popup h4 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.report-details-popup p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
}

.report-details-popup strong {
    color: #495057;
    font-weight: 600;
}

/* Responsive Design for Submission Details */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .report-details-popup {
        max-width: 100%;
        margin-top: 15px;
    }

    .submitted-report-details {
        align-items: stretch;
    }
}

/* PDF Viewer Styles */
.pdf-viewer {
    margin-top: 5px;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid #2196f3;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.pdf-link:hover {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #1976d2;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.pdf-icon {
    font-size: 16px;
}

/* Dashboard PDF Link Styles */
.report-details-popup .pdf-link {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.report-details-popup .pdf-link:hover {
    color: #1976d2;
    text-decoration: underline;
}

/* PDF Loading State */
.pdf-loading {
    color: #666;
    font-style: italic;
    font-size: 14px;
}

.center-upload {
display: flex;
justify-content: center;
margin-top: 30px;
}

.PostGrantReport-section-box {
background: #f5f5f5;
border-radius: 12px;
padding: 30px;
border: 8px solid #e5c17c;
}

.PostGrantReport-section-title {
text-align: left;
font-size: 24px;
font-weight: 600;
}

.report-upload {
border: none;
background: transparent;
}

.upload-label {
background-color: #BE0019;
border-radius: 25px;
padding: 12px 30px;
font-size: 16px;
}

.attestation {
margin-top: 20px;
}

.PostGrantReport-subsection p {
    margin-bottom: 16px;   
    line-height: 1.6;      
}

.PostGrantReport-subsection ul {
    margin-top: 8px;       
    margin-bottom: 8px;   
}

.PostGrantReport-subsection li {
    margin-bottom: 8px;    
    line-height: 1.6;      
}
/* Section chrome (yellow shelf, white cards, headers, dividers, expand button)
   lives in DashboardLayout.css via the shared .dashboard-* classes.
   This file only styles reviewer-specific content. */

.ReviewerDashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ReviewerDashboard-applications-container {
    padding: 16px;
    border: 5px solid var(--ccf-red);
    border-radius: var(--ccf-radius);
    background-color: var(--ccf-surface);
}

.ReviewerDashboard-applications-container h3 {
    margin: 0 0 16px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
}

.loading-message,
.error-message,
.no-applications {
    padding: 20px 8px;
    color: var(--ccf-text);
}

.error-message {
    color: var(--ccf-red);
    font-weight: 600;
}

/* Archive controls (mirrors the applicant dashboard archive styling) */
.show-archived-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: -webkit-fit-content;
    width: fit-content;
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
}

.show-archived-toggle input[type="checkbox"] {
    cursor: pointer;
    accent-color: #003E83;
}

.archived-tag {
    color: #F0C567;
    font-weight: bold;
    font-size: 12px;
    margin-left: 8px;
}

.archive-btn {
    background: #5b6770;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.archive-btn:hover {
    background: #444d54;
}

.applications-container h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.applications-container {
    padding: 10px;
    border: 5px solid #BE0019;
    border-radius: 8px;
    background-color: white;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.application-btn {
    background-color: #003E83;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    width: 25%;
}

.application-btn:hover {
    background-color: #163256;
}

.header-title {
    display: flex;
    align-items: center;
}

.section-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    object-fit: contain;
}

.completed-applications,
.in-progress-applications {
    margin-bottom: 20px;
}

.red-line {
    border: 1.5px solid #BE0019;
    border-radius: 2px;
    display: block;
    width: 50%;
    margin: 10px auto;
}

.single-application-box {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 40px;
    border-radius: 8px;
    background-color: #003E83;
    margin-bottom: 20px;
    min-height: 50px;
}

.single-application-box p {
    color: white;
    margin: 0;
}

.application-info {
    display: flex;
    align-items: center;
    flex: 1 1;
    min-width: 0;
}

.application-text {
    min-width: 0;
}

.application-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.application-icon {
    background-color: #F0C567;
    margin-right: 10px;
    color: #003E83;
    padding: 6px;
    border-radius: 4px;
    font-size: 24px;
    flex-shrink: 0;
}

.due-date-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(217, 217, 217, 0.5);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    min-width: 235px;
    white-space: nowrap;
}

.due-date-button:hover {
    background-color: rgba(217, 217, 217, 0.7);
}

.due-date-button .arrow {
    margin-left: 10px;
}

.modal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F0C567;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    color: #003E83;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 135px;
    gap: 8px;
    white-space: nowrap;
}

.modal-button:hover {
    background-color: #e6b94d;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.application-status {
    display: flex;
    border: #D9D9D980;
    background-color: #D9D9D980;
    padding: 10px;
    width: 300px;
    height: 30px;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.application-status-icon {
    margin-left: 10px;
    color: white;
}

@media (max-width: 900px) {
    .single-application-box {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }

    .application-info,
    .application-actions {
        width: 100%;
    }

    .application-actions {
        flex-direction: column;
    }

    .due-date-button,
    .modal-button {
        width: 100%;
        min-width: 0;
    }
}

/* * , *::before, *::after {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    box-sizing: border-box;
} */
.application-form-main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 250px;
    padding-right: 250px;
    padding-top: 1%;
    padding-bottom: 1%;
    box-sizing: border-box;
}

.text-input2 {
    resize: none
}

.main-header {
    color: var(--color-red);
    font-size: 2rem;
    margin-bottom: 1%;
    width: min(1120px, 94%);
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.form-header {
    color: var(--color-red);
    font-size: 1.75rem;
    text-align: center;
    margin-top: 2%;
    width: min(1120px, 94%);
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1120px, 94%);
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 24px;
    gap: 12px;
}

.btn-right-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.app-form-btn {
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.app-form-btn-secondary {
    background-color: #fff;
    color: #333;
    border: 2px solid #ccc;
}

.app-form-btn-secondary:hover {
    background-color: #f5f5f5;
}

.app-form-btn-primary {
    background-color: #003E83;
    color: white;
    border: none;
}

.app-form-btn-primary:hover {
    background-color: #002a5e;
}

.app-form-btn-primary.disabled {
    background-color: #d3d3d3;
    color: #808080;
    cursor: not-allowed;
}
.breadcrumbs-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.breadcrumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: min(1120px, 94%);
    margin: 0 auto;
    isolation: isolate;
}

.breadcrumb-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1 1;
    overflow: visible;
}

.breadcrumbs::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    left: 10%;
    left: var(--breadcrumb-connector-inset, 10%);
    right: 10%;
    right: var(--breadcrumb-connector-inset, 10%);
    height: 4px;
    background-color: var(--color-blue);
    z-index: -1;
}

.breadcrumb-circle {
    background-color: var(--color-blue);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    border: solid transparent;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-circle-active {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    border: 8px solid var(--color-blue);
    background-color: var(--color-white);
    box-sizing: border-box;
    padding: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-container p {
    margin-top: 0.5rem;
    text-align: center;
}
.print-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid var(--color-red);
    border-radius: 20px;
    background-color: #ffffff;
    color: var(--color-red);
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
}

.print-button:hover {
    background-color: var(--color-red);
    color: #ffffff;
}

/*
 * Printing sends only the instructions to paper: everything is hidden, then the
 * marked section is made visible again and lifted to the top of the sheet.
 * `visibility` (rather than `display`) keeps the section's ancestors laid out,
 * so the content survives being nested inside dashboards and form shells.
 */
@media print {
    body * {
        visibility: hidden;
    }

    .printable-instructions,
    .printable-instructions * {
        visibility: visible;
    }

    .printable-instructions {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .no-print,
    .no-print * {
        display: none !important;
    }

    /* Keep long instruction lists from splitting mid-item. */
    .printable-instructions li,
    .printable-instructions h1,
    .printable-instructions h2,
    .printable-instructions h3 {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

.form-container {
    border: solid var(--color-red);
    border-width: 5px;
    width: min(1120px, 94%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    padding: 24px 32px 28px;
    border-radius: 10px;
    margin: 2% auto 1%;
    gap: 40px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.review-form-container {
    overflow-x: hidden;
    border: solid var(--color-red);
    border-width: 5px;
    width: min(1120px, 94%);
    display: flex;
    justify-content: center;
    padding: 24px 32px 28px;
    border-radius: 10px;
    margin: 2% auto 1%;
    gap: 40px;
    box-sizing: border-box;
}

.proposal-text {
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: left;
    width: 100%;
    line-height: 1.5;
}

.upload-btn1 {
    background-color: var(--color-red);
    color: white;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 27px;
    border-radius: 20px;
    border: transparent;
    width: min(100%, 320px);
    height: 31px;
    font-size: 15px;
    text-align: left;
}

.text-label {
    margin-top: 20px;
    margin-bottom: 8px;
    line-height: 1.45;
}

.indent {
    margin-left: 40px;
}

.text-input {
    border-radius: 20px;
    padding: 14px 16px;
    width: 100%;
    max-width: 100%;
    background-color: #eeee;
    box-sizing: border-box;
}

.text-input2 {
    border-radius: 20px;
    padding: 14px 16px;
    width: 100%;
    max-width: 100%;
    height: 200px;
    background-color: #eeee;
    box-sizing: border-box;
}

.left-container {
    width: 100%;
    min-width: 0;
}

.right-container {
    width: 100%;
    min-width: 0;
}

.radio-opts {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 16px;
}

.radio-opt .radio-label {
    margin-left: 10px;
}

.cont-current-funds {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sub-radio-opts {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 45%;
    justify-content: space-around;
}

.sub-radio-opt label {
    margin-left: 10px;
}

.single-col-form-container {
    border: solid var(--color-red);
    border-width: 5px;
    width: min(1120px, 94%);
    overflow-x: hidden;
    padding: 40px 32px 30px;
    border-radius: 10px;
    margin: 2% auto 1%;
    box-sizing: border-box;
}

.list {
    list-style: decimal inside none;
    margin-left: 5px;
}

.list .single-list {
    display: flex;
}

.note {
    margin-left: 5px;
}

.list li {
    font-weight: bold;
    margin-bottom: 3px;
    margin-top: 3px;
}

.list .sublist {
    margin-left: 20px;
}

.upload-container {
    margin-top: 30px;
}

.upload-btn-container {
    display: flex;
    align-content: center;
    margin-top: 10px;
}

.upload-btn {
    background-color: var(--color-red);
    color: white;
    padding-left: 3%;
    padding-right: 10%;
    border-radius: 20px;
    border: transparent;
    font-size: smaller;
}

.del-icon:after {
    content: '×';
    font-size: 2rem;
    color: gray;
}

.del-icon-container {
    background-color: transparent;
    border: none;
    margin-left: 10px;
}

.error-message {
    color: var(--color-red);
    font-size: 0.8em;
    margin-top: 5px;
}

.text-input.invalid {
    border: 1px solid var(--color-red);
}

.full-width-section {
    width: 100%;
    margin-top: 24px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.signature-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
    margin-top: 8px;
}

.signature-field {
    flex: 1 1;
    min-width: 0;
}

.signature-row-bottom {
    margin-top: 0;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #eeee;
    border-radius: 20px;
    border: 2px solid grey;
}

.checkbox-row .text-label {
    margin: 0;
    font-size: 16px;
    color: #5b5b5b;
}

/* New styles for improved application details modal */
.detail-card {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.card-title {
    color: #003E83;
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #003E83;
    border-radius: 1px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 24px;
    gap: 24px;
    width: 100%;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label::before {
    content: '•';
    color: #BE0019;
    font-weight: bold;
    font-size: 1.2em;
}

.detail-value {
    font-size: 1.0625rem;
    color: #1f2937;
    line-height: 1.6;
    padding: 16px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-height: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    position: relative;
}

.detail-value:empty::before {
    content: "N/A";
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .detail-card {
        padding: 24px;
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .card-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .detail-value {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

/* Enhanced modal styling */
.review-form-container {
    width: min(1120px, 94%);
    margin: 2% auto 1%;
    padding: 24px 32px 28px;
    max-width: none;
    overflow-x: hidden;
}

.proposal-text {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Loading state for detail values */
.detail-value.loading {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (min-width: 901px) {
    .left-container,
    .right-container {
        width: calc(50% - 20px);
    }
}

@media (max-width: 900px) {
    .form-container,
    .review-form-container,
    .single-col-form-container {
        padding: 18px 16px 22px;
        gap: 20px;
    }

    .signature-row {
        flex-direction: column;
        align-items: stretch;
    }
}

.about-grant-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
.signature-block {
    width: 100%;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #e1e5e9;
}

.signature-block-heading {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.signature-block-help,
.signature-block-certification {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #5b5b5b;
    text-align: left;
}

.signature-block .checkbox-row {
    width: -webkit-fit-content;
    width: fit-content;
    min-width: min(320px, 100%);
}
}

/* Field chrome for template-rendered questions. Inputs reuse the application
   form's own .text-input / .radio-opts classes so a dynamic page is
   indistinguishable from the hand-written ones it replaces. */

.dynamic-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
    min-width: 0;
}

.dynamic-field-half {
    flex: 1 1 260px;
}

.dynamic-field .text-label {
    margin-top: 12px;
}

.dynamic-field-help {
    margin: 0 0 6px;
    font-size: 14px;
    color: #5b5b5b;
    line-height: 1.4;
}

.dynamic-field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
}

.dynamic-field-checkbox label {
    line-height: 1.45;
    color: #333;
}

.dynamic-field-error {
    margin: 6px 0 0;
    color: #b02a37;
    font-size: 14px;
}

.dynamic-field-invalid {
    border-color: #b02a37 !important;
}

.AdminViewAll {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.AdminViewAll-sections-content {
    background-color: #F0C567;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Search bar / filter chrome is provided by the shared .ccf-toolbar classes
   (see DashboardLayout.css). Page-specific styles only below. */

/* Table chrome is provided by the shared .ccf-table-container / .ccf-table /
   .ccf-table-scroll classes (see DashboardLayout.css). Page-specific styles only. */

.AdminViewAll .accounts-header {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.AdminViewAll .send-email-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--ccf-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.AdminViewAll .send-email-button:hover:not(:disabled) {
    background-color: #002a5c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.AdminViewAll .send-email-button:active:not(:disabled) {
    transform: translateY(1px);
}

.AdminViewAll .send-email-button:disabled {
    background-color: #b0b6c1;
    cursor: not-allowed;
    box-shadow: none;
}

.AdminViewAll .send-email-button:focus-visible {
    outline: 2px solid var(--ccf-blue);
    outline-offset: 2px;
}

.AdminViewAll .send-email-button > svg {
    font-size: 14px;
    flex-shrink: 0;
}

.AdminViewAll .send-email-count {
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 600;
}

.AdminViewAll .accounts-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.AdminViewAll .ccf-table td input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.AdminViewAll .ccf-table td input[type="checkbox"]:focus-visible {
    outline: 2px solid #003E83;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 62, 131, 0.2);
}

@media (max-width: 900px) {
    .AdminViewAll .accounts-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .AdminViewAll .send-email-button {
        width: 100%;
        justify-content: center;
    }
}

/* === Columns dropdown === */
.ga-columns-wrap {
    position: relative;
}

.ga-action-btn::after {
    content: none;
}

.ga-columns-wrap > .ga-action-btn::after {
    content: "▼";
    font-size: 9px;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.ga-columns-wrap > .ga-action-btn.ga-columns-open::after {
    transform: rotate(180deg);
}

.ga-columns-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 16px;
    width: 240px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ga-columns-header {
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.ga-column-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
}

.ga-column-item:last-child {
    border-bottom: none;
}

.ga-column-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #003E83;
    cursor: pointer;
    flex-shrink: 0;
}

/* === Toolbar action buttons === */
.ga-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fff;
    color: #003E83;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1.5px solid #003E83;
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.ga-action-btn:hover:not(:disabled) {
    background-color: #e8f0fb;
}

.ga-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ga-action-btn-muted {
    color: #6b7280;
    border-color: #d1d5db;
}

.ga-action-btn-muted:hover:not(:disabled) {
    background-color: #f9fafb;
    color: #374151;
}

/* === Sortable column headers === */
.sortable {
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
}

.sort-icons {
    display: inline-flex;
    flex-direction: column;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1;
}

.sort-icon {
    font-size: 11px;
    color: #9ca3af;
    line-height: 0.8;
}

.sort-icon.active {
    color: #BE0019;
}

/* === Editable inputs inside table cells === */
.editable-input {
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.15s;
}

.editable-input:focus {
    outline: none;
    border-color: #003E83;
    box-shadow: 0 0 0 2px rgba(0, 62, 131, 0.15);
}

.score-input {
    width: 72px;
    text-align: right;
}

.currency-input {
    width: 110px;
    text-align: right;
}

/* === Acceptance toggle === */
.acceptance-toggle-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: opacity 0.15s ease;
    min-width: 80px;
    white-space: nowrap;
}

.acceptance-toggle-btn.accepted {
    background-color: #d1fae5;
    color: #065f46;
}

.acceptance-toggle-btn.rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

.acceptance-toggle-btn.pending {
    background-color: #e5e7eb;
    color: #4b5563;
}

.acceptance-toggle-btn:hover:not(:disabled) {
    opacity: 0.8;
}

/* === Comment button === */
.comment-btn {
    background: none;
    border: 1.5px solid #003E83;
    color: #003E83;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    padding: 5px 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}

.comment-btn:hover {
    background-color: #e8f0fb;
}

.comment-indicator {
    width: 7px;
    height: 7px;
    background-color: #BE0019;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    right: -3px;
}

/* === Save row button === */
.save-row-btn {
    background-color: #003E83;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.save-row-btn:hover:not(:disabled) {
    background-color: #002a5e;
}

.save-row-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* === Cell empty state === */
.cell-empty {
    color: #9ca3af;
    font-style: italic;
}

/* === Table footer === */
.table-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.save-progress-btn {
    padding: 10px 32px;
    background-color: #BE0019;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.15s;
}

.save-progress-btn:hover:not(:disabled) {
    background-color: #9c0015;
}

.save-progress-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* === Loading indicator === */
.loading-indicator {
    text-align: center;
    padding: 32px;
    font-style: italic;
    color: #6b7280;
}

/* === Spinning animation === */
.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* === Comment modal === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 560px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    padding: 14px 20px;
    background-color: #BE0019;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: white;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: background-color 0.15s;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

.comment-note {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 13px;
}

.comment-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.comment-textarea:focus {
    outline: none;
    border-color: #003E83;
    box-shadow: 0 0 0 2px rgba(0, 62, 131, 0.15);
}

.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cancel-button {
    background-color: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 7px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.15s;
}

.cancel-button:hover {
    background-color: #f9fafb;
}

.save-button {
    background-color: #BE0019;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s;
}

.save-button:hover {
    background-color: #9c0015;
}

/* Settings page chrome is provided by .dashboard-page + .dashboard-page-stack
   (see DashboardLayout.css) and the shared <Header /> component, so this file
   only styles the inner sections. */

/* Match the dashboard layout used everywhere else: yellow outer card with 24px
   padding wrapping plain white inner sections, so the breathing room between
   the yellow surround and the white card matches the rest of the app. */
.AccountSettings-sections-content {
  background-color: var(--ccf-yellow);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.AccountSettings-section {
  padding: 20px;
  border-radius: var(--ccf-radius);
  box-shadow: var(--ccf-shadow-sm);
  background-color: var(--ccf-surface);
  /* flex + gap so every child (header / fields / button) is spaced uniformly
     regardless of which optional rows (email, pwd-reqs, validation) are present. */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Reset the per-element margins so the parent's gap is the only thing creating
   vertical rhythm — otherwise Change Password (with the extra email row) ends up
   taller than Personal Information. */
.AccountSettings-section > .header-title {
  margin-bottom: 0;
}

.AccountSettings-section > .header-title h2 {
  margin: 0;
}

.AccountSettings-section .settings-email-row {
  margin: 0;
}

.AccountSettings-section .settings-field-grid {
  padding-bottom: 0;
}

.AccountSettings-section .button-message-container {
  margin-top: 0;
}

.AccountSettings-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.AccountSettings-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

/* Shared 2-column field layout used by every section on the Account Settings page
   so Personal Information and Change Password lay out identically. */
.settings-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px 20px;
  gap: 16px 20px;
  padding-bottom: 10px;
  width: 100%;
}

@media (max-width: 768px) {
  .settings-field-grid {
    grid-template-columns: 1fr;
  }
}

.settings-email-row {
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.settings-email-label {
  color: var(--ccf-text-muted);
  font-size: 0.95rem;
}

.settings-submit-btn {
  padding: 0.5rem 1.25rem;
  min-width: 200px;
  align-self: flex-start;
}

.personal-input-text {
  border-radius: 10px;
  padding: 7px;
  border: 2px solid #000000;
  width: 100%;
  min-width: 150px;
}

.account-input-text {
  width: 300px;
  padding: 10px;
  border: 2px solid #000000;
  border-radius: 15px;
  font-size: 1rem;
  box-shadow: none;
  outline: none;
  transition: border-color 0.3s;
}

.expand-collapse-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #6e7f91;
}

.expand-collapse-btn:hover {
  color: #6e7f91;
}


ul {
  padding-left: 20px;
}

.header-title {
  display: flex;
  align-items: center;
  color: #be0019;

  margin-bottom: 8px;
}

label {
  font-size: 17px;
  font-weight: 400;
  line-height: var(--HeadlineLargeLineHeight);
  letter-spacing: var(--HeadlineLargeTracking);
  text-align: left;
  text-underline-position: from-font;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  color: #5b5b5b;
}

.username-text {
  color: #000000;
  font-size: 1rem;
}

.current-username {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-icon {
  margin-right: 10px;
}

.red-line {
  border: 1.5px solid #be0019;
  border-radius: 2px;
  display: block;
  width: 50%;
  margin: 10px auto;
}

.pwd-reqs {
  width: 75%;
  margin-top: 10px;
  margin-left: 30px;
  color: #545454;
}

.pwd-reqs p {
  margin-bottom: 10px;
  font-size: smaller;
}

.pwd-reqs label.checkbox {
  display: block;
  margin-bottom: 10px;
}

.validation {
  color: var(--color-red);
  margin-top: 5px;
  font-size: 0.75em;
  margin-left: 30px;
}

.checkbox {
  margin-top: 10px;
  font-size: smaller;
}

.pwd-reqs input[type="checkbox"]:not(:checked):not(:disabled):before {
  content: "−";
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #545454;
  border-radius: 2px;
}

.pwd-reqs .checkbox input[type="checkbox"] {
  margin-left: 10px;
  vertical-align: middle;
  margin-right: 10px;
  accent-color: var(--color-blue);
  transform: scale(1.75);
  font-size: smaller;
}

.confirm-pwd-container {
  box-sizing: border-box;
  display: flex;
  border-radius: 15px;
  width: -webkit-fit-content;
  width: fit-content;
  border: none;

}

.confirm-pwd-container-exclaim {
  box-sizing: border-box;
  display: flex;
  border-radius: 15px;
  border: solid var(--color-red);
  width: -webkit-fit-content;
  width: fit-content;
}

.confirm-pwd-container .input {
  border: none;
  outline: none;
}

.confirm-pwd-container-exclaim {
  box-sizing: border-box;
  display: flex;
  border-radius: 15px;
  border: solid var(--color-red);
}

.confirm-pwd-container-exclaim .input {
  border: none;
  outline: none;
}

.confirm-pwd-container #exclaim,
.confirm-pwd-container-exclaim #exclaim {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 5px;
  color: var(--color-red);
  border: solid var(--color-red) 2px;
  border-radius: 50%;
  border-width: 3px;
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bolder;
}

.acc-req2 {
  margin-top: 20px;
  text-align: center;
}

#link-to {
  color: var(--color-blue);
}

.signup-btn2,
.signup-btn2:hover {
  background-color: var(--color-red);
  color: white;
  border-radius: 10px;
  border-style: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 500;
  cursor: pointer;
}

.disable-submit {
  background-color: #5b5b5b;
  color: white;
  border-radius: 10px;
  border-style: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 10px;
  font-weight: 500;
}

.success-message {
  color: #4CAF50;
  margin: 10px 0;
  padding: 10px;
  background-color: #e8f5e9;
  border-radius: 4px;
}

.error-message {
  color: #f44336;
  margin: 10px 0;
  padding: 10px;
  background-color: #ffebee;
  border-radius: 4px;
}

.button-message-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.inline-message {
  margin: 0;
}
/* Applicant results page.
   Uses the shared dashboard frame (RoleDashboardShell + .dashboard-sections-content),
   so this file only carries page-specific styles. Every class is `res-` prefixed —
   the previous version defined generic `.main-container` / `.form-container` /
   `.button` rules that leaked into other pages through the global CSS bundle. */

.res-results-page {
  min-width: 0;
}

.res-back-btn {
  align-self: flex-start;
  background-color: var(--ccf-surface);
  color: var(--ccf-text);
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: var(--ccf-font-family);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.res-back-btn:hover {
  background-color: #f5f5f5;
}

.res-card {
  background-color: var(--ccf-surface);
  border-radius: var(--ccf-radius);
  padding: 24px;
  box-shadow: var(--ccf-shadow-sm);
}

/* Application title + status pill */
.res-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.res-app-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.res-app-meta h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.res-app-meta p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ccf-text-muted);
}

.res-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.res-pill--accepted {
  background-color: #dcfce7;
  color: #166534;
}

.res-pill--rejected {
  background-color: #fee2e2;
  color: #991b1b;
}

.res-pill--pending {
  background-color: #fef3c7;
  color: #92400e;
}

/* Decision letter */
.res-letter-heading {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ccf-red);
}

.res-letter p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ccf-text);
}

.res-letter p:last-child {
  margin-bottom: 0;
}

.res-signoff {
  color: var(--ccf-text-muted);
}

/* Shared small uppercase caption, matching the decision box */
.res-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ccf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.res-funding {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  padding: 14px 18px;
  background-color: #f0fdf4;
  border-left: 4px solid #166534;
  border-radius: var(--ccf-radius-sm);
}

.res-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #166534;
  line-height: 1.2;
}

.res-comments {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.res-comments p {
  margin: 0;
  padding: 10px 14px;
  background-color: #f9fafb;
  border-left: 3px solid var(--ccf-blue);
  border-radius: var(--ccf-radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #374151;
  white-space: pre-wrap;
}

/* Reviewer feedback */
.res-section-title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.res-criterion {
  margin-bottom: 24px;
}

.res-criterion:last-child {
  margin-bottom: 0;
}

.res-criterion-label {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ccf-blue);
}

.res-reviewer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.res-reviewer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.res-feedback {
  margin: 0;
  padding: 12px;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex-grow: 1;
}

/* States */
.res-muted {
  margin: 0;
  color: var(--ccf-text-muted);
}

.res-empty {
  margin: 0;
  padding: 24px;
  text-align: center;
  font-style: italic;
  color: var(--ccf-text-muted);
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.res-error {
  margin: 0 0 16px;
  padding: 12px;
  font-weight: 600;
  color: #be123c;
  background-color: #fee2e2;
  border-radius: 6px;
}

.res-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--ccf-radius);
  font-family: var(--ccf-font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.res-btn-primary {
  background-color: var(--ccf-blue);
  color: #fff;
}

.res-btn-primary:hover {
  background-color: #002a5c;
}

@media (max-width: 700px) {
  .res-reviewer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .res-card {
    padding: 18px;
  }
}

.dashboard-container {
    padding: 25px;
    margin-left: 250px;
    background-color: #f5f5f5;
}

.edit-info-dashboard-header-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px !important;
}

.edit-info-logo {
    width: 100px;
    height: 100px;
    margin-right: 15px;
}

.edit-info-header {
    color: #c41230;
    font-size: 55px !important;
    margin: 0;
}

/* Yellow shelf matching .dashboard-sections-content on Account Management. */
.sections-container {
    display: flex;
    flex-direction: column;
    background-color: var(--ccf-yellow);
    padding: 24px;
    border-radius: 12px;
    gap: 20px;
}

/* Single white card inside the yellow shelf that wraps every sub-section
   (deadlines, stage toggle, FAQ, about). Children space themselves via flex
   gap so each red-bordered box lines up at the same left edge with no rogue
   per-element margins. */
.application-cycle-card {
    display: flex;
    flex-direction: column;
    background-color: var(--ccf-surface);
    padding: 20px;
    border-radius: var(--ccf-radius);
    gap: 20px;
    box-sizing: border-box;
}

/* All red-bordered inner panels use border-box so their padding + 4px border
   stay inside the stretched width — otherwise they overflow the white card
   and the visible yellow margin on the right looks different from the left. */
.application-cycle-card > * {
    box-sizing: border-box;
    width: 100%;
}

.deadlines-header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px !important;
}

.deadlines-header-text {
    font-size: 20px !important;
}

.deadline-interactives {
    display: flex;
    flex-direction: column;
    background-color: var(--ccf-surface);
    padding: 20px;
    border: 4px solid #c41230;
    border-radius: 8px;
    gap: 10px;
}

.deadline-interactives h2 {
    font-size: 20px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.deadline-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 10px !important;
    flex-wrap: 'nowrap';
}

.interactive-date-selector {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px !important;
    flex-wrap: 'nowrap';
}

.interactive-date-selector h2 {
    font-size: 20px !important;
    color: #003E83;
    white-space: nowrap;
    width: 260px;
    flex-shrink: 0;
}

.save-button {
    display: flex;
    justify-content: end;
}

.stage-toggle-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 4px solid #c41230;
    border-radius: 8px;
    gap: 10px;
}

.stage-toggle-instruction {
  font-size: 20px !important;
  color: #003E83;
  margin-top: 5px;
}

.stage-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.stage-buttons button {
  flex: 1 1;
  min-width: 200px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #003E83;
  color: #003E83;
  background-color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.stage-buttons button:hover {
  background-color: #003E83;
  color: white;
}

.stage-buttons .MuiButton-contained {
  background-color: #1976d2 !important;
  color: white !important;
  border: none;
}

.stage-buttons .MuiButton-contained:hover {
  background-color: #125ea7 !important;
}

.editable-info-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 4px solid #c41230;
    border-radius: 8px;
    gap: 10px;
}
/* Page frame, section chrome, and toolbar styling come from RoleDashboardShell +
   DashboardLayout.css. Page-specific styles mirror the admin dashboard so the
   two database pages look identical. */

.reviewer-database-page .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.reviewer-database-page .header-content {
    display: flex;
    align-items: center;
}

.reviewer-database-page .header-content h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: #000;
}

.reviewer-database-page .section-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    object-fit: contain;
}

.reviewer-database-page .applications-container {
    padding: 12px;
    border: 5px solid var(--ccf-red);
    border-radius: 8px;
    background-color: white;
    margin-bottom: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.reviewer-database-page .single-application-box {
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    box-sizing: border-box;
    background-color: var(--ccf-blue);
    color: white;
}

.reviewer-database-page .single-application-box.clickable {
    cursor: pointer;
}

.reviewer-database-page .single-application-box:hover {
    background-color: #002a5c;
}

.reviewer-database-page .application-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.reviewer-database-page .application-header {
    display: flex;
    align-items: center;
    flex: 1 1;
    min-width: 0;
    margin-top: 0;
}

.reviewer-database-page .application-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.reviewer-database-page .application-open-icon {
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.reviewer-database-page .application-info .section-icon {
    margin: 0;
    flex-shrink: 0;
}

.reviewer-database-page .application-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.reviewer-database-page .application-title {
    font-weight: 600;
    margin: 0;
    font-size: 16px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reviewer-database-page .subtext {
    font-size: 14px;
    margin: 0;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.85);
}

.reviewer-database-page .empty-state {
    padding: 24px;
    background-color: var(--ccf-surface);
    border-radius: var(--ccf-radius);
    text-align: center;
    color: var(--ccf-text-muted);
    font-size: 15px;
}

.score {
    display: flex;
    flex-direction: row;
  }
  
  .view-app-link {
    color: #003e83;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    text-decoration: underline;
    cursor: pointer;
  }
  
  .score-section {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
  }
  
  .score-label {
    font-weight: bold;
    color: #d72626;
    margin-bottom: 5px;
  }
  
  .score-label span {
    font-weight: normal;
    color: black;
  }
  
  .score-dropdown {
    padding: 5px;
    font-size: 14px;
    font-family: var(--ccf-font-family);
    width: 200px;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #d9d9d980;
  }
  
  .feedback-heading {
    color: #d72626;
    font-weight: bold;
    margin: 20px 0 10px;
  }
  
  .feedback-section {
    margin-bottom: 20px;
  }
  
  .feedback-section label {
    display: block;
    margin-bottom: 5px;
    color: black;
  }
  
  .feedback-section label strong {
    font-weight: 900;
  }
  
  .feedback-section textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 90px;
    padding: 8px;
    font-size: 14px;
    font-family: var(--ccf-font-family);
    border: 1px solid #ccc;
    resize: vertical;
    border-radius: 8px;
    background-color: #d9d9d980;
  }
  
  .internal-section {
    margin-top: 25px;
    padding-top: 10px;
    border-top: 2px solid #ccc;
  }
  
  .internal-label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #d72626;
  }
  
  .internal-warning {
    color: #d72626;
    font-weight: 900;
    margin-bottom: 5px;
    display: block;
  }
  
  .internal-warning strong {
    font-weight: 900;
  }
  
  .internal-section textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 80px;
    padding: 8px;
    font-size: 14px;
    font-family: var(--ccf-font-family);
    border: 1px solid #ccc;
    resize: vertical;
    border-radius: 8px;
    background-color: #d9d9d980;
  }
  
  /* Reviewer action bar (Save Progress / Submit) */
  .review-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
  }

  .feedback-optional {
    color: #5b5b5b;
    font-style: italic;
  }

  .review-submit-hint {
    color: #5b5b5b;
    font-size: 0.95rem;
    background-color: #f4f4f4;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 10px 14px;
  }

  .review-locked-note {
    color: #b02a37;
    font-weight: 700;
    font-size: 0.95rem;
    background-color: #fdecee;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 10px 14px;
  }

  .review-actions-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Consistent sizing for both action buttons (overrides .custom-button base) */
  .review-actions .custom-button {
    height: 44px;
    min-width: 150px;
    padding: 0 22px;
    font-size: 16px;
    gap: 8px;
  }

  /* Primary action: Submit */
  .review-actions .custom-button.review-submit {
    background-color: #003e83;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 62, 131, 0.25);
  }
  .review-actions .custom-button.review-submit:hover:not(:disabled) {
    background-color: #002d5f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 62, 131, 0.3);
  }
  .review-actions .custom-button.review-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 62, 131, 0.25);
  }

  /* Secondary action: Save Progress (outlined) */
  .review-actions .custom-button.review-save {
    background-color: #fff;
    color: #003e83;
    border: 1.5px solid #003e83;
  }
  .review-actions .custom-button.review-save:hover:not(:disabled) {
    background-color: #e8f0fb;
  }
  /* Transient feedback after a save attempt */
  .review-actions .custom-button.review-save.is-saved {
    color: #0f7b3f;
    border-color: #0f7b3f;
    background-color: #e9f7ef;
  }
  .review-actions .custom-button.review-save.is-error {
    color: #be123c;
    border-color: #be123c;
    background-color: #fdecee;
  }

  @media (max-width: 480px) {
    .review-actions-buttons {
      flex-direction: column;
      align-items: stretch;
    }
    .review-actions .custom-button {
      width: 100%;
    }
  }

  .save-button,
  .submit-button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background-color: #d72626;
    color: white;
  }
  
  /* Legacy dashboard-container / dashboard-sidebar / dashboard-* frame styles
     have been removed. The shell + DashboardLayout.css now provide page chrome.
     Only page-specific styles remain below. */
  
  /* Mirrors the .ccf-table-container card style on Account Management — 20px
     padding, sits directly inside the page-stack without extra outer margin. */
  .applications-container {
    background-color: white;
    border: 2px solid #d72626;
    border-radius: 8px;
    padding: 20px;
  }
  
  .buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
  }
  
  .application-btn {
    background-color: #003e83;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    width: 25%;
  }
  
  .application-btn:hover {
    background-color: #163256;
  }
  
  .header-title {
    display: flex;
    align-items: center;
  }
  
  .section-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    object-fit: contain;
  }
  
  .application-info {
    display: flex;
    align-items: center;
  }
  
  .application-info-text {
    display: flex;
    flex-direction: column;
  }
  
  .subtext {
    font-size: 14px;
  }
  
  .application-icon {
    background-color: #f0c567;
    margin-right: 10px;
    color: #003e83;
    padding: 5px;
    border-radius: 4px;
  }
  
  .application-status {
    display: flex;
    border: #d9d9d980;
    background-color: #d9d9d980;
    padding: 10px;
    width: 300px;
    height: 30px;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    align-items: center;
  }
  
  .application-status-icon {
    margin-left: 10px;
    color: white;
  }
  
  .red-text {
    color: #d72626;
    font-weight: bold;
    display: block;
    margin-top: 5px;
  }
  
  textarea::placeholder {
    color: #666666;
  }
  
  .feedback-text {
    background-color: #d9d9d980;
    padding: 8px;
    border-radius: 8px;
    min-height: 90px;
    margin-left: 20px;
    margin-top: 5px;
    white-space: pre-wrap;
  }
  
  .score-display {
    background-color: #d9d9d980;
    padding: 5px;
    border-radius: 8px;
    width: 200px;
    margin-left: 20px;
    text-align: center;
    color: #666666;
  }
  
  .edit-button:hover {
    opacity: 0.9;
  }

/* Add these styles to your ApplicationReview.css file */

.reviewer-toggle {
  display: flex;
  gap: 10px;
  margin: 10px 0 20px 0;
  width: 100%;
}

.reviewer-toggle-btn {
  flex: 1 1;
  padding: 10px 15px;
  background-color: #fff;
  color: #003E83;
  border: 1.5px solid #003E83;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.reviewer-toggle-btn:hover:not(:disabled) {
  background-color: #e8f0fb;
}

.reviewer-toggle-btn.active {
  background-color: #003E83;
  color: white;
  border-color: #003E83;
}

.reviewer-toggle-btn:disabled {
  background-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
}

.reviewer-name {
  font-size: 0.8em;
  font-weight: normal;
  margin-top: 5px;
}

.review-status-indicator {
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
}

.review-status-indicator.completed {
  background-color: #d1fae5;
  color: #065f46;
}

.review-status-indicator.in-progress {
  background-color: #dbeafe;
  color: #1e40af;
}

.review-status-indicator.not-started {
  background-color: #e5e7eb;
  color: #4b5563;
}

.feedback-text {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #f9fafb;
  min-height: 80px;
  white-space: pre-wrap;
}

.feedback-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.internal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-button {
  background-color: #4b5563;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #374151;
}

.final-score {
  font-size: 1.2em;
  font-weight: 700;
  color: #1e40af;
  margin-top: 10px;
  border-top: 1px solid #e5e7eb;
  padding: 10px;
  margin: 5px

}

.score-display {
  font-size: 1.5em;
  font-weight: bold;
  color: #1e40af;
  background-color: #dbeafe;
  padding: 10px 20px;
  border-radius: 6px;
  text-align: center;
  min-width: 100px;
}

.red-text {
  color: #d72626;
  font-weight: 900;
  display: block;
  margin-top: 5px;
}

.error-message {
  color: #be123c;
  background-color: #fee2e2;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
}

/* === Read-only review page layout === */
.arr-review-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.arr-back-btn {
  background-color: #fff;
  color: #333;
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.arr-back-btn:hover {
  background-color: #f5f5f5;
}

.arr-review-card {
  background-color: var(--ccf-surface);
  border-radius: var(--ccf-radius);
  padding: 24px;
  box-shadow: var(--ccf-shadow-sm);
}

.arr-app-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.arr-app-meta h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.arr-app-meta p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6b7280;
}

.arr-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  color: #003E83;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid #003E83;
  border-radius: 6px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  margin-bottom: 20px;
}

.arr-view-btn:hover {
  background-color: #e8f0fb;
}

.arr-feedback-text {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #f9fafb;
  min-height: 80px;
  white-space: pre-wrap;
  margin-top: 6px;
}

.arr-no-review {
  padding: 24px;
  text-align: center;
  color: #6b7280;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-style: italic;
}
/* === Page stack === */
.ar-assign-reviewers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* === Yellow shelf (matches .dashboard-sections-content) === */
.ar-page-content {
  background-color: var(--ccf-yellow);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* === White section cards (matches .dashboard-section) === */
.ar-applications-section {
  background-color: var(--ccf-surface);
  border-radius: var(--ccf-radius);
  padding: 20px;
  box-shadow: var(--ccf-shadow-sm);
}

.ar-applications-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
}

/* === Red-bordered application list (matches .applications-container) === */
.ar-applications-border-container {
  border: 5px solid var(--ccf-red);
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
}

.ar-applications-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* === Application card === */
.ar-application-card {
  border-radius: 8px;
  overflow: hidden;
}

.ar-application-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #003E83;
  cursor: pointer;
  min-height: 56px;
  transition: background-color 0.15s ease;
}

.ar-application-header:hover {
  background-color: #002a5e;
}

.ar-application-icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ar-application-icon {
  font-size: 22px;
  background-color: #F0C567;
  padding: 6px;
  border-radius: 4px;
  color: #003E83;
  flex-shrink: 0;
}

.ar-application-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ar-application-info h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ar-applicant-type {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-transform: capitalize;
}

.ar-expand-icon {
  color: white;
  font-size: 16px;
  flex-shrink: 0;
  margin-left: 12px;
}

/* === Expanded details area === */
.ar-application-details {
  background-color: white;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.ar-application-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0 0 16px;
}

/* === Reviewer fields === */
.ar-reviewer-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.ar-reviewer-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ar-reviewer-field label {
  width: 160px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  flex-shrink: 0;
}

.ar-reviewer-input-container {
  flex: 1 1;
}

.ar-add-reviewer {
  background-color: #fff;
  color: #003E83;
  border: 1.5px solid #003E83;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ar-add-reviewer:hover {
  background-color: #e8f0fb;
}

.ar-reviewer-assigned {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1;
  flex-wrap: wrap;
}

.ar-reviewer {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111827;
}

.ar-remove-reviewer {
  background: transparent;
  border: 1px solid #d32f2f;
  color: #d32f2f;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
  padding: 0;
  margin-left: auto;
}

.ar-remove-reviewer:hover {
  background-color: #ffebee;
}

/* === Status badges === */
.ar-status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.ar-status-badge.not-started {
  background-color: #e5e7eb;
  color: #4b5563;
}

.ar-status-badge.in-progress {
  background-color: #dbeafe;
  color: #1e40af;
}

.ar-status-badge.completed {
  background-color: #d1fae5;
  color: #065f46;
}

/* === Action buttons row === */
.ar-action-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.ar-view-reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  color: #003E83;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1.5px solid #003E83;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ar-view-reviews-btn:hover {
  background-color: #e8f0fb;
}

.ar-refresh-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.8125rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  margin-left: auto;
}

.ar-refresh-status-btn:hover {
  background-color: #f9fafb;
}

.ar-refresh-status-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ar-assigned-status {
  font-size: 0.875rem;
  color: #065f46;
  background-color: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
}

.ar-pending-reassignment-status {
  font-size: 0.875rem;
  color: #856404;
  background-color: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
}

.ar-average-score {
  font-size: 0.875rem;
  color: #1e40af;
  background-color: #dbeafe;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
}

/* === Loading / empty states === */
.ar-loading,
.ar-no-applications {
  padding: 24px;
  text-align: center;
  color: #6b7280;
  font-style: italic;
}

/* === Error banner === */
.ar-error-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
}

.ar-error-message p {
  margin: 0;
}

.ar-error-message button {
  background: none;
  border: none;
  color: #991b1b;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

/* === Modal === */
.ar-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.ar-modal-content {
  background-color: white;
  border-radius: 8px;
  width: 600px;
  max-width: 90%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ar-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--ccf-red);
  color: white;
}

.ar-modal-header h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.ar-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
}

.ar-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ar-modal-search {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.ar-search-input-container {
  position: relative;
}

.ar-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.ar-search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9375rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease;
}

.ar-search-input:focus {
  border-color: #003E83;
}

.ar-reviewers-list {
  overflow-y: auto;
  flex: 1 1;
  padding: 8px;
}

.ar-reviewer-item {
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.ar-reviewer-item:hover {
  background-color: #f0f4ff;
}

.ar-reviewer-item:last-child {
  border-bottom: none;
}

.ar-reviewer-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.ar-reviewer-title {
  font-weight: 400;
  color: #6b7280;
}

.ar-reviewer-details {
  display: flex;
  gap: 16px;
  font-size: 0.8125rem;
  color: #6b7280;
}

.ar-no-reviewers {
  padding: 32px;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
}

/* === Confirm button full-width wrapper === */
.ar-confirm-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.dashboard-container {
    padding: 20px;
    margin-left: 250px;
    background-color: #f5f5f5;
}

.ApplicantDashboard-header-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.ApplicantDashboard-logo {
    width: 100px;
    height: 100px;
    margin-right: 15px;
}

.ApplicantDashboard-header {
    color: #c41230;
    font-size: 60px;
    margin: 0;
}

/* Search bar / filter chrome is provided by the shared .ccf-toolbar classes
   (see DashboardLayout.css). Page-specific styles only below. */

.add-button {
    background-color: #003E83;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s;
}

.add-button:hover {
    background-color: #002a5c;
}

/* Table chrome is provided by the shared .ccf-table-container / .ccf-table /
   .ccf-table-scroll classes (see DashboardLayout.css). Page-specific styles only. */

.whitelist-header {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whitelist-header h2 {
    margin: 0;
    color: #c41230;
    font-size: 24px;
}

.whitelist-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.whitelist-stats .stat {
    padding: 6px 12px;
    background-color: #e9ecef;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}


.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delete-button:hover {
    background-color: #c82333;
}

.loading {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.no-entries {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 16px;
    font-style: italic;
}

/* Add Form Styles */
.add-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.add-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.add-form h3 {
    margin: 0 0 20px 0;
    color: #c41230;
    font-size: 24px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #003E83;
    box-shadow: 0 0 0 2px rgba(0, 62, 131, 0.1);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.submit-button {
    background-color: #003E83;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #002a5c;
}

.cancel-button {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.cancel-button:hover {
    background-color: #5a6268;
}

/* Status Badge Styles */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.registered {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #faeeba;
}

/* Row styling based on account status — scoped to .ccf-table so it rides on
   the shared chrome instead of a per-page table class. The td override is needed
   because shared rules set cell padding/borders, and tr background can be hidden
   by td backgrounds in some browsers. */
.ccf-table tr.has-account td {
    background-color: #f8f9fa;
}

.ccf-table tr.no-account td {
    background-color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        margin-left: 0;
        padding: 10px;
    }

    .ApplicantDashboard-header {
        font-size: 40px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}
/* Page frame is provided by RoleDashboardShell + .dashboard-page-stack.
   Use this class only as a scoping hook for page-specific overrides. */

.ApplicantDashboard-header-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.dashboard-content-wrapper {
    flex-grow: 1;
    background-color: #f3f4f6;
    padding: 2rem;
    font-family: Arial, Helvetica, sans-serif;
}

.ApplicantDashboard-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.ApplicantDashboard-header {
    font-size: 45px;
    color: #BE0019;
    font-family: Arial, Helvetica, sans-serif;
}

/* Search bar / filter chrome is provided by the shared .ccf-toolbar classes
   (see DashboardLayout.css). Page-specific styles only below. */

/* Table chrome is provided by the shared .ccf-table-container / .ccf-table /
   .ccf-table-scroll classes (see DashboardLayout.css). Page-specific styles only. */

.pgr-title-cell {
    max-width: 280px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
}

.application-id-cell {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    min-width: 120px;
    white-space: nowrap;
}

.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.action-btn {
    background-color: #003E83;
    color: white;
    border: none;
    border-radius: 20px;
    width: 40px;
    height: 40px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover {
    background-color: #163256;
}

.view-btn {
    color: #007bff;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-color: rgba(0, 123, 255, 0.2);
}

.view-btn:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.4);
}

.download-btn {
    color: #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-color: rgba(40, 167, 69, 0.2);
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
    border-color: rgba(40, 167, 69, 0.4);
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 20px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ApplicantDashboard-header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .ApplicantDashboard-header {
        font-size: 1.5rem;
    }

    .summary-stats {
        grid-template-columns: 1fr;
    }
}
.grant-instructions-page {
    width: min(900px, 92%);
    margin: 0 auto;
    padding: 24px 0 60px;
    text-align: left;
}

.grant-instructions-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e1e5e9;
}

.grant-instructions-logo {
    height: 60px;
    width: auto;
}

.grant-instructions-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.grant-instructions-login {
    color: var(--color-red);
    font-size: 15px;
}

.grant-instructions-content {
    margin-top: 28px;
    line-height: 1.55;
}

.grant-instructions-title {
    font-size: 28px;
    margin: 0 0 12px;
}

.grant-instructions-intro {
    color: #5b5b5b;
    margin: 0 0 20px;
}

.grant-instructions-list {
    padding-left: 20px;
}

.grant-instructions-list li {
    margin-bottom: 10px;
}

.grant-instructions-list a,
.grant-instructions-footer a {
    color: var(--color-red);
}

.grant-instructions-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 2px solid #e1e5e9;
    color: #5b5b5b;
}

/* The form builder, wearing the same clothes as Application Cycle: a yellow
   shelf, a white card inside it, and red-bordered panels for each section. */

.fb-shelf {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--ccf-yellow);
    padding: 24px;
    border-radius: 12px;
    gap: 20px;
}

.fb-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--ccf-surface);
    padding: 20px;
    border-radius: var(--ccf-radius);
    gap: 20px;
    box-sizing: border-box;
}

.fb-card > * {
    box-sizing: border-box;
    width: 100%;
}

/* Red-bordered inner panel, matching .deadline-interactives. */
.fb-panel {
    display: flex;
    flex-direction: column;
    background-color: var(--ccf-surface);
    padding: 20px;
    border: 4px solid #c41230;
    border-radius: 8px;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    overflow-wrap: anywhere;
}

.fb-panel-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
}

.fb-panel-header h2,
.fb-panel-header h3 {
    font-size: 20px;
    margin: 0;
}

.fb-intro,
.fb-hint {
    color: #5b5b5b;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    max-width: 85ch;
}

.fb-hint { font-size: 14px; }

.fb-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.fb-form-name { margin: 0 0 4px; font-size: 20px; }

.fb-toolbar-actions,
.fb-template-actions,
.fb-publish-actions,
.fb-preview-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.fb-full { width: 100%; }

/* Small square controls for reorder/remove, sized to sit in a list row. */
.fb-mini {
    border: 1px solid #c9c9c9;
    background: #fff;
    border-radius: 6px;
    width: 28px;
    height: 26px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}

.fb-mini:disabled { opacity: 0.35; cursor: not-allowed; }
.fb-mini-danger { color: #c41230; border-color: #e8b9c0; }

/* ---- three columns ---- */

/* Grid items stretch to the row by default, which is what makes the three
   panels line up. `align-items: start` + `height: 100%` did the same thing far
   less reliably — the percentage resolves against a row whose height depends on
   the item, and the panel escaped the bottom of the white card.
   The minimums are small enough that three columns fit a laptop; below that the
   grid drops to one column rather than overflowing sideways. */
.fb-columns {
    display: grid;
    grid-template-columns: minmax(170px, 0.9fr) minmax(240px, 1.2fr) minmax(260px, 1.2fr);
    grid-gap: 20px;
    gap: 20px;
}

/* Grid and flex children default to min-height/min-width auto, so a tall or
   wide child pushes past its parent instead of being contained. */
.fb-columns > * {
    min-width: 0;
    min-height: 0;
}

/* ---- lists ---- */

.fb-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 4px; }

.fb-list-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f4f4f4;
    font-family: inherit;
    font-family: var(--ccf-font-family, inherit);
    font-size: 14px;
    cursor: pointer;
    color: #1f2937;
}

.fb-list-item:hover:not(:disabled) { background: #ebebeb; }

.fb-list-item.is-selected {
    border-color: #c41230;
    background: #fdeff1;
    font-weight: 600;
}

.fb-list-item:disabled { opacity: 0.6; cursor: default; }

.fb-field-label { min-width: 0; overflow-wrap: anywhere; }
.fb-req { color: #c41230; }
.fb-count { color: #6b7280; font-size: 12px; white-space: nowrap; }

.fb-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

.fb-tag {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #c9cfd8;
    color: #5b6472;
    white-space: nowrap;
    background: #fff;
}

.fb-tag-locked { border-color: #b8862b; color: #8a6417; }
.fb-tag-cond { border-color: #003E83; color: #003E83; }
.fb-tag-live { border-color: #1f7a4d; color: #1f7a4d; font-weight: 700; }

.fb-row-actions { display: flex; gap: 6px; padding: 6px 4px 2px; }

/* ---- inputs ---- */

.fb-label {
    display: block;
    margin: 12px 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.fb-input {
    width: 100%;
    padding: 9px 12px;
    border: 2px solid #79747E;
    border-radius: 15px;
    font-family: inherit;
    font-family: var(--ccf-font-family, inherit);
    font-size: 14px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.fb-input:focus { outline: none; border-color: #c41230; }

.fb-textarea { min-height: 70px; resize: vertical; border-radius: 12px; }
.fb-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.fb-check-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }
.fb-two-up { display: flex; gap: 12px; }
.fb-two-up > * { flex: 1 1; }

.fb-condition-row { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-condition-row .fb-input { flex: 1 1 130px; }

.fb-add-field { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.fb-add-field .fb-input { flex: 1 1 150px; }

/* ---- notices ---- */

.fb-locked-note,
.fb-callout {
    background: #fdf6e6;
    border: 1px solid #e6cf94;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #6b5314;
    line-height: 1.45;
}

.fb-callout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fb-callout p { margin: 0; }

.fb-problems {
    background: #fdeff1;
    border: 2px solid #c41230;
    border-radius: 8px;
    padding: 12px 16px;
    color: #8a1b26;
    font-size: 14px;
}

.fb-problems ul { margin: 6px 0 0; padding-left: 18px; }

.fb-test-ok { color: #1f7a4d; font-size: 14px; margin: 6px 0 0; }
.fb-test-bad { color: #c41230; font-size: 14px; margin: 6px 0 0; }

.fb-props-title,
.fb-props-subtitle {
    margin: 0;
    font-size: 20px;
}

.fb-props-subtitle { margin: 22px 0 4px; font-size: 16px; }
.fb-props-footer { margin-top: 22px; border-top: 1px solid #eceff3; padding-top: 14px; }

/* ---- template list ---- */

.fb-template-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }

.fb-template-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.fb-template-main { flex: 1 1 240px; min-width: 0; }
.fb-template-main h3 { margin: 0 0 4px; font-size: 18px; }

/* ---- preview ---- */

.fb-preview { display: flex; flex-direction: column; gap: 16px; }

.fb-preview-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: #444;
}

.fb-preview-summary { margin: 0; font-size: 14px; color: #5b5b5b; }
.fb-preview-page { display: flex; flex-direction: column; gap: 4px; }
.fb-preview-page h3 { margin: 0; font-size: 20px; }
.fb-preview-description { color: #5b5b5b; font-size: 14px; margin: 0 0 8px; }
.fb-preview-fields { display: flex; flex-wrap: wrap; gap: 0 20px; }
.fb-preview-fields > .dynamic-field-full { flex: 1 1 100%; }

.fb-preview-placeholder {
    flex: 1 1 100%;
    border: 2px dashed #c9cfd8;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 10px 0;
    font-size: 14px;
    color: #444;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fb-preview-placeholder span { color: #6b7280; font-size: 13px; }

.fb-publish { display: flex; flex-direction: column; gap: 6px; }
.fb-publish p { margin: 0 0 8px; line-height: 1.5; }
.fb-publish-actions { justify-content: flex-end; margin-top: 16px; }

/* ---- switching between the draft and a published version ---- */

.fb-view-switch {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    overflow: hidden;
}

.fb-view-switch button {
    border: 0;
    background: #f4f4f4;
    color: #444;
    font: inherit;
    font-size: 14px;
    padding: 7px 14px;
    cursor: pointer;
}

.fb-view-switch button + button { border-left: 1px solid #c9c9c9; }
.fb-view-switch button:hover { background: #ebebeb; }

.fb-view-switch button.is-selected {
    background: #c41230;
    color: #fff;
    font-weight: 700;
}

.fb-inline-link {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: #003E83;
    text-decoration: underline;
    cursor: pointer;
}

/* ---- version history ---- */

.fb-history-header { justify-content: space-between; width: 100%; }

.fb-versions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-version {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 14px;
}

.fb-version-main { min-width: 0; flex: 1 1 240px; }
.fb-version-title { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.fb-version-note { margin: 4px 0 0; font-size: 14px; color: #444; line-height: 1.45; }
.fb-version-note em { color: #6b7280; }
.fb-version-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1200px) {
    .fb-columns { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .fb-shelf { padding: 16px; }
    .fb-panel { padding: 16px; }
}

:root {
    /* Legacy brand palette (kept for backward compatibility with existing CSS). */
    --color-red: #BE0019;
    --color-yellow: #F0C567;
    --color-blue: #003E83;

    /* CCF design tokens — semantic aliases and shared layout values.
       Prefer these in new/refactored styles so the look stays consistent across roles. */

    /* Palette */
    --ccf-red: var(--color-red);
    --ccf-yellow: var(--color-yellow);
    --ccf-navy: #003366;            /* sidebar background */
    --ccf-blue: var(--color-blue);  /* links / accents */
    --ccf-page-bg: #f3f4f6;
    --ccf-surface: #ffffff;
    --ccf-text: #333333;
    --ccf-text-muted: #5b5b5b;

    /* Shape */
    --ccf-radius-sm: 4px;
    --ccf-radius: 8px;
    --ccf-radius-lg: 15px;

    /* Section chrome (the yellow-bordered cards used on dashboards + settings) */
    --ccf-section-border: 6px solid var(--ccf-yellow);
    --ccf-shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* Page frame — keep dashboards and settings visually identical */
    --ccf-sidebar-width: 250px;
    --ccf-sidebar-collapsed-width: 60px;
    --ccf-page-padding: 28px 24px 32px;
    --ccf-page-padding-mobile: 20px 16px 24px;
    --ccf-stack-gap: 20px;
    --ccf-stack-gap-mobile: 16px;

    /* Typography — single app-wide default so pages don't drift to serif fallbacks */
    --ccf-font-family: Arial, Helvetica, sans-serif;
}

html, body {
    font-family: Arial, Helvetica, sans-serif;
    font-family: var(--ccf-font-family);
    color: #333333;
    color: var(--ccf-text);
}

/* Standardized Page Header Styles */
.page-header-container {
  display: flex;
  align-items: center;
}

.page-logo {
  width: 75px;
  margin-right: 20px;
}

.global-header {
  font-size: 2rem;
  color: #be0019;
}

/*# sourceMappingURL=main.51ed7a28.css.map*/