/* Style sheet for the Bahn Bingo project */

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

a {
    color: #0078d4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Linktree-like buttons on the start page */
.link-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.link-buttons a {
    display: block;
    background-color: #0078d4;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.link-buttons a:hover {
    background-color: #005aa3;
}

/* Forms for login and registration */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

form input[type="text"],
form input[type="password"] {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form input[type="submit"] {
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: #0078d4;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

form input[type="submit"]:hover {
    background-color: #005aa3;
}

.error-message {
    color: red;
    margin-top: 1rem;
}

.success-message {
    color: green;
    margin-top: 1rem;
}

/* Bingo board styles */
.bingo-container {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 4px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bingo-cell {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 1rem;
    cursor: pointer;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bingo-cell.selected {
    background-color: #0078d4;
    color: #fff;
}

.bingo-cell.free {
    background-color: #e0e0e0;
    color: #333;
    font-weight: bold;
    cursor: default;
}

.bingo-status {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #0078d4;
}

.logout-link {
    margin-top: 1rem;
    display: block;
    font-size: 0.9rem;
    color: #0078d4;
}