:root {
  --faint-outline: #454545;
  --game-border: LightSlateGray;
}

.games_frame {
  border: 1px solid var(--faint-outline, silver);
  width: 80%;
  border-radius: 10px;
}

.game_list {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px;
  width: 100%;
  min-height: 5em;
  padding: 3px 0;
}

.game_list.invites {
  min-height: 20vh;
}

.games_type_links {
  margin-bottom: 0.5em;
}

.game_with_button {
  box-sizing: border-box;
  width: auto;
  min-height: 2em;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 1em;
  border: 1px solid var(--game-border, LightSlateGray);
  padding: 2px 0 2px 1em;
  margin: 0 1em;
}

.game_no_button {
  box-sizing: border-box;
  width: auto;
  min-height: 2em;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 1em;
  border: 1px solid var(--game-border, LightSlateGray);
  padding: 2px 1em;
  margin: 0 1em;
}

.my_invite {
  border-color: LimeGreen;
}

.my_invite_private {
  border-color: DarkGreen;
}

.other_invite_private {
  border-color: crimson;
}

#invite_options {
  display: flex;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid var(--faint-outline, silver);
  border-radius: 10px;
  margin-bottom: 0.3em;
}

.invites_bottom_controls {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  border-top: 1px solid var(--faint-outline, silver);
  border-radius: 10px;
  margin-top: 1em;
  padding: 0.3em 0;
  min-height: 1em;
  gap: 0.3em;
}

.invites_bottom_checkboxes {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.admin_label {
  color: crimson;
}

#invite_options select {
  box-sizing: content-box;
  text-align: center;
  width: auto;
  padding: 0 0.2em;
}

.admin_cancel_invite_btn {
  box-sizing: border-box;
  text-align: center;
  width: auto;
  padding: 0.1em 0.2em;
  margin: 0 1px 0 0;
  border: 2px solid crimson;
  color: crimson;
  background-color: inherit;
}

#invite_friend {
  align-self: center;
}

.game_text_item {
  margin: auto 0;
}

.option-card {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: .3em min(1vw, 1em);
}

#new_invite_btn {
  height: 100%;
}

.not_found_box {
  margin-top: 2em;
  border: 1px solid var(--faint-outline, silver);
  width: 70%;
  border-radius: 2px;
  min-height: 10em;
  padding: 1em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.user_games_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%
}

#disconnected {
  border: 2px solid red;
  margin: 0 auto 1em auto;
  width: auto;
  height: auto;
  padding: 0.5em;
}

#invites_profile_info {
  margin-bottom: 0.5em;
}
