/* Defines custom vars to be used in document */
:root {
    --bs-primary-rgb: 17,103,137;  /* FERMO blue */
    --bs-tertiary-rgb: 177,182,149;  /* Sage green */
}

body {
    font-family: Verdana, sans-serif;
    font-size: 13px;
}

/* Footer style elements */
footer {
    margin-top: auto;
    font-size: 12px;
}

/* This will remove underline from all links in the footer */
a:not(.footer a) {
  text-decoration: none;
}

/* Custom style below */

.navbar-custom {
    background-color: rgb(var(--bs-primary-rgb));
    color: white;
}

.navbar-font-size {
    font-size: 18px;
}

.icon {
    width: 20px;
    height: 20px;
}

.custom-bold {
    font-weight: bold;
}

.btn-primary {
    background-color: rgb(var(--bs-primary-rgb));
    border-color: rgb(var(--bs-primary-rgb));
}

.btn-danger {
    background-color: rgb(var(--bs-tertiary-rgb));
    border-color: rgb(var(--bs-tertiary-rgb));
}

.table thead tr th, .table tbody tr td {
    border: none;
}

.custom-link {
    color: rgb(var(--bs-primary-rgb));
}

pre, code {
    white-space: nowrap;
}

.mandatory {
    color: red
}

.form-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: grey
}


/* dashboard page accordion elements */
.accordion {
    --bs-accordion-btn-icon: url("/static/images/collapse_icon_white.svg");
    --bs-accordion-btn-active-icon: url("/static/images/collapse_icon_white.svg");
    --bs-accordion-btn-padding-x: 0.5rem;
    --bs-accordion-btn-padding-y: 0.5rem;
    --bs-accordion-body-padding-x: 0.5rem;
    --bs-accordion-body-padding-y: 0.5rem;
    --bs-accordion-active-color: #fff;
    --bs-accordion-bg: #116789;
    --bs-accordion-active-bg: #116789;
}

.accordion-body {
    background: #fff;
    max-height: 55vh;
}

.accordion-button:focus {
    border-color: rgba(17,103,137, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(17,103,137, 0.8);
    outline: 0 none;
}

.accordion-button {
    color: #fff;
}

/* Add these styles to ensure corners are consistent */
.accordion-subheader .accordion-button {
    font-size: 0.875rem !important;
    padding: 0.25rem 0.5rem !important;
}

.accordion-button-info {
    color: #000;
    background-color: transparent;
    border: none;
}

.accordion-button-info::after {
    order: -1;
    background-image: url("/static/images/collapse_icon_info.svg");
    background-color: transparent;
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.accordion-button-info:not(.collapsed)::after {
    background-image: url("/static/images/collapse_icon_info.svg");
    transform: rotate(-45deg);
    display: inline-block;
    width: 16px;
    height: 16px;
}

.accordion-button-info-l {
    color: #000;
    background-color: transparent;
    border: none;
}

.accordion-button-info-l::after {
    order: -1;
    background-image: url("/static/images/collapse_icon_info.svg");
    background-color: transparent;
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.accordion-button-info-l:not(.collapsed)::after {
    background-image: url("/static/images/collapse_icon_info.svg");
    transform: rotate(-45deg);
    display: inline-block;
    width: 20px;
    height: 20px;
}

body.preview-mode {
  background-image: url('/static/images/watermark.svg');
  background-repeat: repeat;
  background-size: 300px auto;
  background-position: center;
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.arrow svg {
    width: 50px;
    height: auto;
}
.arrow-label {
    font-size: 0.9rem;
    margin-top: 0.2rem;
    text-align: center;
}

.kanban {
  display: flex;
  gap: 1rem;
}

.kanban-column {
  flex: 1;
  background: #f5f5f5;
  padding: 0.5rem;
  border-radius: 6px;
}

.kanban-card {
  background: white;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}
