/* --- Dark Mode with Green Accent Styles --- */
body { 
    font-family: Arial, sans-serif; 
    padding: 20px; 
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-container {
    border: 1px solid #333; 
    border-radius: 12px; 
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    padding: 20px;
}

h1, h2 { 
    color: #00af00;
    margin-top: 0;
    margin-bottom: 20px;
}

h3 {
    color: #5beb5b;
    margin-top: 20px;
    margin-bottom: 15px;
}

label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: bold; 
    color: #e0e0e0;
    font-size: 0.9em;
}

select, input[type="number"], input[type="text"], button { 
    padding: 10px; 
    margin-right: 15px; 
    border-radius: 6px; 
    border: 1px solid #555;
    font-size: 1em;
    background-color: #2c2c2c;
    color: #ffffff;
}

input[type="number"] {
    width: 100px;
}

input[type="text"] {
    width: 150px;
}

button { 
    background-color: #00ce00;
    color: #121212; 
    border: none; 
    cursor: pointer; 
    transition: background-color 0.3s; 
    font-weight: bold;
}

button:hover { 
    background-color: #00e600; 
    color: white;
}

button.danger {
    background-color: #cc0000;
    color: white;
}

button.danger:hover {
    background-color: #ff0000;
}

button.warning {
    background-color: #ff8800;
    color: white;
}

button.warning:hover {
    background-color: #ffaa00;
}

button.info {
    background-color: #0088cc;
    color: white;
}

button.info:hover {
    background-color: #00aaff;
}

.flex-row { 
    display: flex; 
    align-items: flex-end; 
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.player-card {
    border: 2px solid #444;
    padding: 15px;
    border-radius: 10px;
    background-color: #252525;
    margin-top: 10px;
    width: 320px;
}

.player-card.active {
    border-color: #00ce00;
    box-shadow: 0 0 15px rgba(0, 206, 0, 0.5);
}

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

.player-card label {
    display: block;
    margin-right: 0;
    margin-bottom: 5px;
}

.player-action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.player-action-buttons button {
    flex: 1;
    min-width: 60px;
    padding: 8px;
    margin: 0;
    font-size: 0.9em;
}

.player-card input[type="number"],
.player-card input[type="text"],
.player-card select {
    width: calc(100% - 22px);
    margin-right: 0;
    margin-bottom: 10px;
}

.action-input-group {
    margin-top: 5px;
}

.action-input-group label {
    font-size: 0.9em;
}

.card-buttons {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.card-buttons button {
    flex: 1;
    padding: 8px;
    margin: 0;
    font-size: 0.85em;
}

.api-key-section {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}