@font-face {
	font-family: 'GTSuperDisplay';
	src: url('/static/fonts/GT-Super-Display-Medium.woff2');
	font-weight: normal;
	font-style: normal;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* UNIVERSAL */
body {
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-size: 1.1rem;
	line-height: 1.8rem;
}


/* SCREENS: FORMS */
.screen-canvas {
  background: #faf8f4;
  padding: 1rem 1rem 10rem 1rem;
  min-height: 100vh;
}

.form-container {
  background: white;
  max-width: 30rem;
  margin: 0 auto;
  padding: 0;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.form-canvas {
  background: white;
  margin: 0 auto;
  padding: 2rem 2rem 4rem 2rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 3rem;
}

.form-group label {
  font-size: 1.2rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"], 
.form-group input[type="tel"], 
.form-group input[type="date"] {
  border: 1px solid #d8e0e5;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  padding: .2rem;
  line-height: 3rem;
  text-align: center;
  font-size: 1.5rem;
  color: #27636C;
  width: 100%;
  box-sizing: border-box; /* Include padding and border in width calculation */
}

.form-group textarea {
  border: 1px solid #d8e0e5;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  padding: .5rem;
  line-height: 1.8rem;
  text-align: left;
  font-size: 1.5rem;
  color: #27636C;
  width: 100%;
  height: 12rem;
  box-sizing: border-box; /* Include padding and border in width calculation */
}

.form-group select {
  border: 1px solid #d8e0e5;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
  padding: .2rem;
  -webkit-appearance: menulist-button;
  height: 3rem;
  text-align: center;
  font-size: 1.5rem;
  color: #27636C;
  width: 100%;
  box-sizing: border-box; /* Include padding and border in width calculation */
}

#screen-progress-bar {
  /* Example styles */
  width: 100%;
  height: .7rem;
  background-color: white; /* Color of the background */
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  vertical-align: top;
}

#screen-progress-bar::-webkit-progress-bar {
  background-color: white; /* Background color for Chrome, Safari, and Opera */
}

#screen-progress-bar::-webkit-progress-value {
  background-color: #27636C; /* Progress indicator color for Chrome, Safari, and Opera */
}

#screen-progress-bar::-moz-progress-bar {
  background-color: #27636C; /* Progress indicator color for Firefox */
}

.progress-step {
  margin-top: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  text-align: center;
}

input[type="submit"] {
  background-color: #F8049C;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
  margin: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=submit]:hover,
input[type=submit]:focus-visible {
	opacity: 75%;
}

.form-submit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.need-help-text {
  max-width: 80%;
  margin-top: 1.7rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4rem;
}

.copyright-and-address {
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: .8rem;
  line-height: 1.3rem;
}

.form-logo {
  text-align: center;
  margin-bottom: 1.8rem;
}

/* Add extra margin-top because find-my-provider doesn't have a progress bar */
.form-logo-find-my-provider {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.8rem;
}

#screening-logo {
  height: 2.2rem;
}

#phq9-intro {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.screening-header-text {
  margin-bottom: 2.5rem;
}

mark {
  background-color: #fff2a8;
}

.getting-started {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.getting-started a {
  background-color: #F8049C;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 50%;
  box-sizing: border-box;
  margin-top: 1rem;
  margin: auto;
  text-align: center;
}


/* Autocomplete container */
/* Parent container */
.autocomplete {
  position: relative; /* This establishes a new positioning context */
  width: 100%; /* Or whatever width you prefer */
}

/* Autocomplete container adjusted */
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%; /* Ensure it spans the width of .autocomplete */
}

/* Autocomplete items */
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/* Item hover */
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/* Active item */
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}


/* SCREENS: LOGIN */
.login-canvas {
  background-color: #faf8f4;
  height: 100vh;
  padding-top: 6rem;
}

.login-container {
  display: flex;
  flex-direction: row;
  background-color: white;
  max-width: 60rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.login-picture {
  flex: 60%;
  background-image: url('/static/img/login-doc2.jpg');
  padding: 0;
}

.login-form-container {
  flex: 40%;
  padding: 0;
}

.login-form {
  padding: 4rem 2rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-logo {
  margin: auto;
  text-align: center;
}

.login-form #logo {
  text-align: center;
  height: 2.2rem;
}

.login-form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.login-button-container {
  margin-top: 1rem;
  padding-left: 5rem;
  padding-right: 5rem;
}

#login-button {
  padding: .8rem 2rem;
  margin-top: 1.5rem;
}


