.chord-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.chord-input-group {
    display: flex;
    flex-direction: column;
}

.chord-input-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}

.chord-input {
    padding: 10px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.chord-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.chord-input::placeholder {
    color: #999;
}

.notes-input-container {
    margin-bottom: 16px;
}

/* 和弦音符横向显示样式 - 使用导航栏颜色 */
.chord-notes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.note-item {
    background: #4a7694; /* 导航栏深蓝色 */
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.chord-notes-small {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.note-item-small {
    background: #4a7694; /* 导航栏深蓝色 */
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .chord-inputs {
        grid-template-columns: 1fr;
    }

    .chord-input {
        padding: 8px 10px;
        font-size: 14px;
    }

    .note-item {
        padding: 6px 10px;
        font-size: 14px;
    }

    .note-item-small {
        padding: 3px 6px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .chord-inputs {
        gap: 10px;
    }
}
