:root {
  --primary: #d3dbe2;
  --primary-dark: #0056b3;
  --background: #f4f4f4;
  --white: #fff;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--background);
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.container {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow);
}

h1,
h3 {
  text-align: center;
  color: #333;
}

.hidden {
  display: none;
}

input[type="text"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#add-btn {  
  background: var(--primary);
  margin-top: 1rem;

}

#add-btn:hover {
  background: #028a24;
}

#storno-btn:hover {
    background: #ea060e;
  }

button:hover {
  background: var(--primary-dark);
}

.team-button {
  padding: 0.6rem 1rem;
  margin: 0.25rem;
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.team-button.selected {
  background: var(--primary-dark);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.link {
  margin-top: 2rem;
  display: block;
  text-align: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .container {
    padding: 1.5rem;
  }

  button,
  .team-button {
    font-size: 0.9rem;
  }
}
