:root {
    --main-block-color: rgba(35, 35, 35, 1);
    --main-font-weight: 900;
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    --main-color: #00ae81;
    --inter-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    background-color: #f3f3f3 !important;
}

/* Typography */

h1 {
    font-weight: 700 !important;
}

/* Typography */

/* Navigation */

nav.navbar {
    background-color: var(--main-block-color) !important;
}

.dropdown .dropdown-icon svg path {
    fill: #fff;
}

/* Navigation */

/* Buttons */
/* 
.btn-primary {
  border-color: var(--main-color);
  color: black;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 50px 50px 50px 50px;
  min-width: 250px;
  max-width: 350px;
  background: linear-gradient(to right, var(--main-color) 50%, transparent 50%);
  background-size: 200%;
  background-position: right top;
  transition: all 0.3s ease-out;
  font-family: var(--inter-font);
  border-width: medium;
} */

.btn.w-100 {
    max-width: none !important;
}

.btn-primary:hover {
    background-position: left top;
    color: white;
    border-color: var(--main-color);
}

.btn-clear {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

/* Butttons */

/* Cards */
.dash-card.bg-light {
    background-color: #fff !important;
    border: 1px solid #e6e6e6 !important;
    padding: 1rem;
    border-radius: 1rem;
}
/* Cards */

/* Extra */
.dash-card.bg-light .image-row {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;

    overflow-x: auto;
    overflow-y: visible;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.dash-card.bg-light .image-row img,
.dash-card.bg-light .image-row .placeholder {
    border-radius: 1rem;
    height: 120px;
    width: auto;
    object-fit: cover;
    position: relative;
}

.dash-card.bg-light .image-row .placeholder {
    aspect-ratio: 3/2;
    opacity: 0.3 !important;
}

.dash-card.bg-light .image-row .position-relative button {
    position: absolute;
    top: -0.5em;
    right: -0.5em;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background-color: #dc3545;
    border: none;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-card.bg-light .image-row .position-relative button svg {
    height: 1rem;
    width: 1rem;
}

.dash-card.bg-light .image-row .position-relative button svg path {
    fill: #fff;
}

.label.material {
    background-color: #fff !important;
    border: 1px solid #e6e6e6 !important;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    position: relative;
}

.label.material:hover {
    background-color: #f3f3f3 !important;
}

.label.material .material-x-mark {
    aspect-ratio: 1 / 1;
    height: 30px;
    width: auto;
    position: absolute;
    top: -1rem;
    right: -1rem;
    cursor: pointer;
    color: #fff;
    background-color: #dc3545;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-container {
    height: 120px;
    min-width: 120px;
    aspect-ratio: 1/1;
    border: 3px dotted #e6e6e6;
    border-radius: 1rem;
    overflow: hidden;
}

.add-container.round {
    border-radius: 999px;
    border: 3px dotted #cfcfcf;
}

.add-container img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

li {
    list-style: none;
}
ul {
    padding: 0;
    margin: 0;
    margin-bottom: 0.25rem;
}

/* .autograph-wrapper {
  width: 100%;
  aspect-ratio: 2/1;

  background-color: #f3f3f3;
  border-radius: 1rem;
  border: 1px solid #e6e6e6;
} */

.autograph-wrapper {
    width: 100%;
    aspect-ratio: 2/1;
    background-color: #f3f3f3;
    border-radius: 1rem;
    border: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

canvas {
    width: 100%;
    height: 100%;
}

/* Extra */

/* Tables */
.table-wrapper {
    border: 1px solid #e6e6e6;
    padding: 1rem;
    border-radius: 1rem;
    overflow-x: auto;
}

.table-wrapper table {
    margin-bottom: 0;
}

table > tbody > tr:nth-of-type(odd) > * {
    background-color: #f3f3f3 !important;
}

table a {
    color: black;
}

table td {
    vertical-align: middle;
}

/* Tables */

.datepicker.datepicker-inline {
    width: 100% !important;
}

.datepicker .table-condensed {
    width: 100% !important;
}

.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn:disabled {
    opacity: 1 !important;
}

.typeahead-wrapper {
    position: relative;
}

.dropdown-menu {
    top: 3rem;
}

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

.dropdown-item.active,
.dropdown-item:hover {
    background-color: #f8f9fa;
}
