* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Admin Controls */
.admin-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.session-selector {
    display: flex;
    align-items: center;
}

.session-selector label {
    margin-right: 10px;
    font-weight: bold;
}

.session-selector select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.reset-btn {
    padding: 8px 16px;
    background-color: #ff3b30;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.reset-btn:hover {
    background-color: #d9342b;
}

/* Bingo Grid */
.bingo-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.bingo-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.bingo-cell:hover {
    background-color: #e0e0e0;
}

.bingo-cell.selected::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background-color: rgba(255, 59, 48, 0.7);
    z-index: 1;
}

/* Client View Specific */
.client-view .bingo-cell {
    cursor: default;
}

#session-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-weight: bold;
}

/* Session Form and List */
.session-form, .session-list {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.session-form p, .session-list p {
    margin-bottom: 10px;
    font-weight: bold;
}

.session-form input {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 70%;
    margin-right: 10px;
}

.session-form button, .session-list button {
    padding: 8px 16px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.session-form button:hover, .session-list button:hover {
    background-color: #0056b3;
}

#available-sessions {
    list-style: none;
    padding: 0;
    margin: 0;
}

#available-sessions li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

#available-sessions li:last-child {
    border-bottom: none;
}

#available-sessions a {
    color: #007aff;
    text-decoration: none;
    display: block;
    padding: 5px;
    border-radius: 4px;
}

#available-sessions a:hover {
    background-color: #e0e0e0;
    text-decoration: underline;
}
