body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    margin: 0;
    color: #f5f5f5;
}

.container {
    text-align: center;
    background-color: #333;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    max-width: 400px;
    width: 100%;
    /* margin: 0 50%; */
}

player-list {
    text-align: left;
    margin-top: 1em;
}

.role {
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-item {
    background-color: #444;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 1em;
    margin-bottom: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn-primary:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-success {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-success:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.form-control {
    background-color: #444;
    border: 1px solid #555;
    color: #f5f5f5;
}

.form-control:focus {
    background-color: #555;
    color: #f5f5f5;
}

.btn-success {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-success:hover {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.form-control {
    background-color: #444;
    border: 1px solid #555;
    color: #f5f5f5;
}

.form-control:focus {
    background-color: #555;
    color: #f5f5f5;
}

a {
    text-decoration: none !important;
}

p {
    font-weight: 700;
}

hr {
    border: none;
    border-top: 2px solid #7c7c7c;
    margin: 20px 0;
    border-radius: 10px;
    opacity: 0.5;
}

.modal-fade {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #333;
    color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.roles-config {
    background-color: #404040 !important;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #555;
    margin-top: 25px;
}

.roles-config h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.roles-config .text-muted {
    color: #b0b0b0 !important;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #555 !important;
    border-radius: 5px;
}

.role-item label {
    flex-grow: 1;
    text-align: left;
    margin: 0;
    font-weight: bold;
    color: #f5f5f5;
}

.role-item input[type="number"] {
    width: 55px;
    text-align: center;
    border: 1px solid #777;
    border-radius: 4px;
    padding: 5px 0;
    background-color: #333;
    color: #f5f5f5;
    font-size: 1.1em;
    font-weight: bold;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}


.role-item .btn {
    background-color: #777;
    border-color: #666;
    color: #fff;
    font-weight: bold;
    width: 35px;
}

.role-item .btn:hover {
    background-color: #888;
}

.role-item #villager-count {
    font-size: 1.1em;
    font-weight: bold;
    color: #2ecc71;
}