body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #f9f9f9;
}

h2 {
    margin-bottom: 10px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-controls {
    font-size: 0.9em;
    text-align: right;
}

form {
    margin-top: 20px;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

select, input[type="number"] {
    padding: 6px;
    margin: 6px 0;
    font-size: 14px;
}

button {
    padding: 8px 16px;
    font-size: 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #0056b3;
}

.match {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.locked-bet {
    color: #888;
    font-style: italic;
}

.match-time {
    font-size: 0.85em;
    color: #666;
}

input[type="number"] {
    width: 60px;
    padding: 4px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.success-msg {
    color: green;
    font-weight: bold;
}

button[type="submit"] {
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.avatar-option {
            font-size: 1.5em;
            cursor: pointer;
            padding: 5px;
}
.avatar-option.selected {
            background: #007bff;
            color: white;
            border-radius: 4px;
}

.perfect-bet {
    background-color: #e0ffe0;
    font-weight: bold;
}

a {
    color: #0056b3;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:visited {
    color: #0056b3;
}


.message-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  height: 60px;
  margin-bottom: 20px;
  background: #f0f8ff;
  border: 1px solid #ccc;
  padding: 0 40px;
  box-sizing: border-box;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.message-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  height: 60px;
  margin-bottom: 20px;
  background: #f0f8ff;
  border: 1px solid #ccc;
  padding: 0 40px;
  box-sizing: border-box;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 0 20px;
  font-style: italic;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
  color: #007BFF;
}

.arrow.left { left: 5px; }
.arrow.right { right: 5px; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-header a {
    text-decoration: none;
    padding: 5px 10px;
}

.admin-header a:hover {
    text-decoration: underline;
}
