
body {
  font-family: Arial, sans-serif;
  padding: 1rem;
  background: url('rink-background.png') no-repeat center center fixed;
  background-size: cover;
}

.app {
  max-width: 600px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 8px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.logo-box {
  margin-bottom: 0.5rem;
}
.logo-box img {
  max-width: 120px;
  height: auto;
  display: block;
}
#teamName {
  font-size: 1.5rem;
  text-align: center;
  padding: 0.4rem;
  width: 100%;
  max-width: 300px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
}
select, input, textarea {
  width: 100%;
  padding: 0.4rem;
  margin-top: 0.2rem;
  box-sizing: border-box;
}
.line-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
button {
  padding: 0.5rem;
  background-color: #0055a5;
  color: white;
  border: none;
  border-radius: 4px;
}
.grid-3, .grid-2, .grid-1 {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.grid-3 > div, .grid-2 > div, .grid-1 > div {
  flex: 1;
}
.grid-3 select, .grid-2 select, .grid-1 select {
  display: block;
  margin-bottom: 0.5rem;
}

.vs-label {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
#opponentName {
  font-size: 1.5rem;
  text-align: center;
  padding: 0.4rem;
  width: 100%;
  max-width: 300px;
}

.small-header {
  font-size: 1rem;
}

h1, h2, h3, label {
  text-align: center;
}
.logo-box {
  display: flex;
  justify-content: center;
  width: 100%;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-box {
  margin-bottom: 0.5rem;
  width: auto;
}
.logo-box img {
  display: block;
  max-width: 120px;
  height: auto;
}
#teamName, #opponentName {
  font-size: 1.5rem;
  text-align: center;
  padding: 0.4rem;
  width: 100%;
  max-width: 300px;
}
.vs-label {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-box input[type="file"] {
  margin-bottom: 0.5rem;
}

/* Keep multi-column layout regardless of screen size */
.grid-3, .grid-2, .grid-1 {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grid-3 > div, .grid-2 > div, .grid-1 > div {
  flex: 1;
}

/* Remove stacking behavior entirely on small screens */
@media screen and (max-width: 768px) {
  .grid-3, .grid-2, .grid-1 {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}

#app-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #111;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.app-logo {
  height: 50px;
  margin-right: 15px;
}

.app-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
