:root {
  --c1: #006838;
  --f1: arial;
}

*{
    box-sizing: border-box;
    font-family: var(--f1);
}

body{
    margin: 0;
}

header{
    background: var(--c1);
    padding: 1rem 0;
}

.header-content{
    width: 80%;
    margin: auto;
}

header .logo{
    height: 2rem;
}

section{
    width: 80%;
    padding-right: 25%;
    margin: auto;
}

h1{
    font-family: var(--f1);
}

.form-holder{
    margin: 0;
    width: 100%;
}

.form-holder *{
    border-collapse: collapse;
    border: none;
}

.form-field{
    padding: 0;
}

.form-field label{
    padding: 0;
    display: block;
    margin-top: 1.5rem;
}

.form-l{
    padding-right: 1rem;
}

.form-r{
    padding-left: 1rem;
}


.standard-input{
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid black !important;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    border-radius: 5px;
}

.autocomplete {
  position: relative;    /* container for the absolute dropdown */
  overflow: visible;     /* ensure dropdown can overflow */
}

.autocomplete-items {
  position: absolute;
  top: 100%;
  width: 200%;           /* snap to the width of the .autocomplete container */
  z-index: 99;

  display: grid;
  /* as many 150px columns as will fit inside the 100% width */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;                /* or e.g. 1px if you want a little gutter */

  background: #fff;
  border: 1px solid #d4d4d4;
}

.autocomplete-left .autocomplete-items{
    left: 0;
    text-align: left;
}

.autocomplete-right .autocomplete-items{
    right: 0;
    text-align: right;
}

.autocomplete-items div {
  padding: 0.5rem;
  cursor: pointer;
  background: #fff;
  break-inside: avoid;   /* keep each item from splitting across columns */
}
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.autocomplete-active, .autocomplete-items div:active {
  background-color: var(--c1) !important;
  color: #fff;
}





.datepicker-wrapper {
  position: relative;
  width: 100%;
}

.datepicker {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200%;                /* your 2× input width */
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  user-select: none;
}

.datepicker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  width: 100%;                /* fill the 200% container */
}

.datepicker-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 1rem;
}

.datepicker-header button:hover {
  background-color: #e9e9e9;  
}

.datepicker-header button:active {
  background-color: #e9e9e9;  
}

.datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* fluid 7‑column layout */
  grid-auto-rows: auto;
  gap: 2px;
  width: 100%;                /* force the grid to span 100% of .datepicker */
}

.datepicker-days .day {
  padding: 6px;
  text-align: center;
  cursor: pointer;
}

.datepicker-days .day:hover{
    background-color: #e9e9e9;    
}

.datepicker-days .day:active{
  background: var(--c1);
  color: #fff; 
}

.datepicker-days .day.disabled {
  color: #ccc;
  cursor: default;
  pointer-events: none;
}

.datepicker-days .day.selected {
  background: var(--c1);
  color: #fff;
}










/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 1rem 2rem;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-top: none;
}








