﻿:root {
  --white: #FFFFFF;
  --black: #000000;
  --background: #FAFAFD;
  --gray: #C4C8C9;
  --light-gray: #EFF2F3;
  --dark-gray: #878E8F;
  --blue: #0099CC;
  --light-blue-100: #F1F9FC;
  --light-blue-200: #DBF6FF;
  --light-blue-300: #DAEDF6;
  --text-blue: #39567A;
  --text-light-gray: #CFD4D5;
  --text-gray: #999999;
  --text-dark-gray: #676E70;
  --text-dark: #313943;
  --blue-accent-100: #53c5eb;
  --blue-accent-200: #49B6DA;
  --blue-accent-300: #45aacb;
  --blue-accent-400: #0073B7;
  --red: #EA7272;
}

.dialog-overlay {
  opacity: 0.3;
  background-color: black;
  backdrop-filter: blur(5px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

dialog {
  border: 0;
  border-radius: 24px;
  padding: 24px 36px;
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translateX(-50%) translateY(-50%);
}
dialog label, dialog button {
  display: block;
  margin-bottom: 20px;
}
dialog input, dialog select {
  display: block;
  padding: 8px;
  border: 1px solid var(--text-light-gray);
  border-radius: 4px;
}
dialog button {
  background-color: var(--red);
  color: white;
  border: 0;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

body {
  margin: 0;
  background-color: var(--white);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

p {
  line-height: 140%;
}

a {
  text-decoration: none;
  color: var(--blue);
}

.blazored-modal {
  border-radius: 20px;
  padding: 28px 42px;
  box-sizing: border-box;
}
.blazored-modal-close {
  color: var(--blue-accent-200);
  padding: 0 10px;
  font-weight: unset;
  font-size: 2rem;
}
.blazored-modal-header {
  padding: 0;
}
.blazored-modal-header h3 {
  margin: 0;
  font-size: 16px;
}

.blossom-grid table {
  border-collapse: collapse;
  width: 100%;
}
.blossom-grid table thead {
  position: sticky;
  top: 100px;
}
.blossom-grid table thead tr {
  background-color: var(--blue);
}
.blossom-grid table thead tr th {
  padding-top: 12px;
  padding-bottom: 12px;
  color: #07376f;
  border: 1px solid #c3d8f3;
  background: #f5f9ff;
}
.blossom-grid table tbody tr {
  height: 50px;
}
.blossom-grid table tbody tr:hover {
  background-color: var(--light-gray);
  cursor: pointer;
}
.blossom-grid table tbody td {
  border-right: 1px solid #f7f8fe;
  border-bottom: 1px solid #f7f8fe;
  max-width: 30vw;
  overflow: hidden;
}
.blossom-grid header label {
  padding: 12px;
  width: 30rem;
}

.search-result {
  margin: 0.3rem;
  font-size: 1rem;
  padding: 0.3rem;
}
.search-result:hover {
  cursor: pointer;
  background-color: #eee;
}

.blossom-entity {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background: #f6f6f6;
  width: 30rem;
  padding: 1rem;
  border-left: 1px solid #f7f8fe;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.blossom-entity > header {
  position: relative;
}
.blossom-entity > header h1 {
  border-bottom: 1px solid #f6f6f6;
  padding: 1.25rem 0;
  margin: 0;
}
.blossom-entity > header p {
  font-size: 0.8rem;
  font-weight: 400;
}
.blossom-entity > header button {
  position: absolute;
  top: 16px;
  right: 16px;
}
.blossom-entity > header, .blossom-entity label {
  border-radius: 0.5rem;
  border: 1px solid #e6e6e6;
  background: white;
  padding: 1.25rem;
  margin: 0.62rem;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
}
.blossom-entity label {
  display: block;
}
.blossom-entity label i {
  font-style: normal;
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  margin-bottom: 0.63rem;
  color: var(--red);
}
.blossom-entity label span {
  font-size: 1rem;
  font-weight: 400;
  display: block;
  margin: 0.62rem 0;
}
.blossom-entity input {
  display: block;
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  width: 100%;
  margin: 0.62rem 0;
  padding: 4px 0;
  font-size: 1rem;
}
.blossom-entity footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: var(--light-gray);
}
.blossom-entity footer button {
  font-size: 1.2rem;
}
.blossom-entity footer a {
  display: block;
}

button {
  border: none;
  outline: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
}
button.admin {
  background: var(--red);
  color: white;
}
button.secondary {
  background: var(--light-gray);
  color: black;
  font-weight: 500;
}
button.link {
  background: transparent;
  color: var(--blue);
  font-weight: 500;
}
button:hover {
  cursor: pointer;
}
