/* Exos Dash Changes */

/* Set header size to 32px */
.form-container .form-title {
    font-size: 32px;
}

/* Universal box-sizing rule */
*, *:after, *:before {
    box-sizing: border-box;
}

/* Root view transition */
:root {
    view-transition-name: root;
}

/* Basic HTML display property */
html {
    display: block;
}

/* Apply sans-serif font to the entire form
body, .wrapper, .form-container {
    font-family: 'Inter', sans-serif;
} */

/* Placeholder styling for date inputs */
#entry-date input::placeholder,
#exit-date input::placeholder,
#date-of-birth input::placeholder,
#first-name::placeholder,
#last-name::placeholder {
    font-size: 16px;
    border-width: 1px; /* Ensure consistent border width */
    border-radius: 8px; /* Ensure wedged edges */
    margin: 0; /* Remove margin */
}

.DateInput, .DateInput_1 {
    border-radius: 4px 0 0 4px !important;
}

/* Wrapper to center the form container */
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Form container styling for roster table */
.form-container-roster {
    max-width: 90%;
    width: 100%;
    padding: 20px;
    background-color: #fff; /* White background for the form container */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* General Form container styling */
.form-container {
    max-width: 50%;
    width: 100%;
    padding: 20px;
    background-color: #fff; /* White background for the form container */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Container for each label and input pair */
.input-container {
    margin-bottom: 20px; /* Space between each input container */
}

/* Input box styling */
input[type="text"], input[type="text"], 
.dcc-input {
    width: 310px;
    height: 35px;
    padding: 0px 10px;
    box-sizing: border-box;
    background-color: #fff; /* White background for input fields */
    margin-bottom: 5px; /* Space between input fields and next label */
    display: inline-block; /* Ensure input is on a new line */
    margin: 0;
}

/* Style for the required asterisk */
.required {
    color: red;
    margin-left: 5px;
    font-size: 18px;
    vertical-align: middle;
}


/* Style for inline-block elements */
.inline-block-style {
    display: inline-block;
    width: 310px;
    height: 40px;
    padding: 0px 10px;
    margin-bottom: 10px;
    background-color: #fff;
}

/* Additional style for margin-bottom elements */
.margin-bottom-10 {
    margin-bottom: 10px;
}

label {
    margin-bottom: 10px; /* Increased space between labels and input fields */
    display: block; /* Ensure label is on a new line */
}

/* Style for sublabels */
.sublabel {
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

/* Style for the submit button */
.submit-button-container {
    display: flex;
    justify-content: center; /* Center the button horizontally */
    margin-top: 20px; /* Space above the button */
}

.submit-button {
    width: 200px;
    background-color: green; /* Green background color */
    color: white; /* White text color */
    border: none; /* No border */
    border-radius: 8px; /* Wedged edges */
    padding: 10px 20px; /* Padding inside the button */
    font-size: 16px; /* Font size for the button text */
    cursor: pointer; /* Pointer cursor on hover */
}

.submit-button:hover {
    background-color: darkgreen; /* Darker green on hover */
}

/* Apply universal styles for dropdowns */
.dcc-dropdown, .dcc-dropdown {
    width: 310px;
    height: 40px;
    padding: 0px 0px;
    box-sizing: border-box;
    background-color: #fff; /* White background for input fields */
    margin: 0px; /* Space between input fields and next label */
    display: block; /* Ensure input is on a new line */
}

.dcc-dropdown-multi {
    width: 310px;
    /* padding: 0px;*/
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
    background-color: #fff; /* White background for input fields */
    margin: 0px !important; /*     Ensure input is on a new line */
    align-items: center !important;
    
}

/* Style for error messages */
.error-message {
    color: red;
    font-size: 16px;
    margin-top: 20px;
}

.error-list {
    list-style-type: none;
    padding: 0;
}

.error-list li {
    margin-bottom: 5px;
}

/* Grid lines for ag-Grid cells */
.ag-theme-alpine .ag-cell, 
.ag-theme-alpine .ag-header-cell, 
.ag-theme-alpine .ag-header-group-cell {
    border: 0.5px solid #e0e0e0;
    box-sizing: border-box;
    padding: 8px;
    font-size: 14px;
}

.ag-theme-alpine .ag-row, 
.ag-theme-alpine .ag-header-row {
    border-bottom: 0.5px solid #e0e0e0;
    height: 50px;
}

.ag-theme-alpine .ag-header-cell, 
.ag-theme-alpine .ag-header-group-cell {
    border-right: 0.5px solid #e0e0e0;
    font-size: 13px; /* Adjusted font size for header cells */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.ag-theme-alpine .ag-row:first-child .ag-cell {
    border-top: 0.5px solid #e0e0e0;
}

.ag-theme-alpine .ag-row .ag-cell:first-child,
.ag-theme-alpine .ag-header-row .ag-header-cell:first-child {
    border-left: 0.5px solid #e0e0e0;
}

/* Custom AG-Grid CSS for Roster Header Background */
.custom-ag-grid-roster .ag-header-cell{
    background-color: #adccf0 !important;
    border-right: 0.5px solid #e0e0e0;
    border-bottom: 0.5px solid #e0e0e0;
    color: rgba(0, 0, 0, 0.6) !important;
}
/* General style for all header cells EXCEPT delete column */
.custom-ag-grid-roster .ag-header-cell:not([col-id="delete"]) {
    padding: 10px;
    min-width: 140px;
}
/* Style the delete header specifically to not be wide */
.custom-ag-grid-roster .ag-header-cell[col-id="delete"] {
    min-width: 35px;
    max-width: 35px;
    padding: 0;
}

/* Custom AG-Grid CSS for Header Background */
.custom-ag-grid .ag-header-cell {
    background-color: #adccf0 !important;
    border-right: 0.5px solid #e0e0e0;
    border-bottom: 0.5px solid #e0e0e0;
    color: rgba(0, 0, 0, 0.6) !important;
    padding: 10px;
    min-width: 130px; /* Set a minimum width for each header cell */
}

/* Adjust padding for the first column to match the required space */
.ag-cell:first-of-type {
    padding-left: 10px;
}

/* Style the input fields inside ag-grid cells */
.ag-theme-alpine .ag-cell input[type="text"] {
    height: 30px; /* Adjust height as needed */
    padding: 2px 5px; /* Adjust padding as needed */
    font-size: 12px; /* Adjust font size as needed */
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

/* Styles for invalid cells */
.cell-invalid {
    background-color: #ffdddd !important;
}
 
/* Styles for valid cells */
.cell-valid {
    background-color: #ddffdd !important;
}

/* Custom AG-Grid CSS for Header Background */
.custom-ag-grid .ag-header-group-cell {
    justify-content: center;
    background-color: #adccf0 !important;
    border-right: 0.5px solid #e0e0e0;
    border-bottom: 0.5px solid #e0e0e0;
    color: rgba(0, 0, 0, 0.6) !important;
    padding: 10px;
    min-width: 130px; /* Set a minimum width for each header cell */
}
.ag-header-group-cell .ag-header-cell-comp-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-aligned-header .ag-header-cell-label {     
    justify-content: center !important; 
    justify-items: center !important;
    text-align: center !important;
} 

.center-aligned-group-header .ag-header-group-cell-label {
    justify-content: center !important;
    justify-items: center !important;
    text-align: center !important;
}

#grid-k .center-aligned-cell {     
    text-align: center !important;
    justify-content: center !important;
    justify-items: center !important;
}

#grid-k .ag-header-cell {
    display: flex;
    align-items: center;
    justify-content: center;
} 

#grid-k .ag-header-group-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* For better visibility of filter Button on AG-Grid Tables */
.always-visible-menu .ag-header-cell-menu-button {
    opacity: 1;
    visibility: visible;
}
/* MAIN WRAPPER */
#test-date-field .SingleDatePickerInput {
  box-sizing: border-box;
  height: 37px !important;
  line-height: 30px !important;
  padding: 0 !important;
  padding-left: 2px;
  width: 310px;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 6px !important;
  background-color: transparent !important;
  font-family: var(--bs-body-font-family);
  font-size: 16px;  
}

/* FIX: Remove border override issues */
#test-date-field .SingleDatePickerInput__withBorder {
  border: none;
}

/* DATE INPUT */
#test-date-field .DateInput_input {
  width: 100%;
  height: 30px;
  align-items: top;
  font-size: 16px;
  color: #212529;
  background-color: transparent !important;
  border: none !important;
  box-sizing: border-box;  
  font-family: var(--bs-body-font-family);
}

