
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#footer{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.newcontainer {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

/* Space below the dropdown selection area */
.selection-area {
  margin-bottom: 20px;
}

/* Uniform styling for all select elements and buttons */

.selectelement {
  padding: 10px;
  margin-right: 10px;
  font-size: 16px;
  width: auto !important;
}

/* Button-specific styles, including background color, border radius, and hover effect */
#comparebtn {
  cursor: pointer;
  background-color: #005F73;
  color: white;
  border: none;
  padding-left: 40px;
  padding-right: 40px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  width: auto !important;
  height: auto !important;
  font-weight: normal !important;
  text-transform: capitalize !important;
  margin-right: 10px;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}


/* Styles for the result display box including shadow, border, and spacing */
.result-box {
  width: auto !important;
  background-color: #fff;
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

/* Flex container for displaying results side by side */
.parrent {
  display: inline-flex;
  gap: 20px;
  line-height: normal !important;
  color: #000 !important;
}

/* Ensures proper spacing and alignment within result boxes */
.result-box p {
  margin-bottom: 8px;
}

.result-box h3 {
  text-align: center;
  font-size: 18.72px !important;
  font-weight: 700 !important;
  margin-top: 20px !important;
  line-height: normal !important;
  color: black !important;
}

/* Table styles within result boxes, including border and collapse properties */
.result-box table,
.result-box th,
.result-box td {
  border: 1px solid #ddd;
  border-collapse: collapse;
  text-align: left;
  padding: 8px;
  margin-bottom: 0px !important;
}

/* Styles for the 'More Details' and alternate button with contrasting color */
.visit-broker {
  padding: 10px;
  width: 100%; /* Makes the button fill the width of the box */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  background-color: #005F73;
  color: white;
}

.readmore {
  background-color: #fff;
  color: #000;
  margin-top: 15px;
  border: none;
}

.readmore:hover {
  text-decoration: underline;
}

/* Error message styling */
.error {
  color: #ff0000;
  margin: 10px 0;
  text-align: center;
}
div:where(.swal2-container) .swal2-html-container{
    font-size: 13px !important;
}

/* Flex container for exchange info alignment */
.exchange-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Styles for the exchange logo */
.exchange-logo {
  width: 20px;
  height: 20px;
}

/* Responsive design adjustments for smaller screens */
@media (max-width: 480px) {
  .selectelement {
    padding: 5px;
    font-size: 9px; /* Adjusted for readability */
    margin-right: 5px;
    border-radius: 2px;
    width: auto !important;
    height: 30px !important;
    min-height: 30px !important;
    border: 1px solid #000 !important;
    cursor: pointer !important;
  }
  #comparebtn {
    font-size: 9px !important; /* Adjusted for readability */
    margin-right: 5px !important;
    border-radius: 2px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    background-color: #005F73;
  }
  .parrent {
    margin-left: 0px !important;
    display: block;
    gap: 20px;
    text-align: center;
    line-height: normal !important;
  }

  .newcontainer h1 {
    font-size: 15px !important;
  }
}
