@charset "UTF-8";
/*0 3px 5px rgba(75, 85, 68, 0.8);*/
/*Wildflower theme colors*/
/*blue theme*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  line-height: 1.5;
  font-family: system-ui, arial, sans-serif;
  color: #333;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5em;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #79ac78;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #ccc;
  background-color: #618264;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul,
ol {
  margin: 0 0 1rem 1.5rem;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

button {
  border: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex-fit-content {
  display: flex;
  width: fit-content;
  flex-direction: column;
}

.flex-row {
  justify-content: space-between;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.flex-row.xcenter {
  justify-content: center;
}
.flex-row.center {
  justify-content: center;
  align-items: center;
  flex: none;
}

.wide {
  width: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 90%;
  align-items: center;
  padding: 0 1rem;
}

.panel {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.row-spacer {
  padding: 0.5rem 0;
}

.flex-col, .flex-col-center {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.flex-col .title, .flex-col-center .title {
  border-top: 1px solid light-dark(#79ac78, #79ac78);
  border-bottom: 1px solid light-dark(#79ac78, #79ac78);
  font-weight: 300;
  font-size: 1.2rem;
  color: #333;
  background-color: #f7f7f7;
  text-align: center;
  width: 100%;
}
.flex-col__inputs {
  display: flex;
  gap: 1rem;
}

.flex-col-center {
  align-items: center;
}

header {
  background-color: #fff;
  padding: 0 12px;
  display: flex;
  justify-content: center;
}

#aside-toggler {
  margin-left: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form .inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: normal;
  gap: 1rem;
}
@media (max-width: 768px) {
  form .inputs {
    flex-direction: column;
  }
}
form .input-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
form .input-text, form .input-select, form .input-textarea {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
form .input-text label, form .input-select label, form .input-textarea label {
  font-weight: bold;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  flex-direction: column;
}
.checkbox-group .input-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
}

fieldset {
  border: 2px solid #ccc;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
}

legend {
  background-color: #79ac78;
  color: white;
  padding: 3px 6px;
}

input {
  font-size: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input#max_height,
input#max_width {
  width: 100px;
}

input.wide textarea.wide {
  width: 100%;
}

.alert {
  display: flex;
  padding: 0.5rem;
  justify-content: space-around;
  border-radius: 4px;
}

.alert--info {
  background-color: #2196f3;
  color: #f3f3f3;
}

.alert--success {
  background-color: #359e64;
  color: #f3f3f3;
}

.alert--warning {
  background-color: #ff5722;
  color: #f3f3f3;
}

.alert--error {
  background-color: firebrick;
  color: #f3f3f3;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

th.text-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: left;
}

tr.ok td {
  background-color: green;
  color: #fff;
}

td {
  vertical-align: middle;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}
td.actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.logo {
  width: 250px;
}
.logo a:hover {
  background-color: transparent;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e5e5e5;
}
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }
}

.bar {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #79ac78;
  margin: 5px auto;
  transition: all 0.3s ease;
}

.nav {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.nav-toggle {
  display: none;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    width: fit-content;
  }
}
.nav-links {
  display: flex;
  gap: 1rem;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
.nav-links.show {
  display: flex;
}

.main-content {
  display: flex;
  margin: 1rem;
  flex-grow: 1;
}
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
}

.plant-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.plant-card {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  width: 350px;
  margin: 1rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.plant-card-caption {
  display: flex;
  flex: 2;
  gap: 10px;
  margin-top: 5px;
}
.plant-card-source {
  font-size: 0.8rem;
  color: #fff;
  text-align: center;
  background-color: #000;
}
.plant-card-not-active {
  background-color: red;
  color: white;
}
.plant-card-is-favourite, .plant-card-is-not-favourite {
  cursor: pointer;
  position: absolute;
  right: 30px;
  font-size: 36px;
}
.plant-card-is-favourite::after {
  content: "❤️";
}
.plant-card-is-not-favourite::after {
  content: "🤍";
}
.plant-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1rem;
}
.plant-type-icon {
  width: 36px;
  height: 36px;
}

.collapsed {
  display: none;
}

.expander::before {
  content: "+";
}

.collapser {
  cursor: pointer;
}
.collapser::before {
  content: "-";
}

.filter-wrapper {
  min-width: 200px;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.filter__header {
  background-color: rgba(121, 172, 120, 0.4);
}
.filter__sub-header {
  font-weight: bold;
  margin-top: 0.5rem;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: green;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.info::after {
  content: "ⓘ";
  margin-left: 5px;
  font-size: 16px;
  cursor: pointer;
  color: green;
}

.search-plants {
  display: flex;
  flex-direction: column;
  margin: 1rem;
  flex-wrap: wrap;
}

.square {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-bottom: -2px;
}
.square.blue {
  background-color: blue;
}
.square.brown {
  background-color: brown;
}
.square.green {
  background-color: green;
}
.square.orange {
  background-color: orange;
}
.square.pink {
  background-color: pink;
}
.square.purple {
  background-color: purple;
}
.square.red {
  background-color: red;
}
.square.white {
  background-color: white;
  border: 1px solid #000;
}
.square.yellow {
  background-color: yellow;
}

.ok {
  background: green;
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #79ac78;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-align: center;
}
.btn.info::after {
  color: #fff;
}
.btn-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.btn__delete {
  background-color: red;
}
.btn__edit {
  background-color: orange;
}
.btn__view {
  background-color: green;
}
.btn:hover {
  background-color: #0056b3;
}