/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f2f2f2;
  color: #333;
  padding: 20px;
  min-height: 100vh;
}

/* Container */
.mobile-container {
  max-width: 400px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Headings */
.mobile-container h1 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Labels and Inputs */
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Buttons */
button {
  width: 100%;
  padding: 12px;
  background-color: #c9302c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #a12422;
}

/* Error and Status Messages */
.error-message {
  color: #c9302c;
  font-size: 0.95rem;
  margin-top: 10px;
  text-align: center;
}

.status-message {
  color: green;
  font-size: 0.95rem;
  margin-top: 10px;
  text-align: center;
}

/* Email Lookup */
.alt-option {
  margin-top: 30px;
  text-align: center;
}

.alt-option a {
  color: #007bff;
  font-size: 0.95rem;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 10px;
}

/* Game Card */
.game-card {
  border: 2px solid black;
  border-radius: 12px;
    padding-top: 6px;
    padding-right: 16px;
    padding-bottom: 6px;
    padding-left: 16px;
  margin-bottom: 20px;
  background: white;
  font-family: Arial, sans-serif;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.1);
  position: relative;
}

/* Header block */
.game-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  position: relative;
}

/* Player info (left) */
.player-name {
  font-weight: bold;
  font-size: 1rem;
  padding-right: 50%;
}

.player-info {
  font-weight: normal;
  font-size: 0.75rem;
  color: #555;
}

/* Date + Field info (right corner) */
.game-date {
  font-weight: bold;
  font-size: 0.95rem;
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
  max-width: 50%;
}

.game-date .game-details {
  font-weight: normal;
  font-size: 0.75rem;
  color: #444;
  margin-top: 2px;
}

/* Team Rows */
.game-labels-row,
.game-teams-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 2px 0;
}

.game-labels-row .half {
  flex: 1;
  font-weight: bold;
  font-size: 0.95rem;
  color: #555;
}

.game-teams-row .half {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Location */
.game-location {
  color: #007bff;
  font-weight: bold;
  font-size: 0.75rem;
  text-align: center;
  margin-top: 10px;
}

/* Desktop layout enhancements */
@media (min-width: 600px) {
  .game-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .player-name {
    padding-right: 0;
    width: 60%;
  }

  .game-date {
    position: static;
    text-align: right;
    width: 40%;
  }
}
.close-button {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  background-color: #007bff;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
}

.close-button:hover {
  background-color: #000000;
}

.share-button {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  background-color: #007bff;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
}

.share-button:hover {
  background-color: #000000;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
