@import "general_styles/general_styles.css";
@import "general_styles/form_styles.css";


#dateHeader {
    text-align: center;
    margin-top: 20px;
}

.teamLogo {
    height: 50px;
    width: 50px;
}

.gamesLayout {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.gameContainer {
    display: flex;
    flex-direction: column;

    border-style: solid;
    border-color: black;
    background-color: lightblue;
    width: 250px;

    margin: 20px;
}

.arrow_img {
  height: 20px;
  width: 20px;
}

.topGameSection {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top:10px;
  height: auto;
}

.bottomGameSection {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: flex-start;
  text-align: center;
}

.awayTeamDiv, .homeTeamDiv, .gameTimeDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
}

.gameTimeDiv {
  width: 125px;
}

.baseballInfoDiv {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.basesImg {
  height: 50px;
  width: 70px;
}

.awayTeamDiv, .homeTeamDiv {
    font-family: 'Franklin Gothic Medium';
}

.gameTimeDiv p {
  padding-left: 5px;
  padding-right: 5px;
}

.score {
  font-size: 28–36px;
  font-weight: 700–800;
  letter-spacing: 0.03em;
}

.status {
    font-size: 18–22px;
    font-weight: 600;

}

.mlbCount {
  font-size: 14–16px;
  font-weight: 600;
}

.yardMarker {
  font-size: 14–18px;
  font-weight: 600;
}

#noGamesWarning {
    text-align: center;
    font-size: 75px;
}

.gameTimeDiv > p {
    margin: 5%;
}

#byeWeekSection {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.byeTeamsDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

/* Center a standalone date input */
.date-wrapper {
  max-width: 150px;
  margin-left: 50px;
  text-align: center;
  padding: 2rem;
  background: lightgreen;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Optional label */
.date-wrapper label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

/* Date input styling */
.date-wrapper input[type="date"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  border: 1.5px solid #ccc;
  border-radius: 6px;

  /* Makes it consistent across browsers */
  appearance: none;

  /* For browsers that show a calendar icon */
  background-image:
    url("data:image/svg+xml;utf8,<svg fill='gray' height='22' viewBox='0 0 24 24' width='22' xmlns='http://www.w3.org/2000/svg'><path d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;

  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
}

/* Hover + Focus */
.date-wrapper input[type="date"]:hover {
  border-color: #888;
}

.date-wrapper input[type="date"]:focus {
  border-color: #2962ff;
  box-shadow: 0 0 0 3px rgba(41,98,255,0.25);
  outline: none;
}

h3 {
  text-align: center;
}