/* Import Roboto font from Google Fonts (merged and deduplicated) */
/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
*/

/* Body styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
}

/* Container styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid #3d8ab9;
  overflow-y: auto;
  max-height: 70vh;
}

th, td {
  text-align: left;
  border-right: 1px solid #ddd;
  font-size: 16px;
}

table td{
  padding: 5px;
  line-height: 25px;

}

th {
  padding: 8px;
  background-color: #fdba23;
  font-weight: bold;
}

/* Scrollable table container */
.scrollable-table {
  border-top: 1px solid #ddd;
  overflow-x: auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .data-select, .option-select, .symbol-search {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  form {
    flex-direction: column;
  }
}

/* H1 styles (moved to avoid repetition) */
h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

/* Form styles */
form {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border: 0px solid #ccc;
  border-radius: 5px;
  background-color: #fdba23;
}

.data-select {
  flex: 1;
  min-width: 120px;
  margin-right: 10px;
  display: contents;
  align-items: center;
}

.option-select{
  
  display: flex;
  align-items: center;
}
.data-select:last-child {
  margin-right: 0;
}

form select {
  height: 30px;
  padding: 5px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  width: max-content;
}

.symbol-search {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.symbol-search label,
.symbol-search input {
  width: auto;
  margin-bottom: 5px;
}

form label,
form input[type="text"],
form button[type="submit"] {
  padding: 5px;
  font-size: 16px;
  margin-bottom: 5px;
  border: 1px #fdba23;
  border-radius: 5px;
  width: -webkit-fill-available;
  font-weight: bold;
}
form input[type="text"]
{
  font-weight:lighter;
  height: 30px;
}

form button[type="submit"] {
  width: auto;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 0;
}