/* FIX background overflow */
#test-date-field .DateInput {
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

/* CLEAR ICON (X) */
#test-date-field .SingleDatePickerInput_clearDate {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  color: #888;
  cursor: pointer;
  position: absolute;
  right: 4px;
  top: 50%;
  /* transform: translateY(-50%); */
}
#test-date-field .SingleDatePickerInput_clearDate:hover {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

#test-date-field .SingleDatePickerInput_clearDate:hover svg {
  fill: #D0024C !important;
}
/* CLEAR ICON SIZE */
#test-date-field .SingleDatePickerInput_clearDate svg {
  width: 8px;
  height: 8px;
}

/* FOCUS STATE */
#test-date-field .DateInput_input__focused {
  outline: none !important;
  border: none !important;
}

/* (Optional) increase z-index if calendar popup gets cut off */
#test-date-field .DateRangePicker_picker {
  z-index: 1000 !important;
}

.keiser-lifts-checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem 1rem;
  font-size: 16px;
  padding-bottom: 5px;
}

.keiser-lifts-radio {
    margin-left: 25px;
    font-size: 14px;
    padding-top: 18px;
    align-items: left;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem 1rem;
}
.keiser-lifts-switch {
    font-size: 0px;
    /* display: flex; */
    align-items: left;
    vertical-align: middle!important;
    padding-top: 0px;
}
.keiser-lifts-label {
    padding-top: 5px;
    margin-left: 25px;
    font-size: 16px !important;
    vertical-align: middle !important;
    align-items: left;
}
.keiser-lifts-label-2 {
    margin-left: 25px;
    font-size: 14px !important;
    padding-top: 14px;
    vertical-align: bottom !important;
}

