/*
cellarius-dark: #432E54
cellarius-blue: #4B4376
cellarius-red: #AE445A
cellarius-light: #E8BCB9
*/

html {
    font-size: calc(1em + .5vw);
}

.cellarius-bg-dark {
    background-color: #432E54;
}
.cellarius-text-dark {
    color: #432E54;
}

.cellarius-bg-blue {
    background-color: #4B4376;
}
.cellarius-text-blue {
    color: #4B4376;
}

.cellarius-bg-red {
    background-color: #AE445A;
}
.cellarius-text-red {
    color: #AE445A;
}

.cellarius-bg-light {
    background-color: #E8BCB9;
}
.cellarius-text-light {
    color: #E8BCB9;
}

.cellarius-fr-light {
    --bs-focus-ring-color: rgba(232, 188, 185, .9);
}

.cellarius-fr-light:focus {
    border-color: rgb(232, 188, 185);
    box-shadow: 0 0 0 .25rem rgba(232, 188, 185, 0.25);
}

.cellarius-fr-red {
    --bs-focus-ring-color: rgba(174, 68, 90, 0.9);
}

.cellarius-fr-red:focus {
    border-color: rgb(174, 68, 90);
    box-shadow: 0 0 0 .25rem rgba(174, 68, 90, 0.25);
}

.cellarius-fr-none {
    --bs-focus-ring-color: rgba(174, 68, 90, 0);
}

.cellarius-fr-none:focus {
    border-color: #432E54;
    box-shadow: 0 0 0 0 rgba(174, 68, 90, 0);
}

.cellarius-btn-close-light {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg);
}

.cellarius-border-red {
    border: 2px solid #AE445A;
}

#btn_staple_label {
    border-radius: 0 .375rem .375rem 0;
}

@media only screen and (max-width: 575px) {

  .resp-width {
      min-width: 400px;
  }
  #name_label, #description_label, #category_label, #barcode_label, #notes_label, #packaging_label, #location_label {
      display: none;
  }
  #id_description, #id_category, #id_notes, #id_packaging, #id_location {
      border-radius: .375rem;
  }
  #id_expiration_date {
      display: block;
  }
  #id_name {
      border-radius: .375rem 0 0 .375rem;
  }
}

@media only screen and (min-width: 576px) {
    .resp-width {
        min-width: 600px;
    }
    html {
        font-size: 1em;
    }
}

@media only screen and (min-width: 2000px) {
    .stop-fs{
        font-size: 25px;
    }
}

/* Mealie-style global theme overrides */

body {
    background-color: #f8f9fa;
}

/* Cards */
.card {
    border: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
    border-radius: 12px;
}

/* Buttons */
.btn-primary {
    background-color: #AE445A;
    border-color: #AE445A;
    border-radius: 50rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #8f3648;
    border-color: #8f3648;
}

.btn-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(174, 68, 90, 0.25);
}

/* Badges / chips */
.badge-chip {
    border-radius: 50rem;
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    padding: .35em .65em;
}

/* Form inputs */
.form-control {
    border-radius: .5rem;
}

.form-control:focus {
    border-color: rgb(232, 188, 185);
    box-shadow: 0 0 0 .25rem rgba(232, 188, 185, 0.25);
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #495057;
    border-radius: 50rem;
    padding: .6rem 1rem;
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.sidebar .nav-link.active {
    background-color: #AE445A;
    color: #fff;
}

.sidebar .nav-link svg,
.sidebar .nav-link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Top header */
.top-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: .75rem 1.5rem;
}

.top-header .form-control {
    border-radius: 50rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
    border: 1px solid #e9ecef;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    max-width: 600px;
}

.offcanvas .nav-link {
    color: #495057;
    border-radius: 50rem;
    padding: .6rem 1rem;
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.offcanvas .nav-link svg,
.offcanvas .nav-link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.offcanvas .nav-link.active {
    background-color: #AE445A;
    color: #fff;
}