/* styles.css */

body {
  background-color: #ED4D57; /* Background color */
  color: #fff; /* White text color */
  font-family: Arial, sans-serif; /* Set a clean, modern font */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  height: 120vh; /* Full viewport height */
  text-align: center; /* Center text */
  flex-direction: column; /* Stack elements vertically */
}

h1, h2 {
  margin: 0 0 20px 0; /* Add space below the headers */
}

#logo {
  width: 250px; /* Logo width */
  margin-top: 20px; /* Space between logo and other content */
  padding-top: 60px;
}

form {
  display: inline-block;
  text-align: center;
 /* background-color: rgba(0, 0, 0, 0.3); *//* Semi-transparent background */
  padding: 50px;
  border-radius: 10px;
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
  width: 350px; /* Set form width */
  height: 1200px;
}

input[type="text"], input[type="date"], .range-slider {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background-color: #333; /* Button background color */
  color: #fff; /* Button text color */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #555; /* Darker button background on hover */
}

.team-suggestions {
  border: 1px solid #ddd;
  max-height: 100px;
  overflow-y: auto;
  display: none;
}

.team-suggestions div {
  padding: 5px;
  cursor: pointer;
}

.team-suggestions div:hover {
  background-color: #f0f0f0;
}

/* Center-align content in range container */
/* Center-align the label and range slider within the container */
.range-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.range-label {
  display: inline-block;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 5px; /* Space between label and range slider */
}
  #odds-a-value {
    margin-left: 4px; /* Adjust the value to control the spacing */
  }
.range-slider {
  width: 350%; /* Set this to 90% of the parent container, adjust as necessary */
  max-width: 400%; /* Ensure it doesn't exceed the screen width */
}
.league-suggestions {
  text-align: left;
}

.share-icon {
  width: 36px;
  height: 36px;
  margin: 0 12px;
  vertical-align: middle;
}

/* Container for output styling */
#output {
  display: none;
  background-color: #f8f9fa; /* Light background */
  border: 1px solid #ddd; /* Light border */
  padding: 15px; /* Add padding for space */
  border-radius: 8px; /* Rounded corners */
  font-family: Arial, sans-serif; /* Clean, readable font */
  line-height: 1.6;
  color: #333; /* Darker text color for readability */
  width: 100%;
  max-width: 400px;
  margin: 20px auto; /* Center align with spacing */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

#match-outcome {
  font-size: 1.2em;
  font-weight: bold;
 /* color: green;  or red, or dynamic based on outcome if you want */
  margin-top: 8px;
}

/* Style for headings in output */
#outputs h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #007bff; /* Light blue for headers */
}

/* Styling individual text elements within the output */
#outputs p {
  margin: 5px 0;
}

/* Emphasize important details like team names and outcome */
#outputs span.important {
  font-weight: bold;
  color: #495057;
}



  /* Style the input fields to have space for the cross icon */
 .clearable-input {
    position: relative;
  }

  /* Clear button styling - position on the left */
  .clear-button {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden; /* Initially hidden */
    width: 12px; /* Make SVG icon smaller */
    height: 12px;
  }

  /* Add padding to input to avoid text overlap with SVG */
  .clearable-input input {
    padding-left: 8px;
  }

    .clearable-input input:not(:placeholder-shown) + .clear-button {
    visibility: visible;
  }