/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --main-bg-color: #ed702d;
  --main-font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;
  --button-bg-color: #4CAF50;
  --button-hover-color: #45a049;
}

.application-heading {
  display: flex;
  justify-content: space-between; /* This will push your .right-element to the far right */
  align-items: center;
  width: 100%;
}

.left-elements {
  display: flex;
  align-items: center;
}

.right-elements {
  text-align: right;
}

.application-heading > *,
.application-heading > * > * {
  margin: 0 10px;
}

body {
  font-family: var(--main-font-family);
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 98%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 10px;
}

.wild-container {
  max-width: unset;
}

.page-heading {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  justify-content: left;
  width: 100%;
}

.page-heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
}

.page-heading-right-wrapper {
  padding-right: 4em;
  align-self: flex-end;
}

.horizontal-float {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  margin: 0%;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

.horizontal-float .table-container {
  width: auto;
  flex: 1 0 auto;
  margin: 10px 2px;
}

.horizontal-float table td {
  padding: 4px;
  height: 100px;
  max-width: max-content;
}

.horizontal-float table th {
  max-width: max-content;
}

.hide {
  margin: 0% !important;
  padding: 0% !important;
  width: 0;
  overflow: hidden;
  color: white;
}

table, th, td {
  border: 1px solid #d3d3d3;
  text-align: center;
  padding: 15px;
}

th {
  background-color: var(--main-bg-color);
  color: white;
}

.quote-form {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.quote-form textarea,
.quote-form select,
.quote-form input,
.quote-form input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.quote-form button {
  padding: 10px 20px;
  background-color: var(--button-bg-color);
  color: white;
  border: none;
  cursor: pointer;
  display: block;
  width: 100%;
}

.quote-form button:hover {
  background-color: var(--button-hover-color);
}

.form-heading {
  max-width: 600px;
}

.hidden-quote-form-wrapper {
  align-self: flex-end; /* Aligns the form to the right */
}

.hidden-quote-form {
  margin: 20px auto;
  display: flex;
  width: 300px;
  flex-direction: row;
}

.hidden-quote-form > * {
  height: 40px;
  width: unset;
}

@media screen and (max-width: 1400px) {
  .quote-meta-data {
    display: none;
  }
}

.copy-table-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* Aligns h1 to the left and form to the right */
  width: 100%;
  height: 30px;
}

.copyTableButton {
  cursor: pointer;
}

.hint {
  color: #888;
  font-size: 0.8em;
  margin-top: 2em;
  border-top: 1px solid #eee;
  padding-top: 1em;
}

.hint code {
  background-color: #F9F9F9;
  border: 1px solid #ddd;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: monospace;
}

h1 .subtext {
  display: block;
  font-size: medium;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}



/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
