/*
 * 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: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
  --button-bg-color: #4CAF50;
  --button-hover-color: #45a049;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
}

header {
  background: white;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--main-bg-color);
  margin-bottom: 2rem;
  overflow: hidden;
}

.application-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .application-heading {
    padding: 1rem 2rem;
  }
}

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

.logo-link img {
  height: 50px;
  width: auto;
}

.app-name-link {
  text-decoration: none;
  margin-right: 1rem;
}

.app-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main-bg-color);
  letter-spacing: -0.5px;
}

.app-name-link:hover .app-name {
  color: #d86325;
}

.left-elements a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  font-weight: 500;
}

.left-elements a:hover {
  background-color: #f5f5f5;
  color: var(--main-bg-color);
}

.right-elements {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.right-elements a {
  text-decoration: none;
  color: white;
  background-color: var(--main-bg-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.right-elements a:hover {
  background-color: #d86325;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

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

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

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 98%;
  max-width: 2000px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

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

.page-heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 1.5rem 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 1.5rem;
}

.page-heading h1 {
  color: #333;
  margin: 0;
  font-weight: 700;
}

.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 #e0e0e0;
  text-align: center;
  padding: 12px 15px;
}

th {
  background-color: var(--main-bg-color);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

tbody tr:hover {
  background-color: #fff3e0;
}

.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: 12px 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--main-font-family);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.quote-form textarea:focus,
.quote-form select:focus,
.quote-form input:focus {
  outline: none;
  border-color: var(--main-bg-color);
  box-shadow: 0 0 0 3px rgba(237, 112, 45, 0.1);
}

.quote-form button {
  padding: 12px 24px;
  background-color: var(--button-bg-color);
  color: white;
  border: none;
  cursor: pointer;
  display: block;
  width: 100%;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.quote-form button:hover {
  background-color: var(--button-hover-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quote-form button:active {
  transform: translateY(0);
}

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

.hidden-quote-form-wrapper {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hidden-quote-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.hidden-quote-form input,
.hidden-quote-form select {
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--main-font-family);
  font-size: 0.9rem;
  background-color: white;
  transition: all 0.2s ease;
  height: auto;
  min-width: 150px;
  width: auto !important;
  margin-bottom: 0 !important;
}

.hidden-quote-form input:focus,
.hidden-quote-form select:focus {
  outline: none;
  border-color: var(--main-bg-color);
  box-shadow: 0 0 0 3px rgba(237, 112, 45, 0.1);
}

.hidden-quote-form button {
  padding: 8px 20px;
  background-color: var(--button-bg-color);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  height: auto;
  white-space: nowrap;
  width: auto !important;
}

.hidden-quote-form button:hover {
  background-color: var(--button-hover-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hidden-quote-form button:active,
.hidden-quote-form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: translateY(0);
}

.quote-form button:active,
.quote-form button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: translateY(0);
}

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

.copy-table-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.copyTableButton {
  cursor: pointer;
  padding: 8px 16px;
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--main-font-family);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.copyTableButton:hover {
  border-color: var(--main-bg-color);
  color: var(--main-bg-color);
  background-color: #fff3e0;
}

/* Controls styling for dropdowns outside of forms */
.controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
}

.controls label {
  font-weight: 600;
  color: #333;
}

.controls select {
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--main-font-family);
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.controls select:hover {
  border-color: #ccc;
}

.controls select:focus {
  outline: none;
  border-color: var(--main-bg-color);
  box-shadow: 0 0 0 3px rgba(237, 112, 45, 0.1);
}

.hint {
  color: #666;
  font-size: 0.9em;
  margin-top: 2.5em;
  border-top: 2px solid #e0e0e0;
  padding: 1.5em;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
}

.hint h3 {
  margin-top: 0;
  color: #333;
}

.hint code {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  display: block;
  margin: 1em 0;
  overflow-x: auto;
}

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

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Home page styles */
.home-container {
  max-width: 1200px;
}

.hero-section {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  padding: 2rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  border-color: var(--main-bg-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--main-bg-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 4.5em;
}

.feature-link {
  display: inline-block;
  color: var(--main-bg-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.feature-link:hover {
  background-color: var(--main-bg-color);
  color: white;
}

.quick-start {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.quick-start h2 {
  color: #333;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.quick-start-steps {
  margin: 0;
  padding-left: 1.5rem;
}

.quick-start-steps li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #666;
}

.quick-start-steps strong {
  color: var(--main-bg-color);
}
/*
 * 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: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
  --button-bg-color: #4CAF50;
  --button-hover-color: #45a049;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
}

.application-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
}

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

.left-elements a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  font-weight: 500;
}

.left-elements a:hover {
  background-color: #f5f5f5;
  color: var(--main-bg-color);
}

.right-elements {
  text-align: right;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.right-elements a {
  text-decoration: none;
  color: white;
  background-color: var(--main-bg-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  font-weight: 500;
}

.right-elements a:hover {
  background-color: #d86325;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

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

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

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 98%;
  max-width: 2000px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

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

.page-heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 1.5rem 0;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 1.5rem;
}

.page-heading h1 {
  color: #333;
  margin: 0;
  font-weight: 700;
}

.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 #e0e0e0;
  text-align: center;
  padding: 12px 15px;
}

th {
  background-color: var(--main-bg-color);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

tbody tr:hover {
  background-color: #fff3e0;
}

.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: 12px 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-family: var(--main-font-family);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.quote-form textarea:focus,
.quote-form select:focus,
.quote-form input:focus {
  outline: none;
  border-color: var(--main-bg-color);
  box-shadow: 0 0 0 3px rgba(237, 112, 45, 0.1);
}

.quote-form button {
  padding: 12px 24px;
  background-color: var(--button-bg-color);
  color: white;
  border: none;
  cursor: pointer;
  display: block;
  width: 100%;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.quote-form button:hover {
  background-color: var(--button-hover-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quote-form button:active {
  transform: translateY(0);
}

.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: #666;
  font-size: 0.9em;
  margin-top: 2.5em;
  border-top: 2px solid #e0e0e0;
  padding: 1.5em;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
}

.hint h3 {
  margin-top: 0;
  color: #333;
}

.hint code {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  display: block;
  margin: 1em 0;
  overflow-x: auto;
}

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;
}