/* SCREENS: APPLICATION HOME */
.application-canvas {
  display: flex;
  flex-direction: row;
  height: 100vh;
} 

.application-sidebar-container {
  flex: 20%;
  height: 100%;
  background-color: #faf8f4;
}

.application-sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  height: 2.2rem;
}

.application-main-container {
  flex: 80%;
  padding: 2rem;
  background-color: whitesmoke;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.application-main-container .table-container {
  background-color: white;
  padding: 1.5rem;
  margin-top: 2rem;
  border: solid;
  border-color: lightgray;
  border-width: 1px;
}

.application-main-container-area {
  padding: 0rem 5rem 5rem 5rem;
}

.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.header a {
  background-color: gray;
  color: #fff;
  border: none;
  padding: .5rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  box-sizing: border-box;
  margin-top: 1rem;
  margin: auto;
  font-size: .8rem;
  text-decoration: none;
}

/* TABLE STYLES */
/* Table styles */
table {
  width: 100%;
  background-color: #fff;
  margin-top: 2rem;
}

thead th {
  background-color: #27636C;
  color: #fff;
  padding: 10px;
  text-align: left;
  font-family: 'GTSuperDisplay', sans-serif;
}

tbody td {
  border-bottom: 1px solid #d8e0e5;
  padding: 10px;
}

/* Style for odd rows */
table tr:nth-child(odd) {
  background-color: #f9f9f9; /* Light grey background */
}

/* Style for even rows */
table tr:nth-child(even) {
  background-color: #ffffff; /* White background */
}

/* Style for hover effect on rows */
table tr:hover {
  background-color: #f1f1f1; /* Slightly different grey for hover */
  cursor: pointer;
}

.pagination-controls {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
}

.pagination-controls > .pagination-group {
  margin-bottom: 0rem;
  padding-bottom: 0rem;
}

.pagination-controls img {
  height: 2rem;
  cursor: pointer;
  background-color: whitesmoke;
}

.pagination-controls a {
  text-decoration: none;
}

.pagination-controls .flip-horizontal {
  transform: scaleX(-1);
}

.page-number {
  font-size: .8rem;
}

.get-pdf-button {
  background-color: #F8049C;
  color: #fff;
  border: none;
  padding: .5rem 1.5rem;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
  box-sizing: border-box;
  margin-top: 1rem;
  margin: auto;
  font-size: .8rem;
  text-decoration: none;
}

.get-pdf-button-archive {
  background-color: lightgray;
  color: black;
  border: none;
  padding: .5rem 1.5rem;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
  box-sizing: border-box;
  margin-top: 1rem;
  margin: auto;
  font-size: .8rem;
  text-decoration: none;
}

/* # MESSAGE FLASHING */
.flash-message {
  display: flex;
  box-sizing: border-box;
  width: 100vw - 2rem;
  padding: 1rem 2rem;
  justify-content: center;
}

.success {
  background-color: #27636C;
  color: white;
}

.error {
  background-color: darkred;
  color: white;
}

.warning {
  background-color: darkkhaki;
  color: white;
}

.patient-search-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  width: 60rem;
}

.form-group-patient-search {
  margin-top: 0rem;
}

.form-group-patient-search input[type="text"] {
  line-height: 2rem;
  font-size: 1.1rem;
  text-align: left;
  padding: .5rem;
}

.form-submit-patient-search {
  margin-top: 0rem;
}

.form-submit-patient-search input[type="submit"] {
  padding: 0.5rem 1rem;
  border: solid;
  border-color: #F8049C;
  font-size: 1rem;
}

.patient-search-form a {
  background-color: lightgray;
  color: black;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  margin-top: 1rem;
  margin: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.login-header h2 {
  font-size: 3rem;
  color: #27636C;
  font-family: 'GTSuperDisplay', sans-serif;
}

.patient-demographics-flexbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5rem;
  margin-top: 1.5rem;
}

.patient-data-group-flexbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.patient-data-label {
  font-size: .8rem;
}

.pinktext {
  color: #F8049C;
}

.boldtext {
  font-weight: bold;
}