@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  ul, ol {
    list-style: revert;
  }
}

* {
  box-sizing: border-box;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Gotham SSm A", "Gotham SSm B", "Arial", arial;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

.notification-item {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.notification-item:last-child {
  border-bottom: none;
}

#notification-dropdown {
  max-height: 300px;
  overflow-y: auto;
}

#notification-count {
  transition: all 0.3s ease;
}

#notification-count.hidden {
  opacity: 0;
  transform: scale(0);
}

.autocomplete {
  position: relative;
  display: inline-block;
}
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}
input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}
input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.header {
  padding: 30px;
  text-align: center;
  background: white;
}

.header h1 {
  font-size: 50px;
}

.leftcolumn {
  float: left;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.rightcolumn {
  float: right;
  width: 50%;
  background-color: #f1f1f1;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
}

.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 10px 0;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

header, footer {
  flex-shrink: 0;
}

.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

.inbox-icon-container {
  margin-right: 15px;
}

[x-cloak] {display: none;}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.scale-90 {
  transform: scale(.9);
}

.scale-100 {
  transform: scale(1);
}

.inbox-icon {
  color: #333;
  transition: 0.5s;
}
.inbox-icon:hover {
  transition: 0.5s;
}
.sent-message {
  background-color: #f3f3f3;
  border-radius: 30px;
  padding: 10px 25px;
  width: 25%
}
@media screen and (max-width: 600px) {
  .sent-message {
    background-color: #f3f3f3;
    border-radius: 35px;
    padding: 10px 10px;
    width: 50%;
  }
}

.received-message {
  background-color: rgb(1, 196, 255);
  color: #fff;
  border-radius: 30px;
  padding: 10px 25px;
  width: 25%;
  float: right;
}
.empty-text {
  color: #777;
  font-size: 1.5rem;
  text-align: center;
}

@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
  }
}

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

.dropdown-content {
  position: absolute;
  background-color: #f1f1f1;
  min-width: 300px;
  box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.2);
  z-index: 1;
  font-size: 0.9rem;
  right: 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}
.dropdown-item-parent {
  position: relative;
  display: block;
}

.dropdown-item-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.8rem;
  padding-right: 5px;
  transition: 0.3s;
}
.dropdown-item-close:hover {
  color: rgb(180, 25, 25);
  transition: 0.3s;
  cursor: pointer;
}

.notification-badge {
  transition: 0.3s;
}
.notification-badge:hover {
  cursor: pointer;
  opacity: 0.75;
  transition: 0.3s;
}

.toothcross-small .upper-jaw .gap {
  margin-top: 0px;
  margin-bottom: -5px;
}
.toothcross .upper-jaw .gap {
  margin-top: 32px;
  margin-bottom: 0px;
}
.toothcross-small .gap {
  width: 6px;
  height: 28px;
}
.toothcross .gap {
  display: inline-block;
  width: 10px;
  height: 47px;
}
*, *::before, *::after {
  box-sizing: border-box;
}

div {
  display: block;
}
.toothcross {
  padding: 10px 0 10px 0;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.text-left {
  text-align: left !important;
}


:root {
  --blue: #0077c8;
  --indigo: #6610f2;
  --purple: #772583;
  --pink: #e83e8c;
  --red: #e4002b;
  --orange: #f8a700;
  --yellow: #ffc107;
  --green: #009f4d;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #53585b;
  --gray-dark: #343a40;
  --primary: #0077c8;
  --secondary: #53585b;
  --success: #009f4d;
  --info: #17a2b8;
  --warning: #c9a432;
  --danger: #e4002b;
  --light: #ededed;
  --dark: #53585b;
  --brand-primary: #f8a700;
  --brand-secondary: #ededed;
  --brand-light: #ededed;
  --brand-dark: #53585b;
  --medium: #bfbfbf;
  --canvas: transparent;
  --factory-light: #b4dcb4;
  --factory-dark: #94bc94;
  --clinic-light: #b4b4dc;
  --clinic-dark: #9494bc;
  --patient-light: #f5f5dc;
  --patient-dark: #d5d5bc;
  --orange-light: #fcd380;
  --orange-dark: #926200;
  --green-light: #80cfa6;
  --green-dark: #00391c;
  --gray-light: #ededed;
  --gray-dark: #53585b;
  --bracket: #428181;
  --attachment: #428181;
  --blue: #0077c8;
  --green: #009f4d;
  --red: #e4002b;
  --yellow: #c9a432;
  --inverse: #4f4f4f;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Gotham SSm A", "Gotham SSm B", "Arial", arial;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
*, *::before, *::after {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}

td {
  text-align: center !important;
  vertical-align: middle !important;
}

th {
  text-align: center !important;
  vertical-align: middle !important;
}

.urgency-meter-container {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.urgency-meter {
  background-color: #f9f9f9;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  height: 10px;
  width: 100px;
  position: relative;
  overflow: hidden;
}
.urgency-meter div {
  transition: width 0.3s ease;
}
#notification-dropdown {
  position: absolute;
  z-index: 50;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  right: 0;
  top: 100%;
}
.urgency-info {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  position: relative;
  cursor: help;
}
.urgency-info-icon {
  width: 16px;
  height: 16px;
  fill: #6B7280;
}
.urgency-tooltip {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.urgency-info:hover .urgency-tooltip {
  visibility: visible;
  opacity: 1;
}

.alert.error {
  background-color: rgb(240, 82, 82);
  color: white;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 15px;
}
.alert > button {
  position: absolute;
  border: 0;
  top: 0;
  right: 0;
  color: white;
  padding: 10px;
}
.alert > button:hover {
  background-color: transparent;
  color: white;
}