/* Specific styles for settings.html */

h1 {
    text-align: center;
}

.section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.lang-section, .shelves-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.collection {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafafa;
}

.collection h3 {
    color: #2196F3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tts-badge {
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.item input, .item select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.item input[type="text"]:first-child {
    min-width: 150px;
}

.item input[type="url"] {
    flex: 1;
    min-width: 300px;
}

.item select {
    min-width: 120px;
}

.separator {
    font-weight: bold;
    color: #666;
}

.actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

@media (max-width: 768px) {
    .item {
        flex-direction: column;
        align-items: stretch;
    }

    .item input, .item select {
        width: 100%;
        margin-bottom: 5px;
    }
}
