/* === LAYOUT === */

form {
  margin: 0;
}

body {
  height: 100%;
  background: #0B1E35;
  font-size: 15px;
  line-height: 1.5;
  font-family: Gotham,gotham,Verdana,sans-serif;
}

.body_container {
  background-color: #F6F6F6;
  border-right: 1px solid black;
  border-left: 1px solid black;
}

.container {
  max-width: 900px;
}

.relative_class {
  position: relative;
}

.align_top {
  vertical-align: top;
}

@media only screen and (min-width: 900px) {
  .title_container_class {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* === UTILITIES === */

.hide_me {
  display: none;
}
.hide_important {
  display: none !important;
}

.bold {
  font-weight: bold;
}
.italic {
  font-style: italic;
}

.width100 {
  width: 100% !important;
}
.width20 {
  width: 20px !important;
}
.width0 {
  width: 10%;
}

.margin0 {
  margin: 0px !important;
}
.margin2top {
  margin-top: 2px !important;
}
.margin5top {
  margin-top: 5px !important;
}
.margin5topbottom {
  margin: 5px 0px 5px 0px !important;
}
.margin5left {
  margin-left: 5px;
}
.margin5right {
  margin-right: 5px !important;
}
.margin5leftright {
  margin-left: 5px;
  margin-right: 5px;
}
.margin5bottom {
  margin-bottom: 5px !important;
}
.margin10 {
  margin: 10px !important;
}
.margin10top {
  margin-top: 10px;
}
.margin10topbottom {
  margin: 10px 0px 10px 0px !important;
}
.margin10left {
  margin-left: 10px !important;
}
.margin10right {
  margin-right: 10px !important;
}
.margin10bottom {
  margin-bottom: 10px !important;
}
.margin10leftright {
  margin-left: 10px;
  margin-right: 10px;
}
.margin10leftright_minus {
  margin-left: -20px !important;
  margin-right: -20px !important;
}
.margin-10 {
  margin: -10px !important;
}

.padding0 {
  padding: 0px !important;
}
.padding5 {
  padding: 5px !important;
}
.padding5top {
  padding-top: 5px;
}
.padding5topbottom {
  padding: 5px 0px 5px 0px;
}
.padding5left {
  padding-left: 5px !important;
}
.padding5right {
  padding-right: 5px !important;
}
.padding5leftright {
  padding: 0px 5px 0px 5px !important;
}
.padding10 {
  padding: 10px !important;
}
.padding10top {
  padding-top: 10px;
}
.padding10topbottom {
  padding-top: 10px;
  padding-bottom: 10px;
}
.padding10leftright {
  padding: 0px 10px 0px 10px !important;
}

.opacity50 {
  opacity: 0.5;
}
.opacity50hover {
  opacity: 0.5;
}
.opacity50hover:hover {
  opacity: 0.8;
}
.opacity70 {
  opacity: 0.7 !important;
}
.opacity70:hover {
  opacity: 1 !important;
}
.opacity100 {
  opacity: 1 !important;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.truncate_table td, .truncate_row td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contain_ellipsis_class {
  width: 100%;
  display: table;
  table-layout: fixed;
}
.contain_ellipsis_class > div {
  display: table-cell;
}
.ellipsis_class {
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap;
}

.fill_empty_space {
  float: left;
  width: 150px;
  overflow: hidden;
  white-space: nowrap;
}
.fill_empty_space:after {
  content: " ..................................................................................";
}

/* ── Q&A text/number input wrap (shared across pages) ── */

.qa_text_input_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.qa_number_input,
.qa_text_input_field {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: white;
  font-size: 1em;
  padding: 10px 14px;
  font-family: Gotham, gotham, Verdana, sans-serif;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.qa_number_input:focus,
.qa_text_input_field:focus {
  outline: none;
  border-color: rgba(16,201,176,0.5);
  background: rgba(0,0,0,0.35);
}

.qa_number_input::placeholder,
.qa_text_input_field::placeholder {
  color: rgba(255,255,255,0.3);
}


/* === COLORS === */

.color_white {
  background: white !important;
}
.color_silver, .silver {
  background: silver !important;
}
.color_default {
  background-color: #F6F6F6;
}
.color_gainsboro {
  background: gainsboro !important;
}
.border_grey {
  border: 1px solid gainsboro;
}


/* === HOVER & CURSOR === */

.hover_class:hover {
  background: gainsboro !important;
  cursor: pointer !important;
}
.hover_class_opacity:hover {
  opacity: 1;
  cursor: pointer !important;
}
.hover_class_border {
  transition: 250ms background-color;
}
.hover_class_border:hover {
  border: 1px solid silver;
  background-color: #F0F0F0;
  transition-delay: 250ms;
}
.pointer_class {
  cursor: pointer;
}


/* === NAVBAR === */

#navright {
  margin: 0 !important;
}
.nav-tabs {
  margin-left: 1px;
  margin-right: 1px;
}
.last_tab {
  margin-right: 0 !important;
}
.lowernav_class {
  color: silver;
}
.lowernav_class:hover {
  color: white !important;
  cursor: pointer;
}


/* === FORMS === */

::placeholder {
  color: silver !important;
}

.datefield * {
  display: inline-block;
}
.datefield input {
  width: 2.0em;
  padding: 0px 0px 0px 2px;
  border: none;
  font-size: 100%;
  background: none;
  color: #000;
}
.datefield input#year {
  width: 3.0em;
}
.datefield input:focus {
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

.custom_checkbox_container {
  outline: none !important;
}
.custom_checkbox_container:hover {
  cursor: pointer;
}
.custom_checkbox_container:active {
  border: 2px solid DimGray !important;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}


/* === TABLES === */

.table_style2 {
  border-collapse: collapse;
  width: 100%;
}
.table_style2 tr:nth-child(odd)  { background-color: #eee; }
.table_style2 tr:nth-child(even) { background-color: #fff; }

.table_style4 {
  border-collapse: collapse;
  width: 100%;
}
.table_style4 tr:nth-child(odd)  { background-color: #eee; }
.table_style4 tr:nth-child(even) { background-color: #fff; }
.table_style4 tr:hover {
  background: silver;
  cursor: pointer;
}

.table_style7 {
  border-collapse: collapse;
  width: 100%;
}
.table_style7 tr:nth-child(odd)  { background-color: #eee; }
.table_style7 tr:nth-child(even) { background-color: #fff; }
.table_style7 tr:hover {
  background: gainsboro;
  cursor: pointer;
}

.table_style8 {
  border-collapse: collapse;
  width: 100%;
}
.table_style8 tr {
  border-top: 1px solid gainsboro;
  border-bottom: 1px solid gainsboro;
}

.table_inner_rows_only tr:first-child,
.table_inner_rows_only tr:last-child {
  border-top: none !important;
  border-bottom: none !important;
}

.normal_table_font td {
  font-family: Helvetica;
  font-size: 14px;
}

.table_padding0 td  { padding: 0px; }
.table_padding5 td  { padding: 5px; }
.table_padding10 td { padding: 10px; }

.undo_stripes tr:nth-child(odd)  { background-color: inherit !important; }
.undo_stripes tr:nth-child(even) { background-color: inherit !important; }

.google_row_color:nth-child(odd)  { background-color: #f9f9f9 !important; }
.google_row_color:nth-child(even) { background-color: white !important; }
.google_row_color .google_row_inner {
  padding: 8px;
  line-height: 1.42857143;
}
.google_row_color {
  border-top: 1px solid #ddd;
}


/* === COMPONENTS === */

.popover {
  min-width: 250px;
}

.active-result.group-option {
  padding-left: 25px !important;
}

#overlayer {
  position: absolute;
  top: 0;
  bottom: 0;
  background: pink;
  color: red;
  opacity: 0.4;
  z-index: 9999;
  height: 100%;
  width: 100%;
}

.custom_backdrop {
  background: black;
  opacity: 0.3;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 15;
  top: 0px;
}

.myremove_class:hover {
  color: grey !important;
  cursor: pointer;
}
.remove_this_email:hover {
  cursor: pointer;
  color: red !important;
}


/* === AUTOCOMPLETE === */

.autocomplete_container {
  border: 1px solid silver;
  background: white;
  border-radius: 2px;
  box-shadow: 0px 3px 8px rgb(100,100,100);
}
.autocomplete_header {
  background: gray;
  color: white;
  padding: 5px;
}
.autocomplete_suggested {
  text-align: left;
  font-weight: bold;
  color: black;
  border-bottom: 1px solid silver;
  font-size: 10px;
}
.autocomplete_suggested:last-child {
  border-bottom: 0px;
}
.autocomplete_selected {
  background: gainsboro;
  cursor: pointer;
}
.autocomplete_suggested strong {
  color: dodgerblue;
  font-weight: bold;
}
.autocomplete_left {
  display: inline-block;
  background: gainsboro;
  width: 10%;
  padding: 10px 0px 10px 0px;
  text-align: center;
  vertical-align: top;
  font-size: 12px;
}
.autocomplete_middle {
  display: inline-block;
  width: 70%;
  vertical-align: top;
  font-size: 12px;
  padding: 10px 0px 10px 1%;
}
.autocomplete_right {
  display: inline-block;
  width: 20% !important;
  text-align: right;
  font-size: 12px;
  vertical-align: top;
  padding: 10px 1% 10px 0px;
}
.autocomplete_middle_full {
  display: inline-block;
  width: 90%;
  vertical-align: top;
  font-size: 12px;
  padding: 10px 0px 10px 1%;
}
.autocomplete_full {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  padding: 10px 0px 10px 1%;
  font-size: 12px;
}


/* === STRIPE === */

.example.example1 {
  background-color: #6772e5;
  margin: 0px !important;
}
.example.example1 * {
  font-family: Roboto, Open Sans, Segoe UI, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.example.example1 fieldset {
  padding: 0;
  border-style: none;
  background-color: #7795f8;
  box-shadow: 0 6px 9px rgba(50, 50, 93, 0.06), 0 2px 5px rgba(0, 0, 0, 0.08), inset 0 1px 0 #829fff;
  border-radius: 4px;
}
.example.example1 .rower {
  display: flex;
  align-items: center;
  margin-left: 15px;
}
.example.example1 .rower + .rower {
  border-top: 1px solid #819efc;
}
.example.example1 label {
  width: 15%;
  min-width: 70px;
  padding: 11px 0;
  color: #c4f0ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.example.example1 input, .example.example1 button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border-style: none;
}
.example.example1 input:-webkit-autofill {
  -webkit-text-fill-color: #fce883;
  transition: background-color 100000000s;
}
.example.example1 .StripeElement--webkit-autofill {
  background: transparent !important;
}
.example.example1 .StripeElement {
  width: 100%;
  padding: 11px 15px 11px 0;
}
.example.example1 input {
  width: 100%;
  padding: 11px 15px 11px 0;
  color: #fff !important;
  background-color: transparent;
}
.example.example1 input::placeholder {
  color: #87bbfd !important;
}
.example.example1 button:active {
  background-color: #d782d9;
  box-shadow: 0 6px 9px rgba(50, 50, 93, 0.06), 0 2px 5px rgba(0, 0, 0, 0.08), inset 0 1px 0 #e298d8;
}
.example.example1 .error svg .base {
  fill: #fff;
}
.example.example1 .error svg .glyph {
  fill: #6772e5;
}
.example.example1 .error .message {
  color: #fff;
}
.example.example1 .success .icon .border {
  stroke: #87bbfd;
}
.example.example1 .success .icon .checkmark {
  stroke: #fff;
}
.example.example1 .success .title {
  color: #fff;
}
.example.example1 .success .message {
  color: #9cdbff;
}
.example.example1 .success .reset path {
  fill: #fff;
}

.stripe_credit_card_class {
  border-radius: 4px !important;
}
.cc_name_class:focus {
  outline: none;
}

/* === TOAST === */

#toast_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: calc(env(safe-area-inset-top) + 20px);
  pointer-events: none;
}

.toast_message {
  width: 92%;
  max-width: 420px;
  background: linear-gradient(180deg, #dc3545, #c82333);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.toast_message.toast_success {
  background: linear-gradient(180deg, #28a745, #1e7e34);
}

.toast_message.toast_warning {
  background: linear-gradient(180deg, #fd7e14, #e06c0a);
}

.toast_message.toast_info {
  background: linear-gradient(180deg, #17a2b8, #117a8b);
}

.toast_message.show {
  opacity: 1;
  transform: translateY(0);
}
