* {
    color: darkgreen;
}

.list-group-item.active .folder-name {
    color: #fff;
}

.card-title {
    color: darkgreen !important;
}

.text-dark {
    color: darkgreen !important;
}

.text-error {
    color: darkred !important;
}

.fa {
    color: white;
}

.fa-duotone {
    color: white;
}

.fa_override_light {
    color: darkgreen;
}

.fa_override_error {
    color: darkred;
}

.modal-title {
    color: darkgreen;
}

.btn {
    color: white;
}

/* Ensure icons inside buttons (font-awesome and inline SVGs) remain visible on dark button backgrounds */
.btn .fa,
.btn .fas,
.btn .far,
.btn .fal,
.btn .fab,
.btn svg,
.btn .fa-solid,
.btn .fa-regular,
.btn .fa-brands,
.btn .fa-light,
.btn .fa-thin,
.btn .svg-inline--fa,
.btn [class^="fa-"],
.btn [class*=" fa-"] {
    color: currentColor !important;
    fill: white !important;
    stroke: white !important;
}

[class*="btn-outline-"] {
    color: darkgreen;
}

.btn-warning {
    background-color: darkorange;
}

/* Make list-group selection coordinate with the site's green theme instead of Bootstrap blue */
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background-color: darkgreen !important;
    border-color: darkgreen !important;
    color: #fff !important;
}

/* Ensure muted text, small text, badges and icons inside an active list item are visible on the dark background */
.list-group-item.active .text-muted,
.list-group-item.active small,
.list-group-item.active .badge {
    color: rgba(255,255,255,0.9) !important;
}

.list-group-item.active .fa,
.list-group-item.active .svg-inline--fa,
.list-group-item.active svg {
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
}

/* Ensure all text inside an active list item is white (overrides the global '*' color rule) */
.list-group-item.active,
.list-group-item.active * {
    color: #fff !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #edfff8;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 70px;
    line-height: 60px; /* Vertically center the text there */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.card {
    background-color: #b4f6c6
}

/* Subscription status badge shared across pages */
.badge-sub-none {
    background-color: #b4f6c6;
    color: darkgreen;
    border: 1px solid darkgreen;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.badge-sub-trial {
    background-color: #b4f6c6;
    color: darkgreen;
    border: 1px solid darkgreen;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.badge-sub-exp {
    background-color: salmon;
    color: black;
    border: 1px solid red;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.badge-sub img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}