.keiser-lifts-required {
    color: red;
    margin-left: 5px;
}
.keiser-lifts-input {
    height: 30px !important;
    vertical-align: middle!important;
    background-color: #fff; 
}

.custom-ag-grid-keiser .ag-header-cell{
    background-color: #adccf0 !important;
    border-right: 0.5px solid #e0e0e0;
    border-bottom: 0.5px solid #e0e0e0;
    color: rgba(0, 0, 0, 0.6) !important;
}

.custom-ag-grid-keiser .ag-header-cell:not(:is([col-id="delete"], [col-id="athlete_name"])) {
    padding: 5px;
    min-width: 50px;
    /* max-width: 100px; */
}

.custom-ag-grid-keiser .ag-header-cell[col-id="delete"] {
    min-width: 35px;
    max-width: 35px;
    padding: 0;
}
.custom-ag-grid-keiser .ag-header-cell[col-id="athlete_name"] {
    min-width: 130px;
    max-width: 130px;
    padding: 0;
}
.custom-ag-grid-keiser .ag-header-group-cell {
    justify-content: center;
    /* background-color: #adccf0 !important; */
    border-right: 0.5px solid #e0e0e0;
    border-bottom: 0.5px solid #e0e0e0;
    /* color: rgba(0, 0, 0, 0.6) !important; */
    padding: 10px;
    min-width: 100px; 
}
.dcc-dropdown-keiser, #eval-period-k, #group-k, #location-k {
    width: 95% !important;
    height: 40px;
    /* padding: 0px 0px; */
    box-sizing: border-box;
    background-color: #fff; /* White background for input fields */
    margin: 0px; /* Space between input fields and next label */
    display: block; /* Ensure input is on a new line */
}
.dcc-input-keiser, #test-date-k {
    width: 95% !important;
    height: 38px;
    box-sizing: border-box;
    background-color: #fff; /* White background for input fields */
    margin: 0px; /* Space between input fields and next label */
    display: block; /* Ensure input is on a new line */
}


/* @font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/_hcms/googlefonts/Poppins/600.woff2") format("woff2"), url("/_hcms/googlefonts/Poppins/600.woff") format("woff");
}
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/_hcms/googlefonts/Poppins/regular.woff2") format("woff2"), url("/_hcms/googlefonts/Poppins/regular.woff") format("woff");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/_hcms/googlefonts/Poppins/700.woff2") format("woff2"), url("/_hcms/googlefonts/Poppins/700.woff") format("woff");
} */