#team-container {
    display: flex;
    justify-content: space-around; /* 양쪽 균등 정렬 */
    gap: 20px;
    margin-top: 20px;
}

.team-column {
    width: 40%; /* 각 팀 박스 너비 */
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #3e3e3e;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}


body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px;
    background-color: #1e1e1e;
    color: white;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#input-container, #result-container {
    margin: 20px auto;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    border: 1px solid #555;
    border-radius: 10px;
    background-color: #2e2e2e;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

h3 {
    margin-bottom: 10px;
    text-align: left;
}

.player-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5줄 배열 */
    gap: 10px;
    margin-bottom: 20px;
}

.player-button {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.player-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.player-button.selected {
    background-color: #4caf50; /* 선택된 상태 - 초록색 */
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#team-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.team-column h4 {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.team-a-title {
    color: #ff4d4d; /* 빨간색 */
}

.team-b-title {
    color: #b366ff; /* 보라색 */
}

.team-status {
    color: #4caf50;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin: 5px;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
