/* Game Types Component Styles */

/* Game Types List */
.game-types-list {
    margin-bottom: 20px;
}

.game-types-list h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.game-types-list .list-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.game-type-item {
    padding: 10px;
    margin-bottom: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.game-type-item:hover {
    background-color: #f0f0f0;
}

.game-type-item.selected {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.game-type-item.default {
    border-left: 4px solid #4caf50;
}

.game-type-item.inactive {
    opacity: 0.6;
    border-left: 4px solid #ff9800;
}

.game-type-item .name {
    font-weight: bold;
    margin-bottom: 5px;
}

.game-type-item .description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.game-type-item .category {
    font-size: 0.8em;
    color: #2196f3;
    font-weight: bold;
    margin-bottom: 3px;
}

.game-type-item .tags {
    font-size: 0.8em;
    color: #888;
}

/* Game Type Editor */
.game-type-editor {
    height: 100%;
}

.game-type-editor h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.game-type-editor .form-group {
    margin-bottom: 15px;
}

.game-type-editor label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.game-type-editor input[type="text"],
.game-type-editor textarea,
.game-type-editor select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.game-type-editor textarea {
    min-height: 100px;
    resize: vertical;
}

.game-type-editor textarea#game-type-content {
    min-height: 150px;
}

.game-type-editor select {
    background-color: white;
}

.game-type-editor .checkbox-group {
    display: flex;
    align-items: center;
}

.game-type-editor .checkbox-group input {
    margin-right: 8px;
}

.game-type-editor .checkbox-group label {
    margin-bottom: 0;
}

.game-type-editor .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.game-type-editor button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.game-type-editor button[type="submit"] {
    background-color: #4caf50;
    color: white;
}

.game-type-editor button.secondary {
    background-color: #f0f0f0;
    color: #333;
}

.game-type-editor button.danger {
    background-color: #f44336;
    color: white;
}

.game-type-editor button:hover {
    opacity: 0.9;
}

.game-type-editor .hidden {
    display: none;
}