* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: #F8F1E6;
  color: #183C59;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #14B8C6;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
}

h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-align: center;
  color: #14B8C6;
  font-weight: 700;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #14B8C6;
  font-weight: 700;
}

.btn {
  padding: 15px 30px;
  background-color: #14B8C6;
  color: #fff;
  border: 3px solid #14B8C6;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin: 0 auto 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn:hover {
  background-color: #0fa3af;
  border-color: #0fa3af;
}

.btn-center {
  text-align: center;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background-color: #fff;
  color: #14B8C6;
  border-color: #14B8C6;
  border-radius: 8px;
}

.btn-small:hover {
  background-color: #A6E4EA;
  color: #183C59;
}

.input {
  padding: 15px;
  border: 2px solid #A6E4EA;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 15px;
  background-color: #fff;
  color: #183C59;
}

.input:focus {
  outline: none;
  border-color: #14B8C6;
}

.textarea {
  padding: 15px;
  border: 2px solid #A6E4EA;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  width: 100%;
  min-height: 100px;
  margin-bottom: 15px;
  resize: vertical;
  background-color: #fff;
  color: #183C59;
}

.textarea:focus {
  outline: none;
  border-color: #14B8C6;
}

.toggle {
  display: flex;
  margin-bottom: 15px;
}

.toggle-btn {
  flex: 1;
  padding: 15px;
  border: 2px solid #A6E4EA;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: bold;
  text-align: center;
  background-color: #fff;
  cursor: pointer;
  color: #183C59;
  transition: all 0.2s;
}

.toggle-btn.active {
  background-color: #14B8C6;
  color: #fff;
  border-color: #14B8C6;
}

.toggle-btn:first-child {
  border-right: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.toggle-btn:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.map-container {
  width: 100%;
  height: 250px;
  border: 3px solid #000;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #666;
}

.coordinates {
  padding: 10px;
  border: 3px solid #000;
  background-color: #f5f5f5;
  text-align: center;
  margin-bottom: 15px;
}

.list-item {
  padding: 10px;
  margin-bottom: 8px;
  border-left: 3px solid #000;
  padding-left: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.error {
  color: #cc0000;
  padding: 15px;
  border: 3px solid #cc0000;
  margin-bottom: 20px;
  background-color: #ffe0e0;
}

.success {
  color: #006600;
  padding: 15px;
  border: 3px solid #006600;
  margin-bottom: 20px;
  background-color: #e0ffe0;
}

.info {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}

.flex-row {
  display: flex;
  gap: 10px;
}

.flex-row .input {
  flex: 1;
  margin-bottom: 0;
}

.flex-row .btn {
  width: auto;
  margin: 0;
}

input:disabled,
textarea:disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

.count {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 30px 0;
}

/* Navigation */
.back-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #fff;
  color: #14B8C6;
  border: 2px solid #14B8C6;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.back-btn:hover {
  background-color: #A6E4EA;
  color: #183C59;
}

.user-menu {
  position: relative;
  display: inline-block;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}

.user-menu-trigger:hover {
  background-color: #A6E4EA;
  border-radius: 5px;
}

.user-menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 5px;
  background-color: #fff;
  border: 2px solid #A6E4EA;
  min-width: 150px;
  z-index: 1000;
}

.user-menu-dropdown.show {
  display: block;
}

.user-menu-item {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 1px solid #A6E4EA;
  color: #183C59;
}

.user-menu-item:last-child {
  border-bottom: none;
}

.user-menu-item:hover {
  background-color: #A6E4EA;
  color: #183C59;
}

.game-title-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

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